[v-cloak] {
    display: none;
}

.main-header-eight {
    background-color: rgba(0, 167, 142, 0.95);
    top: 0px;
}


@media (max-width: 992px) {
    .main-header-eight {
        height: 63px;
    }
}


.demo-wizard-section {
    padding: 70px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #f7fbfa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300'%3E%3Cpath d='M0 40 C 100 0, 200 80, 300 40 S 500 0, 600 40' fill='none' stroke='%2317a589' stroke-opacity='0.12' stroke-width='2'/%3E%3Cpath d='M0 100 C 100 60, 200 140, 300 100 S 500 60, 600 100' fill='none' stroke='%2317a589' stroke-opacity='0.1' stroke-width='2'/%3E%3Cpath d='M0 160 C 100 120, 200 200, 300 160 S 500 120, 600 160' fill='none' stroke='%2317a589' stroke-opacity='0.08' stroke-width='2'/%3E%3Cpath d='M0 220 C 100 180, 200 260, 300 220 S 500 180, 600 220' fill='none' stroke='%2317a589' stroke-opacity='0.06' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 600px 300px;
}

/* Envoltorio: la barra de progreso y el pie viven fuera de la tarjeta */
.demo-wizard {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.demo-wizard__progress-bar {
    height: 5px;
    border-radius: 3px;
    background: #e2e8e7;
    overflow: hidden;
}

.demo-wizard__progress-bar-fill {
    height: 100%;
    background: #17a589;
    transition: width 0.3s ease;
}

.demo-wizard__card {
    max-width: 1140px;
    margin: 28px auto 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 52px 56px 140px;
    position: relative;
    overflow: hidden;
}

/* Onda decorativa al pie de la tarjeta */
.demo-wizard__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    pointer-events: none;
    background: bottom / 100% 100% no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'%3E%3Cpath d='M0 90 C 200 40, 400 130, 600 90 S 1000 40, 1200 80 L1200 160 L0 160Z' fill='%2317a589' fill-opacity='0.07'/%3E%3Cpath d='M0 120 C 250 70, 450 150, 700 115 S 1050 80, 1200 110 L1200 160 L0 160Z' fill='%2317a589' fill-opacity='0.11'/%3E%3C/svg%3E");
}

/* Bienvenida */
.demo-wizard__welcome {
    display: flex;
    gap: 26px;
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid #eef2f1;
}

.demo-wizard__avatar {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 50%;
    background: #e8f6f1;
    color: #17a589;
    font-size: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-wizard__welcome-title {
    font-size: 34px;
    font-weight: 800;
    margin: 0;
}

.demo-wizard__welcome-brand {
    font-size: 34px;
    font-weight: 800;
    margin: 2px 0 18px;
}

.demo-wizard__welcome-brand span {
    color: #17a589;
}

.demo-wizard__welcome-text {
    max-width: 620px;
    color: #6b7a77;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.demo-wizard__chip {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    background: #eefaf7;
    color: #12806a;
    font-size: 15px;
    font-weight: 600;
}

.demo-wizard__chip i {
    margin-right: 8px;
}

/* Pregunta: el número a la izquierda, el resto sangrado a su altura */
.demo-wizard__head {
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.demo-wizard__step-number {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: #17a589;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-wizard__card h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 8px 0 0;
}

.demo-wizard__description {
    color: #7a8b87;
    font-size: 16px;
    margin: 6px 0 0;
}

.demo-wizard__answer,
.demo-wizard__nav {
    margin-left: 70px;
}

.demo-wizard__answer {
    margin-top: 24px;
}

.demo-wizard__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
}

.demo-wizard__option {
    position: relative;
    text-align: left;
    padding: 18px 46px 18px 22px;
    border: 1.5px solid #e3ebe9;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.demo-wizard__option:hover {
    border-color: #17a589;
    background: #f5fbfa;
}

/* Los listados largos (países, prefijos) aprovechan el ancho en dos columnas */
.demo-wizard__options--scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    align-content: start;
    max-height: 320px;
    overflow-y: auto;
}

.demo-wizard__timezone {
    color: #6b6b6b;
    font-size: 13px;
    margin-bottom: 6px;
}

