/* ========================================
   ALQUIMEDICA - ESTILOS MODAL INACTIVIDAD
   ======================================== */

.inactivity-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.inactivity-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.4s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
    font-size: 1.5rem;
    font-family: var(--font-secondary);
}

.modal-content p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.modal-button {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.modal-button.whatsapp {
    background: linear-gradient(135deg, #25D366, #20BA58);
    color: white;
}

.modal-button.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.modal-button.chat {
    background: var(--color-primary);
    color: white;
}

.modal-button.chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 165, 0.3);
}

.modal-button.dismiss {
    background-color: #f0f0f0;
    color: #333;
}

.modal-button.dismiss:hover {
    background-color: #e0e0e0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 1.25rem;
    }

    .modal-buttons {
        gap: 0.75rem;
    }
}
