:root {
    --primary-color: #4a6bff;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-text: #6c757d;
    --border-color: #dee2e6;
    --hover-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7ff;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-radius: 0 0 10px 10px;
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.logo p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    margin-bottom: 1rem;
}

.search-box input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.search-box input:focus {
    border-color: var(--primary-color);
}

.search-box button {
    padding: 0 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.search-box button:hover {
    background-color: #3a5bef;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.filter-options select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
}

.filter-options button {
    padding: 0.5rem 1rem;
    background-color: var(--light-text);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.filter-options button:hover {
    background-color: #5a6268;
}

.initial-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-prompt {
    text-align: center;
    color: var(--light-text);
    padding: 2rem;
}

.search-prompt i {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.search-prompt h2 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.results-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options select {
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.results-table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--secondary-color);
    font-weight: 600;
}

tr:hover {
    background-color: var(--hover-color);
}

td a {
    color: var(--primary-color);
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.pagination button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.pagination button:hover {
    background-color: #3a5bef;
}

.pagination button:disabled {
    background-color: var(--light-text);
    cursor: not-allowed;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--light-text);
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    th, td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-box button {
        border-radius: 5px;
        width: 100%;
    }
    
    th, td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
}