.demo-wizard__option.is-selected {
    border-color: #17a589;
    background: #eefaf7;
}

.demo-wizard__option.is-selected::after {
    content: '✓';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #17a589;
    font-weight: 700;
}

.demo-wizard__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 14px;
    border-radius: 8px;
    background: #f1f4f3;
    color: #6b6b6b;
    font-size: 13px;
    font-weight: 700;
}

.demo-wizard__option.is-selected .demo-wizard__letter {
    background: #17a589;
    color: #fff;
}

.demo-wizard__flag {
    margin-right: 10px;
    font-size: 19px;
}

.demo-wizard__input {
    width: 100%;
    max-width: 860px;
    padding: 18px 22px;
    border: 1.5px solid #d3e7e2;
    border-radius: 10px;
    font-size: 16px;
}

.demo-wizard__input::placeholder {
    color: #a9b8b4;
}

.demo-wizard__input:focus {
    outline: none;
    border-color: #17a589;
}

/* Campo con el icono del paso al costado derecho */
.demo-wizard__field {
    position: relative;
    max-width: 860px;
}

.demo-wizard__field i {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #a9b8b4;
    font-size: 17px;
}

.demo-wizard__field .demo-wizard__input {
    padding-right: 56px;
}

.demo-wizard__search {
    position: relative;
    max-width: 860px;
    margin-bottom: 18px;
}

.demo-wizard__search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #a9b8b4;
}

.demo-wizard__search .demo-wizard__input {
    padding-left: 50px;
}

.demo-wizard__nav {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.demo-wizard__btn {
    padding: 16px 34px;
    border-radius: 10px;
    border: none;
    background: #17a589;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.demo-wizard__btn:hover {
    color: white;
}

.demo-wizard__btn i {
    margin-left: 10px;
}

.demo-wizard__btn:hover:not(:disabled) {
    background: #12806a;
    box-shadow: 0 8px 20px rgba(23, 165, 137, 0.3);
}

.demo-wizard__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-wizard__btn--ghost {
    background: transparent;
    color: #6b6b6b;
    border: 1.5px solid #e3ebe9;
}

.demo-wizard__btn--ghost:hover:not(:disabled) {
    background: #f5fbfa;
    box-shadow: none;
    color: #12806a;
}

.demo-wizard__error {
    color: #c0392b;
    margin: 16px 0 0 70px;
}

.demo-wizard__empty {
    color: #8a8a8a;
}

.demo-wizard__done {
    max-width: 640px;
    margin: 28px auto 0;
    padding: 52px 44px;
    text-align: center;
}

.demo-wizard__folio {
    font-family: monospace;
    color: #8a8a8a;
}

.demo-wizard__footer {
    margin: 26px 0 0;
    text-align: center;
    color: #8a8a8a;
    font-size: 14px;
}

.demo-wizard__footer i {
    color: #17a589;
    margin-right: 8px;
}

.demo-wizard__footer strong {
    color: #17a589;
}

/* Paso de agenda: detalles de la demo | calendario | horarios */
.demo-wizard__schedule {
    display: grid;
    grid-template-columns: 280px minmax(340px, 1fr) 230px;
    gap: 32px;
}

.demo-wizard__detail {
    padding: 24px;
    border-radius: 14px;
    background: #f7fbfa;
    border: 1px solid #e4f2ef;
}

.demo-wizard__detail-brand {
    color: #17a589;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0;
}

.demo-wizard__detail h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 6px 0 14px;
}

.demo-wizard__detail-meta {
    color: #6b6b6b;
    font-size: 14px;
    margin-bottom: 4px;
}

.demo-wizard__detail-meta i {
    color: #17a589;
    width: 18px;
}

.demo-wizard__detail-text {
    white-space: pre-line;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.demo-wizard__detail-pick {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px dashed #cfe8e2;
    color: #12806a;
    font-weight: 600;
    font-size: 14px;
}

.demo-wizard__times {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
}

.demo-wizard__times h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.demo-wizard__times-date {
    color: #8a8a8a;
    font-size: 13px;
    margin-bottom: 4px;
}

.demo-wizard__times-hint {
    align-self: center;
    text-align: center;
    color: #b5c5c1;
    font-size: 13px;
}

.demo-wizard__times-hint i {
    font-size: 32px;
    margin-bottom: 12px;
}

.demo-wizard__slot {
    text-align: center;
    padding: 14px 12px;
    font-weight: 600;
    opacity: 0;
    animation: demo-slot-in 0.3s ease forwards;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.demo-wizard__slot:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 165, 137, 0.15);
}

