/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Navbar styles */
.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-brand:hover {
    color: #ecf0f1;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #34495e;
    color: #ecf0f1;
}

/* Content styles */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.home-container {
    text-align: center;
    padding: 2rem 0;
}

.project-description {
    color: #666;
    margin: 1rem 0 2rem 0;
    font-size: 1.2rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-box h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #666;
}

.modules-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.modules-table th, .modules-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
}

.modules-table th {
    background-color: #2c3e50;
    color: white;
}

.modules-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.modules-table tr:hover {
    background-color: #ddd;
}

.filters {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.filter-dropdown {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    flex: 1;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

.suggestions-dropdown {
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.search-container {
    position: relative;
}

/* Add these styles to your existing CSS */
.enrichment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.enrichment-table th,
.enrichment-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.enrichment-table th {
    background-color: #34495e;
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.enrichment-table th:hover {
    background-color: #2c3e50;
}

.enrichment-table th a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding-right: 20px;
}

.enrichment-table th .sort-indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
}

.enrichment-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.enrichment-table tr:hover {
    background-color: #e9ecef;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a {
    color: #34495e;
    border: 1px solid #34495e;
}

.pagination a:hover {
    background-color: #34495e;
    color: white;
}

.current-page {
    font-weight: bold;
    color: white;
    background-color: #34495e;
    border: 1px solid #34495e;
}

.ellipsis {
    padding: 6px 12px;
    color: #6c757d;
}

/* Update the submit button color */
button[type="submit"] {
    background-color: #34495e;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #34495e; /* Slightly darker shade for hover effect */
}