/* --------------------------------------------------------------------------
   10. Modal de Confirmación de Cita con Check Verde
   -------------------------------------------------------------------------- */
.cda-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cda-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cda-modal-card {
    background: #161b26;
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 28px;
    padding: 38px 30px 30px 30px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(37, 211, 102, 0.2);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: center;
    color: #ffffff;
}

.cda-modal-backdrop.active .cda-modal-card {
    transform: scale(1) translateY(0);
}

.cda-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 4px;
}

.cda-modal-close:hover {
    color: #ffffff;
    transform: scale(1.15);
}

/* Contenedor del Icono de Check Verde con Efecto Neón */
.cda-modal-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cda-modal-icon-glow {
    position: absolute;
    inset: 0;
    background: rgba(37, 211, 102, 0.28);
    filter: blur(16px);
    border-radius: 50%;
    animation: neonPulse 2s infinite ease-in-out;
}

.cda-modal-icon-check {
    font-size: 76px;
    color: #25d366;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 14px rgba(37, 211, 102, 0.7));
    animation: popCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes neonPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes popCheck {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cda-modal-title {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, #00f2fe, #25d366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px 0;
}

.cda-modal-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    line-height: 1.45;
}

/* Resumen de los detalles de la cita agendada */
.cda-modal-details {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cda-modal-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.cda-modal-detail-item .detail-label {
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
}

.cda-modal-detail-item .detail-label i {
    color: #25d366;
    font-size: 14px;
}

.cda-modal-detail-item .detail-value {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cda-modal-detail-item .detail-value.highlight {
    color: #00f2fe;
}

.cda-modal-btn {
    width: 100%;
    margin-top: 5px;
    padding: 14px;
    font-size: 15px;
}