/* =========================================================
   🔔 NOTIFICATIONS ONBOARDING MODAL
   ========================================================= */
.notif-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.notif-modal-card {
    background: rgba(23, 27, 33, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.notif-icon-header {
    font-size: 3rem;
    margin-bottom: 15px;
}

.notif-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.notif-desc {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.notif-preferences {
    margin-bottom: 25px;
    text-align: left;
}

.notif-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
    background: rgba(255, 255, 255, 0.03);
}

.notif-option.selected {
    border-color: #6c5ce7;
    background: rgba(108, 92, 231, 0.1);
}

.notif-option input {
    margin-right: 15px;
    transform: scale(1.2);
    accent-color: #6c5ce7;
}

.notif-opt-text {
    display: flex;
    flex-direction: column;
}

.opt-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.opt-desc {
    color: #888;
    font-size: 0.75rem;
    margin-top: 3px;
}

.notif-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-text {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   🔒 BLOCKED USER STATES (GRAYSCALE & DISABLE)
   ========================================================= */


/* GLOBAL DISABLE in MAIN */
body.is-blocked main button,
body.is-blocked main input,
body.is-blocked main select,
body.is-blocked main textarea,
body.is-blocked main .fab-main,
body.is-blocked main .rutina-item,
body.is-blocked main .btn-check,
body.is-blocked main .btn-delete,
body.is-blocked main .menu-card,
/* Dashboard Tiles */
body.is-blocked main .panel-accion,
/* Aquarium Selector Panel */
body.is-blocked main .acuario-selector-small {
    pointer-events: none !important;
    opacity: 0.4 !important;
    filter: grayscale(1) !important;
    cursor: not-allowed !important;
}

/* 🔓 WHITELIST: Notification Banner Button */
body.is-blocked main button[onclick*="enableNotifications"] {
    pointer-events: auto !important;
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer !important;
    border: 1px solid #6c5ce7;
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.4);
    animation: pulse-border 2s infinite;
}

/* 🔓 WHITELIST: Essential Navigation */
body.is-blocked main .back-btn-circle,
body.is-blocked main .logout-btn,
body.is-blocked main .notif-btn {
    pointer-events: auto !important;
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer !important;
}

/* Ensure notif badge color is preserved */
body.is-blocked main .notif-badge {
    filter: none !important;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

/* =========================================================
   ⏳ SUSPENDED ACCOUNT OVERLAY
   ========================================================= */
.suspended-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
}

.suspended-card {
    background: #171b21;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    max-width: 90%;
    width: 350px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sus-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
    transform: scale(0.95);
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}