/* ===== DANH SÁCH BANG ===== */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.state-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70px;
    padding: 15px;
    background: var(--color-white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-blue);
    text-align: center;
    overflow: hidden;
}

.state-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-blue);
    box-shadow: 0 12px 30px rgba(0, 33, 71, 0.18);
}

.state-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-blue);
    line-height: 1.3;
}

.state-code {
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
}

.state-search {
    margin: 20px 0 30px;
    max-width: 500px;
}

#search-state {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.1rem;
    border: 2px solid var(--color-blue);
    border-radius: 8px;
    outline: none;
}

#search-state:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

@media (max-width: 768px) {
    .states-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .state-name { font-size: 1.1rem; }
    .state-code { font-size: 0.9rem; }
}

@media (hover: hover) {
    .state-card:hover { transform: translateY(-6px); }
}