/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Liberation Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    background-color: #f5f5f5;
    color: #333;
    padding: 0;
    min-height: 100vh;
}

.body-text {
    font-size: 16px;
    margin-bottom: 20px
}

.container {
    max-width: 95%;
    margin: 0 auto;
    background-color: white;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

/* Navigation Styles */
.navbar {
    background-color: #006a4e;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 60px;
}

.nav-brand {
    color: white;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand i {
    font-size: 22px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active .nav-link {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #006a4e;
}

header h1 {
    color: #006a4e;
    font-size: 20px;
    margin-bottom: 5px;
}

header h1 i {
    margin-right: 8px;
}

.tagline {
    font-size: 12px;
    color: #000;
    max-width: 800px;
    margin: 0 auto;
}

/* Controls and filters */
.controls {
    margin-bottom: 15px;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 5px;
    border-left: 4px solid #006a4e;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.filter-group label {
    font-weight: bold;
    font-size: 16px;
    color: #006a4e;
    white-space: nowrap;
}

.filter-group label i {
    margin-right: 3px;
}

.filter-group input, .filter-group select {
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Liberation Sans', Arial, sans-serif;
    font-size: 14px;
    min-width: 120px;
}

.filter-group input {
    flex-grow: 1;
    max-width: 200px;
}

.reset-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Liberation Sans', Arial, sans-serif;
    font-size: 14px;
    margin-left: auto;
    white-space: nowrap;
}

.reset-btn:hover {
    background-color: #5a6268;
}

.table-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-btn {
    background-color: #006a4e;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.page-btn:hover:not(:disabled) {
    background-color: #00533c;
}

/* Table styles - SIMPLIFIED without sticky header for now */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead {
    background-color: #006a4e;
    color: white;
}

thead th {
    padding: 8px 5px;
    text-align: left;
    font-weight: bold;
    border-right: 1px solid #00533c;
}

thead th:last-child {
    border-right: none;
}

tbody tr {
    border-bottom: 1px solid #eee;
}

tbody td {
    padding: 6px 5px;
    border-right: 1px solid #f0f0f0;
    vertical-align: top;
}

tbody td:last-child {
    border-right: none;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #e9f7f3;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #777;
}

footer p {
    margin-bottom: 3px;
}

#lastUpdate {
font-weight: bold;
color: #006a4e;
}

/* About page specific */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.about-section {
    margin-bottom: 25px;
}

.about-section h2 {
    color: #006a4e;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #444;
}

.about-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.about-section li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 5px;
    color: #444;
}

.about-highlight {
    background-color: #f0f9f5;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #006a4e;
    margin: 15px 0;
}

.about-highlight p {
    font-size: 16px;
    color: #006a4e;
    font-weight: bold;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #006a4e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        justify-content: center;
        padding: 12px;
    }

    .container {
        padding: 10px;
        max-width: 100%;
        border-radius: 0;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group input, .filter-group select {
        width: 100%;
        max-width: 100%;
    }

    .reset-btn {
        margin-left: 0;
        align-self: flex-end;
    }

    .table-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    table {
        font-size: 16px;
    }

    thead th, tbody td {
        padding: 4px 3px;
    }
}
