/* =====================================================
   BOX EXPRESS — MAPA → ORÇAMENTO
   FASE 1 — DESIGN DA ÁREA DE RECOLHA
===================================================== */

/* =====================================================
   1. RESUMO DA SELEÇÃO DO MAPA
===================================================== */

.quote-map-intro {

    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 17px 18px;
    margin-bottom: 22px;

    background: #ffffff;

    border: 1px solid #d9e4f0;
    border-left: 4px solid #f3cc1f;

    border-radius: 13px;

    box-shadow:
        0 8px 22px rgba(27, 53, 99, 0.06);

}

/* ÍCONE */

.quote-map-intro__icon {

    flex: 0 0 39px;

    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    background: #f1f5fb;
    color: #1b3563;

    border-radius: 11px;

}

/* INFORMAÇÃO */

.quote-map-intro strong,
.quote-map-intro span,
.quote-map-intro small {

    display: block;

}

.quote-map-intro strong {

    margin: 1px 0 5px;

    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 700;

    color: #1b3563;

}

.quote-map-intro span {

    color: #223b67;

    font-size: 14px;
    font-weight: 700;

}

.quote-map-intro small {

    margin-top: 5px;

    color: #607187;

    font-size: 12px;
    line-height: 1.55;

}

/* =====================================================
   2. CARTÃO DO LOCAL DE RECOLHA
===================================================== */

.quote-map-card {

    padding: clamp(18px, 3vw, 27px);

    margin: 0 0 22px;

    background: #ffffff;

    border: 1px solid #d9e4f1;
    border-top: 3px solid #f3cc1f;

    border-radius: 15px;

    box-shadow:
        0 12px 30px rgba(27, 53, 99, 0.055);

}

/* CABEÇALHO */

.quote-map-card__heading {

    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

}

/* ÍCONE DO CABEÇALHO */

.quote-map-card__icon {

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: #f9edb4;

    color: #1b3563;

    border-radius: 10px;

    font-size: 19px;

}

/* TÍTULO */

.quote-map-card h4 {

    margin: 0 0 5px;

    font-family: 'Quicksand', sans-serif;

    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;

    color: #1b3563;

}

/* TEXTO DE APOIO */

.quote-map-card__heading p {

    margin: 0;

    color: #607187;

    font-size: 12px;
    line-height: 1.6;

}

/* =====================================================
   3. CAMPOS DO FORMULÁRIO
===================================================== */

.quote-map-card .form-label {

    margin-bottom: 6px;

    color: #1b3563;

    font-size: 12px;
    font-weight: 700;

}

.quote-map-card .form-select,
.quote-map-card .form-control {

    min-height: 46px;

    background-color: #f8fafd;

    color: #1b3563;

    border: 1px solid #d6e1ee;
    border-radius: 10px;

    font-size: 14px;

}

/* FOCUS */

.quote-map-card .form-select:focus,
.quote-map-card .form-control:focus {

    border-color: #1b3563;

    box-shadow:
        0 0 0 3px rgba(27, 53, 99, 0.11);

}

/* =====================================================
   4. RESUMO DA MODALIDADE E DATA
===================================================== */

.quote-map-card__status {

    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 17px;

}

/* CARTÕES DE INFORMAÇÃO */

.quote-map-card__status > div {

    flex: 1 1 145px;

    padding: 11px 13px;

    background: #f4f7fc;

    border: 1px solid #e1e9f3;
    border-radius: 10px;

}

/* ETIQUETAS */

.quote-map-card__status span {

    display: block;

    margin-bottom: 4px;

    font-size: 11px;

    color: #617089;

}

/* VALORES */

.quote-map-card__status strong {

    display: block;

    color: #1b3563;

    font-size: 13px;
    font-weight: 700;

}

/* =====================================================
   5. NOTA SOBRE A DATA
===================================================== */

.quote-map-card__note {

    display: flex;
    align-items: flex-start;

    gap: 7px;

    margin: 14px 0 0;

    color: #6e7d91;

    font-size: 11px;
    line-height: 1.6;

}

.quote-map-card__note i {

    color: #ab8500;

    margin-top: 2px;

}

/* =====================================================
   6. ELEMENTOS OCULTOS
===================================================== */

.quote-map-card [hidden],
.quote-map-intro [hidden] {

    display: none !important;

}

/* =====================================================
   7. MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .quote-map-intro {

        padding: 14px;

        gap: 10px;

    }

    .quote-map-card {

        padding: 17px 14px;

        border-radius: 13px;

    }

    .quote-map-card__status {

        gap: 8px;

    }

}

/* =====================================================
   BOX EXPRESS — CALENDÁRIO DE COLETA V2
===================================================== */

.quote-map-calendar {
    position: relative;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e4f0;
    border-radius: 13px;
    box-shadow: 0 6px 20px rgba(27, 53, 99, .04);
}

.quote-map-calendar .form-label {
    display: block;
    margin-bottom: 9px;
    color: #1b3563;
    font-weight: 700;
}

.quote-map-calendar__open {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 49px;
    padding: 11px 14px;
    background: #f8fafd;
    border: 1px solid #c8d6e7;
    border-radius: 10px;
    color: #1b3563;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
}

.quote-map-calendar__open i {
    color: #c69b00;
}

.quote-map-calendar__open:focus-visible,
.quote-map-calendar__day:focus-visible {
    outline: 3px solid #f3cc1f;
    outline-offset: 2px;
}

.quote-map-calendar__help {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 12px;
}

.quote-map-calendar__error {
    margin-top: 8px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.quote-map-calendar__dialog {
    position: absolute;
    top: 105px;
    left: 18px;
    z-index: 50;
    width: min(335px, calc(100vw - 60px));
    padding: 15px;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(18, 43, 76, .19);
}

.quote-map-calendar__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #1b3563;
}

.quote-map-calendar__navigation button {
    width: 35px;
    height: 35px;
    background: #f4f7fd;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
    color: #1b3563;
    font-size: 21px;
    cursor: pointer;
}

.quote-map-calendar__navigation button:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.quote-map-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.quote-map-calendar__weekday {
    padding: 7px 0;
    color: #607187;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.quote-map-calendar__day {
    aspect-ratio: 1;
    background: #eff4fb;
    border: 0;
    border-radius: 8px;
    color: #1b3563;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.quote-map-calendar__day:hover:not(:disabled) {
    background: #f3cc1f;
}

.quote-map-calendar__day[aria-pressed="true"] {
    background: #1b3563;
    color: #fff;
}

.quote-map-calendar__day:disabled {
    opacity: .28;
    cursor: not-allowed;
}

.quote-map-calendar [hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    .quote-map-calendar {
        padding: 14px;
    }

    .quote-map-calendar__dialog {
        top: 105px;
        left: 10px;
        width: min(335px, calc(100vw - 80px));
    }
}