* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 20px;
    background-color: #f5f7fa;
    color: #333;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.state-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.state-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.state-card.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
}

.data-table tr:hover {
    background-color: #f1f8fe;
}

.search-container {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

#searchInput {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#searchButton {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#searchButton:hover {
    background-color: #2980b9;
}

.no-results {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 18px;
    color: #7f8c8d;
}

.table-container {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .state-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .data-table th, .data-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}