a:link {
  text-decoration: none;
}

#table_history {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#table_history td, #table_history th {
    border: 1px solid #ddd;
    padding: 8px;
}

#table_history tr:nth-child(even){background-color: #f2f2f2;}

#table_history tr:hover {background-color: #ddd;}

#table_history th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #ee7322;
    color: white;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {background-color: #ee7322;}

.sidebar {
    width: 220px;
    background: #23272f;
    min-height: 100vh;
    padding-top: 2rem;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 2px 0 8px #0002;
}
.sidebar .menu-title {
    color: #00ff99;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}
.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}
.sidebar nav a {
    color: #f4f4f4;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.sidebar nav a li {
    list-style-type: none;
}

.sidebar nav a:hover {
    background: #00ff99;
    color: #181a20;
}
.main-content {
    margin-left: 220px;
    width: 100%;
}
header {
    background: #23272f;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ff99;
    letter-spacing: 2px;
}
nav.top-nav a {
    color: #f4f4f4;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.2s;
}
nav.top-nav a:hover {
    color: #00ff99;
}
.hero {
    text-align: center;
    padding: 4rem 2rem 2rem 2rem;
    background: linear-gradient(90deg, #23272f 60%, #00ff99 100%);
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}
.btn {
    background: #00ff99;
    color: #181a20;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover {
    background: #00cc77;
}
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}
.feature {
    background: #23272f;
    padding: 2rem;
    border-radius: 16px;
    width: 250px;
    box-shadow: 0 2px 8px #0004;
    text-align: center;
}
.feature h2 {
    color: #00ff99;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.feature p {
    color: #ccc;
    font-size: 1rem;
}
footer {
    background: #23272f;
    text-align: center;
    padding: 1rem;
    color: #888;
    margin-top: 2rem;
}
@media (max-width: 700px) {
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
        flex-direction: row;
        padding: 0.5rem 0;
        box-shadow: none;
    }
    .main-content {
        margin-left: 0;
    }
}