/* ============================================================
   archive-filters.css
   Shared styles for the dropdown filter bar used on archive
   video pages (Español, and future pages).
   Matches the Three Jewels button/dropdown aesthetic from
   private-sessions-pg.css.
   ============================================================ */

.archive-filter-bar-wrapper {
    /* sticky positioning is applied by the host page on the filter bar container element */
}

.archive-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.5rem;
    font-family: "Graphik", sans-serif;
}

.archive-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.archive-filter-label {
    font-family: "Graphik", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2b2b2b;
}

/* ── Custom dropdown ── */

.archive-custom-dropdown {
    position: relative;
    width: 260px;
    font-family: "Graphik", sans-serif;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .archive-custom-dropdown {
        width: 100%;
        min-width: 0;
    }

    .archive-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .archive-filter-group {
        width: 100%;
    }
}

.archive-custom-dropdown .selected {
    padding: 0.5rem 0.9rem;
    background: #fef7f0;
    border: 1px solid #8c6239;
    font-size: 1.1rem;
    font-weight: 400;
    color: #2b2b2b;
    border-radius: 4px;
    user-select: none;
    transition: background 0.15s ease;
}

.archive-custom-dropdown .selected:hover {
    background: #ece4d8;
}

.archive-custom-dropdown .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fef7f0;
    border: 1px solid #8c6239;
    border-top: none;
    margin-top: 0;
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.archive-custom-dropdown .options.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.archive-custom-dropdown .options li {
    padding: 10px 0.9rem;
    font-size: 1rem;
    color: #2b2b2b;
    cursor: pointer;
    transition: background 0.1s ease;
}

.archive-custom-dropdown .options li:hover {
    background: #ece4d8;
}

/* ── Empty state ── */

.archive-no-results {
    font-family: "Graphik", sans-serif;
    font-size: 1rem;
    color: #2b2b2b;
    padding: 2rem 0;
    grid-column: 1 / -1;
}
