﻿.filter-field .icon,
.filter-field .icon * {
    pointer-events: none;
}

/* Garanta que o calendário apareça acima do side panel */
.flatpickr-calendar {
    z-index: 10050 !important;
}

/* destaque simples */
.is-hidden {
    display: none !important;
}

.hl-match {
    background: rgba(255,235,59,.6);
    padding: 0 2px;
    border-radius: 2px;
}

/* ====== DESABILITA DATAS PASSADAS ====== */

/* Deixe dias desabilitados bem “apagados” */
.flatpickr-day.disabled,
.flatpickr-day.flatpickr-disabled {
    color: #b9bec9 !important;
    background: #f2f4f7 !important;
    border-color: #f2f4f7 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

    /* Remove efeitos de hover/foco nos desabilitados */
    .flatpickr-day.flatpickr-disabled:hover,
    .flatpickr-day.flatpickr-disabled:focus {
        background: #f2f4f7 !important;
        color: #b9bec9 !important;
        box-shadow: none !important;
    }

/* Dias de meses anterior/próximo também mais apagados */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #c7ccd6 !important;
    opacity: .6;
}
/* ====== FIM DESABILITA DATAS PASSADAS ====== */



/* ====== SPINNER ====== */

.carros-loading {
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -55%); /* centra no meio da tela */
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none; /* não bloqueia cliques no fundo */
}

.carros-loading-box {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.carros-loading-spinner {
    width: 18px;
    height: 18px;
}

/* CELULAR: só ajusta tamanho se quiser */
@media (max-width: 768px) {
    .carros-loading-box {
        font-size: 13px;
        padding: 8px 14px;
        max-width: 90%;
        text-align: center;
    }
}

/* ====== FIM SPINNER ====== */