/* El horario elegido se marca con relleno, no con el ✓ de las demás opciones */
.demo-wizard__slot.is-selected {
    background: #17a589;
    border-color: #17a589;
    color: #fff;
    box-shadow: 0 6px 16px rgba(23, 165, 137, 0.3);
}

.demo-wizard__slot.is-selected::after {
    content: none;
}

.demo-wizard__calendar {
    display: flex;
    justify-content: center;
}

/* Verde de la marca en el datepicker, sin tocar el css de la librería */
.demo-wizard__calendar .dp__theme_light {
    --dp-primary-color: #17a589;
    --dp-primary-text-color: #fff;
    --dp-hover-color: #dff4ef;
    --dp-hover-text-color: #12806a;
    --dp-border-color: #e2e2e2;
    --dp-menu-border-color: transparent;
    --dp-icon-color: #17a589;
    --dp-cell-size: 46px;
    --dp-cell-border-radius: 12px;
    --dp-border-radius: 10px;
    --dp-font-size: 14px;
    --dp-month-year-row-height: 48px;
    --dp-month-year-row-button-size: 34px;
}

/* "Agosto 2026" junto y en grande, en vez de dos selects separados */
.demo-wizard__calendar .dp__month_year_wrap {
    justify-content: center;
}

.demo-wizard__calendar .dp__month_year_select {
    flex: 0 0 auto;
    padding: 0 5px;
    font-size: 17px;
    font-weight: 700;
    text-transform: capitalize;
    width: auto;
}

.demo-wizard__calendar .dp__inner_nav:hover {
    background: #eefaf7;
}

.demo-wizard__calendar .dp__calendar_header_item {
    color: #17a589;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-wizard__calendar .dp__calendar_header_separator {
    background: #eef4f3;
}

.demo-wizard__calendar .dp__cell_inner {
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}

/* Los días con cupo se tiñen de verde para que resalten sobre los agotados.
   `dp__pointer` es la clase que la librería deja solo en los días seleccionables. */
.demo-wizard__calendar .dp__cell_inner.dp__pointer:not(.dp__active_date) {
    background: #f1faf8;
    color: #12806a;
}

.demo-wizard__calendar .dp__cell_disabled {
    color: #d8d8d8;
    opacity: 1;
}

.demo-wizard__calendar .dp__active_date {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(23, 165, 137, 0.35);
}

.demo-step-enter-active,
.demo-step-leave-active {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.demo-step-enter-from {
    opacity: 0;
    transform: translateX(16px);
}

.demo-step-leave-to {
    opacity: 0;
    transform: translateX(-16px);
}

.demo-slots-enter-active {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.demo-slots-enter-from {
    opacity: 0;
    transform: translateY(10px);
}

/* Usa `translate` y no `transform` para no pisar el :hover del horario */
@keyframes demo-slot-in {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .demo-wizard__slot {
        opacity: 1;
        animation: none;
    }
}

@media (max-width: 1199px) {
    .demo-wizard__schedule {
        grid-template-columns: 250px minmax(300px, 1fr) 210px;
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .demo-wizard__card {
        padding: 32px 24px 110px;
    }

    .demo-wizard__welcome {
        gap: 18px;
    }

    .demo-wizard__avatar {
        flex-basis: 68px;
        height: 68px;
        font-size: 30px;
    }

    .demo-wizard__welcome-title,
    .demo-wizard__welcome-brand {
        font-size: 25px;
    }

    /* En pantallas chicas el sangrado se pierde para no comer ancho */
    .demo-wizard__answer,
    .demo-wizard__nav {
        margin-left: 0;
    }

    .demo-wizard__error {
        margin-left: 0;
    }

    .demo-wizard__schedule {
        grid-template-columns: 1fr;
    }

    .demo-wizard__times {
        max-height: none;
    }

    .demo-wizard__calendar .dp__theme_light {
        --dp-cell-size: 38px;
    }
}
