/* Alerta personalizada para cita online */
.cita-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cita-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cita-alert {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(-20px);
    transition: all 0.3s ease;
    position: relative;
}

.cita-alert-overlay.show .cita-alert {
    transform: scale(1) translateY(0);
}

.cita-alert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(238, 94, 49, 0.3);
}

.cita-alert-icon i {
    font-size: 2.5rem;
    color: white;
}

.cita-alert h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.cita-alert p {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cita-alert-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cita-alert-close:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Animación de entrada */
@keyframes alertBounce {
    0% {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.cita-alert-overlay.show .cita-alert {
    animation: alertBounce 0.4s ease;
}

/* Responsive */
@media (max-width: 480px) {
    .cita-alert {
        padding: 1.5rem;
        margin: 1rem;
    }

    .cita-alert-icon {
        width: 60px;
        height: 60px;
    }

    .cita-alert-icon i {
        font-size: 2rem;
    }

    .cita-alert h3 {
        font-size: 1.2rem;
    }

    .cita-alert p {
        font-size: 0.95rem;
    }
}