/* ============================================================
   Verse Comparison Tab Styles — verse_comparison_tab.css
   Mirrors bible_tab.css / strongs_tab.css layout;
   site palette: browns, antiquewhite
   ============================================================ */

/* --- Container (mirrors #strongs_tab / #bible_tab) --- */
#verse_comparison_tab {
    padding: 1em;
    min-height: 400px;
    display: block;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
    margin-left: calc((100% - 90vw) / 2);
    margin-right: calc((100% - 90vw) / 2);
    min-width: 846px;
    font-size: medium;
}

#verse_comparison_content {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Language Support Notice Banner --- */
.vc-notice {
    background-color: #fdf5e6;
    border: 1px solid #d2b48c;
    border-left: 4px solid #8B4513;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 1.25em;
    color: #5C3317;
    font-size: small;
    line-height: 1.5;
    font-family: sans-serif;
}

.vc-notice i {
    margin-right: 6px;
    color: #8B4513;
}

/* --- Controls Row (dropdowns) --- */
.vc-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    align-items: flex-end;
    margin-bottom: 1em;
}

.vc-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.vc-control-group label {
    font-size: 0.85em;
    font-weight: 600;
    color: #5C3317;
    font-family: sans-serif;
}

/* --- Styled <select> elements --- */
.vc-select {
    font-size: 1em;
    padding: 0.45em 0.75em;
    border: 1px solid brown;
    border-radius: 6px;
    background-color: antiquewhite;
    color: #2a1a0a;
    font-family: sans-serif;
    cursor: pointer;
    min-width: 160px;
    transition: border-color 0.2s;
}

.vc-select:hover:not(:disabled) {
    border-color: #5a3010;
}

.vc-select:focus {
    outline: 2px solid #8B4513;
    outline-offset: 1px;
}

.vc-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f0e6d6;
}

/* --- Translation Multiselect Container --- */
.vc-multiselect-container {
    margin-bottom: 1em;
}

.vc-multiselect-container label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: #5C3317;
    font-family: sans-serif;
    margin-bottom: 0.25em;
}

.vc-multiselect {
    width: 100%;
    max-width: 500px;
    min-height: 120px;
    font-size: 0.95em;
    padding: 0.3em;
    border: 1px solid brown;
    border-radius: 6px;
    background-color: antiquewhite;
    color: #2a1a0a;
    font-family: sans-serif;
}

.vc-multiselect:focus {
    outline: 2px solid #8B4513;
    outline-offset: 1px;
}

.vc-multiselect option:checked {
    background-color: #d4a96a;
    color: #2a1a0a;
}

/* --- Show Button Row --- */
.vc-action-row {
    display: flex;
    gap: 0.75em;
    align-items: center;
    margin-bottom: 1em;
    flex-wrap: wrap;
}

/* --- Results Area --- */
.vc-results {
    margin-top: 0.5em;
}

/* --- Loading Indicator --- */
.vc-loading {
    text-align: center;
    padding: 20px 0;
    color: #8B4513;
    font-size: 0.95em;
    font-family: sans-serif;
}

.vc-loading i {
    margin-right: 6px;
}

/* --- Validation Message --- */
.vc-validation-msg {
    background-color: #fdecea;
    border-left: 4px solid #c62828;
    border-radius: 4px;
    padding: 8px 14px;
    color: #c62828;
    font-size: 0.9em;
    margin-bottom: 0.75em;
    font-family: sans-serif;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    #verse_comparison_tab {
        min-width: unset;
    }

    .vc-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .vc-select {
        min-width: unset;
        width: 100%;
    }

    .vc-multiselect {
        max-width: 100%;
    }
}
