/* State & Officials Page Styles (css/state_officials.css) */

/* Card Wrapper & Official Update Card */
.official-card-wrapper {
    box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.16), 0 3px 8px -2px rgba(15, 23, 42, 0.10);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.official-card-wrapper:hover {
    box-shadow: 0 12px 22px -6px rgba(15, 23, 42, 0.22), 0 4px 10px -2px rgba(15, 23, 42, 0.12);
}

/* Saved answer card subtle emerald accent */
.official-card.is-saved {
    border-color: rgba(16, 185, 129, 0.65);
}

/* Version Tag Pills (#num 2008 & #num 2025) */
.version-tag-2008 {
    background-color: #eef2ff;
    color: #1e3a8a;
    border: 1px solid rgba(30, 58, 138, 0.28);
}

.version-tag-2025 {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid rgba(217, 119, 6, 0.35);
}

.scope-tag-state {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid rgba(217, 119, 6, 0.35);
}

.scope-tag-federal {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid rgba(71, 85, 105, 0.22);
}

/* Input field styling */
.official-answer-input {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.official-answer-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.16);
}

.official-answer-input[readonly] {
    background-color: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.55);
    color: #065f46;
    font-weight: 600;
    cursor: default;
}

.official-answer-input[readonly]:focus {
    box-shadow: none;
    border-color: rgba(16, 185, 129, 0.55);
}

/* Filter Pill Buttons */
.filter-pill-btn {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-pill-btn:hover {
    background-color: rgba(254, 243, 199, 0.85);
    color: #172554;
}

.filter-pill-btn.is-active,
.filter-pill-btn.is-active:hover {
    background-color: #172554 !important;
    color: #ffffff !important;
    border-color: #172554 !important;
}
