.vv2-cita-shell {
    padding: 2rem 0 3rem;
    background: #fff;
}

.vv2-cita-hero {
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: 1.75rem;
    background: linear-gradient(135deg, rgba(7, 43, 98, .92), rgba(9, 27, 54, .88)), url('/Imagenes/oficial/ce-bg-clean.jpg') center/cover no-repeat;
    color: #fff;
    box-shadow: 0 24px 60px rgba(7, 43, 98, .18);
}

.vv2-cita-panel {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.vv2-cita-panel-soft {
    border: 1px solid rgba(31, 79, 127, .12);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%);
}

.vv2-cita-form-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.vv2-cita-field {
    min-height: 3.1rem;
    border-radius: .95rem;
    border-color: rgba(148, 163, 184, .42);
}

.vv2-cita-field:focus {
    border-color: rgba(45, 108, 76, .7);
    box-shadow: 0 0 0 .2rem rgba(45, 108, 76, .14);
}

textarea.vv2-cita-field {
    min-height: 8rem;
}

.vv2-cita-btn {
    min-height: 3rem;
    padding: .75rem 1.25rem;
    border-radius: .95rem;
    font-weight: 700;
}

.vv2-cita-btn-success {
    background: #2d6c4c;
    border-color: #2d6c4c;
}

.vv2-cita-btn-success:hover,
.vv2-cita-btn-success:focus {
    background: #255b40;
    border-color: #255b40;
}

.vv2-cita-inline-status:empty {
    display: none !important;
}

.vv2-cita-otp-box {
    background: rgba(45, 108, 76, .08);
    border: 1px dashed rgba(45, 108, 76, .28);
    border-radius: 1rem;
}

.vv2-cita-submit-wrap {
    position: relative;
}

.vv2-cita-submit-pending {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3rem;
    padding: .75rem 1.25rem;
    border: 1px solid rgba(45, 108, 76, .18);
    border-radius: .95rem;
    background: rgba(255, 255, 255, .96);
    color: #255b40;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.vv2-cita-submit-pending.is-visible {
    display: inline-flex;
}

.vv2-cita-submit-wrap.is-pending .vv2-cita-btn {
    opacity: .35;
}

.vv2-cita-step {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2d6c4c 0%, #1f4f38 100%);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.vv2-cita-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.vv2-cita-stepper-item {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
}

.vv2-cita-stepper-item.is-active {
    border-color: rgba(45, 108, 76, .28);
    background: rgba(45, 108, 76, .10);
    color: #1f4f38;
}

.vv2-cita-readonly {
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    padding: .85rem 1rem;
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: .95rem;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 500;
}

.vv2-cita-captcha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    min-height: 3.1rem;
    padding: .5rem 1rem;
    border-radius: .95rem;
    background: #0f766e;
    color: #fff;
    font-weight: 700;
    letter-spacing: .18em;
}

.vv2-cita-table th {
    background: #f8fbff;
    color: #16324f;
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.vv2-cita-summary > div {
    padding: 1rem;
    border: 1px solid #e1e8eb;
    border-radius: .75rem;
}

.vv2-cita-summary small {
    display: block;
    margin-bottom: .25rem;
    color: #6c757d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.vv2-cita-summary span {
    display: block;
}

.vv2-cita-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.vv2-cita-back-btn:hover,
.vv2-cita-back-btn:focus {
    color: #fff;
}

@media (max-width: 767.98px) {
    .vv2-cita-shell {
        padding-top: 1rem;
    }

    .vv2-cita-hero,
    .vv2-cita-panel,
    .vv2-cita-form-card {
        border-radius: 1.1rem;
    }

    .vv2-cita-stepper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .vv2-cita-stepper-item {
        border-radius: 1rem;
        padding: .65rem;
        font-size: .82rem;
    }

    .vv2-cita-table {
        min-width: 680px;
    }
}
