/* ==========================================================================
   Project quick filter in branded hero header
   ========================================================================== */

.dash-hero__project-filter {
    min-width: 220px;
    max-width: 320px;
}

.dash-hero__project-filter-caption {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.dash-hero__project-filter-controls {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.dash-hero__project-filter-select {
    flex: 1 1 auto;
    min-width: 0;
}

.dash-hero__project-filter-select,
.dash-hero__project-filter .select2-container--bootstrap5 .select2-selection {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 0.475rem !important;
    color: #181c32;
    min-height: 38px;
}

.dash-hero__project-filter .select2-container--bootstrap5 {
    flex: 1 1 auto;
    min-width: 0;
}

.dash-hero__project-filter .select2-container--bootstrap5 .select2-selection__rendered {
    color: #181c32 !important;
    font-weight: 600;
    font-size: 0.85rem;
}

.dash-hero__project-filter .select2-container--bootstrap5 .select2-selection__placeholder {
    color: #5e6278 !important;
}

.dash-hero__project-filter .select2-container--bootstrap5 .select2-selection__clear {
    margin-right: 0.35rem;
    color: #7e8299 !important;
}

.dash-hero__project-filter-reset {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 0.475rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.dash-hero__project-filter-reset:not(:disabled):hover,
.dash-hero__project-filter-reset:not(:disabled):focus {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.dash-hero__project-filter-reset:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .dash-hero__project-filter {
        width: 100%;
        max-width: none;
    }
}
