/*
 * Pantalla «¿Cuándo podemos revisar tu auto?»:
 *  - el aviso de cuánto toma la valuación, con sus tres pasos;
 *  - el calendario con horarios de «Prefiero otro día», el mismo diseño del formulario que llega por correo
 *    (resources/views/appraisals/schedule.blade.php).
 */

/* ===== Aviso de la valuación (compacto: un solo renglón) ===== */
.gimsa-intake-root .valuation-duration-note.vd-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid #bfdaf2;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef7ff, #fbfdff);
    box-shadow: 0 6px 16px rgba(18, 100, 172, .08);
}
.vd-clock {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 22%, #5fb0ff, #0068d7 70%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 104, 215, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.vd-clock i { font-size: 23px; line-height: 1; }
.gimsa-intake-root .vd-copy { display: grid; gap: 2px; min-width: 0; }
.gimsa-intake-root .vd-copy b { color: #0b3a66; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.gimsa-intake-root .vd-copy small { color: #4d6a84; font-size: 12.5px; font-weight: 500; line-height: 1.4; }

/* ===== Calendario con horarios ===== */
.gimsa-intake-root .valuation-appointment-panel { padding: 14px 10px 12px; }
.slot-picker { color: #19334b; }
.sp-booking { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: 1px solid #dce5ed; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(27, 53, 77, .07); }
.sp-calendar, .sp-times { padding: 18px 16px; }
.sp-calendar { border-bottom: 1px solid #e4ebf1; }
.sp-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sp-heading h3, .sp-times h3 { margin: 0; color: #153653; font-size: 17px; }
.sp-heading p, .sp-times > p { margin: 5px 0 0; color: #687d8d; font-size: 12px; line-height: 1.5; }
.sp-month-nav { display: flex; gap: 5px; }
.sp-month-nav button { width: 38px; height: 38px; border: 1px solid #dce6ee; border-radius: 10px; background: #fff; color: #234862; font-size: 22px; line-height: 1; cursor: pointer; }
.sp-month-nav button:disabled { opacity: .35; cursor: not-allowed; }
.sp-month-label { margin-bottom: 14px; color: #173b5b; font-size: 17px; font-weight: 800; }
.sp-month-label::first-letter, .sp-summary strong::first-letter { text-transform: uppercase; }
.sp-weekdays, .sp-date-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sp-weekdays { margin-bottom: 6px; }
.sp-weekdays span { color: #8192a0; font-size: 10px; font-weight: 800; text-align: center; }
.sp-day { display: flex; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; padding: 5px 2px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #24465e; font-family: inherit; cursor: pointer; }
.sp-day strong { font-size: 14px; }
.sp-day small { margin-top: 3px; color: #74899a; font-size: 9px; white-space: nowrap; }
.sp-day:hover:not(:disabled) { border-color: #bed6e9; background: #f3f8fc; }
.sp-day:focus-visible, .sp-slot:focus-visible, .sp-month-nav button:focus-visible { outline: 3px solid #72b9ec; outline-offset: 2px; }
.sp-day.is-selected { border-color: #0965b2; background: #e9f3fc; color: #005ca6; }
.sp-day:disabled { color: #b8c5cf; cursor: not-allowed; }
.sp-day:disabled small { color: #b9c6cf; }
.sp-day.is-empty { visibility: hidden; }
.sp-day.is-busy:not(.is-selected) small { color: #b45c36; }
.sp-day.is-full:not(.is-selected) { background: #f7f8f9; }
.sp-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 15px; color: #708597; font-size: 10px; }
.sp-key span { display: inline-flex; align-items: center; gap: 6px; }
.sp-key i { width: 7px; height: 7px; border-radius: 50%; background: #0a76bc; }
.sp-key span:last-child i { background: #bd6b45; }
.sp-times { display: flex; flex-direction: column; }
.sp-times h3 { scroll-margin-top: calc(var(--reception-header-height, 88px) + 10px); }
.sp-summary { min-height: 52px; margin: 12px 0 10px; color: #5d7487; font-size: 12px; line-height: 1.45; }
.sp-summary strong { display: block; color: #173b5b; font-size: 15px; }
.sp-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sp-slot { min-height: 58px; padding: 9px 11px; border: 1px solid #dce6ee; border-radius: 11px; background: #fff; color: #23445f; font-family: inherit; text-align: left; cursor: pointer; }
.sp-slot strong { display: block; font-size: 14px; }
.sp-slot small { display: block; margin-top: 4px; color: #768a99; font-size: 10px; }
.sp-slot:hover:not(:disabled) { border-color: #7db6dd; background: #f7fbfe; }
.sp-slot.is-selected { border-color: #0965b2; background: #e9f3fc; color: #005ca6; }
.sp-slot:disabled { background: #f5f6f7; color: #a7b4be; cursor: not-allowed; }
.sp-slot:disabled small { color: #aebbc4; }
.sp-placeholder { grid-column: 1 / -1; padding: 18px 14px; border: 1px dashed #d5e0e9; border-radius: 12px; color: #75899a; font-size: 12px; line-height: 1.5; }
.sp-retry { padding: 0; border: 0; background: none; color: #0968b6; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.sp-foot { margin-top: auto; padding-top: 18px; }
.sp-note { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border-radius: 10px; background: #eaf3fa; color: #345a76; font-size: 12px; line-height: 1.45; }
.sp-note svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; color: #1264ac; }
.sp-note strong { color: #173b5b; }
.sp-foot > p { margin: 10px 0 0; color: #627a8f; font-size: 11px; line-height: 1.45; }

@media (min-width: 761px) {
    .sp-booking { grid-template-columns: minmax(0, 1.16fr) minmax(250px, .84fr); }
    .sp-calendar { border-right: 1px solid #e4ebf1; border-bottom: 0; }
    .sp-calendar, .sp-times { padding: 22px; }
}
@media (max-width: 390px) {
    .sp-calendar, .sp-times { padding: 14px 12px; }
    .sp-weekdays, .sp-date-grid { gap: 2px; }
    .sp-day { min-height: 52px; }
    .sp-day small { font-size: 8px; }
}
