/* ================================================================
   NOTIFIKASI.CSS - Styling Fitur Notifikasi BukuMax
   ================================================================ */

/* ==================== HEADER LIST ==================== */
.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid #ddd6fe;
}

.notif-header-count {
    font-size: 13px;
    font-weight: 800;
    color: #6d28d9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-header-count::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
    animation: notif-pulse 2s infinite;
}

@keyframes notif-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
    50%      { box-shadow: 0 0 0 7px rgba(124, 58, 237, 0.05); }
}

.notif-mark-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.notif-mark-all-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

/* ==================== LIST ==================== */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================== ITEM ==================== */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.notif-item:active {
    transform: scale(0.985);
}

.notif-item.unread {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #e9d5ff;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
}

.notif-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #7c3aed, #d946ef);
}

/* ==================== ICON ==================== */
.notif-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.notif-item-icon.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.notif-item-icon.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.notif-item-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.notif-item-icon.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ==================== CONTENT ==================== */
.notif-item-content {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 3px;
    word-break: break-word;
}

.notif-item.unread .notif-item-title {
    color: #4c1d95;
}

.notif-item-desc {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 6px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
}

.notif-item-time i {
    font-size: 9.5px;
}

/* ==================== BADGE DOT (unread) ==================== */
.notif-item-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* ==================== TYPE ACCENT (opsional) ==================== */
.notif-item.notif-type-warning.unread {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.notif-item.notif-type-warning.unread::before {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

.notif-item.notif-type-danger.unread {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

.notif-item.notif-type-danger.unread::before {
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

.notif-item.notif-type-success.unread {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.notif-item.notif-type-success.unread::before {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

/* ==================== DETAIL POPUP ==================== */
.notif-detail-popup {
    border-radius: 24px !important;
    overflow: hidden !important;
}

.notif-detail-wrap {
    padding: 32px 24px 24px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.notif-detail-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25);
}

.notif-detail-title {
    font-size: 18px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 8px;
    word-break: break-word;
}

.notif-detail-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.notif-detail-time i {
    font-size: 10px;
}

.notif-detail-message {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    line-height: 1.6;
    text-align: left;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
    word-break: break-word;
    white-space: pre-wrap;
}

.notif-detail-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.notif-detail-action-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

/* ==================== EMPTY STATE (reuse .empty-state-bm) ==================== */
/* Pastikan .empty-state-bm sudah ada di components.css.
   Kalau belum, ini fallback minimal: */
.empty-state-bm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.empty-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 15px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 6px;
}

.empty-state-desc {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 260px;
}

/* ==================== LOADING INLINE ==================== */
.loading-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

.loading-inline i {
    font-size: 16px;
    color: #7c3aed;
}

/* ==================== SWEETALERT POPUP CLOSE X ==================== */
.saldo-popup-close-x {
    color: #94a3b8 !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    transition: color 0.15s !important;
}

.saldo-popup-close-x:hover {
    color: #ef4444 !important;
}

/* ==================== DARK MODE SUPPORT (opsional) ==================== */
@media (prefers-color-scheme: dark) {
    /* Kalau app Anda punya dark mode, tambahkan di sini */
    /* Biarkan kosong kalau belum support dark mode */
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 360px) {
    .notif-item {
        padding: 12px;
        gap: 10px;
    }
    .notif-item-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .notif-item-title {
        font-size: 13px;
    }
    .notif-header {
        padding: 10px 12px;
    }
    .notif-mark-all-btn {
        padding: 7px 11px;
        font-size: 11px;
    }
}

/* ================================================================ */
/* NOTIF DETAIL POPUP — PREMIUM STYLE                               */
/* Mengikuti pola popup premium BukuMax (logout, session, dll)      */
/* ================================================================ */

.notif-detail-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.notif-detail-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.nd-wrap {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* ICON HERO                                      */
/* ───────────────────────────────────────────── */

.nd-icon-hero {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 18px;
    position: relative;
    animation: ndIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Variant colors */
.nd-icon-hero.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

.nd-icon-hero.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
}

.nd-icon-hero.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

.nd-icon-hero.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.35);
}

/* Glossy highlight */
.nd-icon-hero::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 42%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.35) 0%,
        transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

/* Pulsing ring */
.nd-icon-hero::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: ndIconRing 2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.25;
}

.nd-icon-hero.info::after { border-color: rgba(59, 130, 246, 0.4); }
.nd-icon-hero.success::after { border-color: rgba(34, 197, 94, 0.4); }
.nd-icon-hero.warning::after { border-color: rgba(245, 158, 11, 0.4); }
.nd-icon-hero.danger::after { border-color: rgba(239, 68, 68, 0.4); }

@keyframes ndIconPop {
    0% { opacity: 0; transform: scale(0.3) rotate(-15deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes ndIconRing {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ───────────────────────────────────────────── */
/* TITLE & SUBTITLE                              */
/* ───────────────────────────────────────────── */

.nd-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
    padding: 0 8px;
    word-break: break-word;
}

.nd-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 999px;
}

.nd-subtitle i {
    font-size: 10px;
}

/* ───────────────────────────────────────────── */
/* MESSAGE CARD                                  */
/* ───────────────────────────────────────────── */

.nd-message-card {
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg,
        rgba(248, 245, 255, 0.6) 0%,
        rgba(250, 249, 255, 0.4) 100%);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    line-height: 1.6;
    text-align: left;
    word-break: break-word;
    white-space: pre-wrap;
    box-sizing: border-box;
    margin-bottom: 4px;
}

/* ───────────────────────────────────────────── */
/* FOOTER + BUTTONS                              */
/* ───────────────────────────────────────────── */

.swal2-popup.notif-detail-popup .swal2-footer {
    margin: 0 !important;
    padding: 0 !important;
    border-top: none !important;
    width: 100% !important;
}

.nd-footer {
    width: 100%;
    padding: 0 24px 24px;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
}

/* Primary button (Buka Halaman) */
.nd-btn-primary {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nd-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 100%);
    border-radius: 14px 14px 50% 50%;
    pointer-events: none;
}

.nd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
}

.nd-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Close button (kalau tidak ada action_url) */
.nd-btn-close {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.nd-btn-close:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.nd-btn-close:active {
    transform: scale(0.98);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .notif-detail-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .nd-wrap {
        padding: 26px 20px 16px;
    }
    
    .nd-icon-hero {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 14px;
    }
    
    .nd-title {
        font-size: 18px;
    }
    
    .nd-subtitle {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .nd-message-card {
        font-size: 12px;
        padding: 12px 14px;
    }
    
    .nd-footer {
        padding: 0 20px 20px;
    }
    
    .nd-btn-primary,
    .nd-btn-close {
        padding: 13px 16px;
        font-size: 13px;
    }
}

/* ================================================================ */
/* WELCOME POPUP — "Selamat Datang di BukuMax!"                     */
/* Mengikuti pola reg-success-popup                                 */
/* ================================================================ */

.welcome-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%) !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.welcome-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.wc-wrap {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ───────────────────────────────────────────── */
/* ICON HERO — 🎉 dengan animasi                 */
/* ───────────────────────────────────────────── */

.wc-icon-hero {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px auto 20px;
    color: white;
    font-size: 38px;
    position: relative;
    box-shadow:
        0 12px 32px rgba(124, 58, 237, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    animation: wcIconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wc-icon-hero::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px;
    height: 42%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.35) 0%,
        transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

.wc-icon-hero::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.4);
    animation: wcIconRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes wcIconPop {
    0% { opacity: 0; transform: scale(0.3) rotate(-15deg); }
    50% { transform: scale(1.15) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes wcIconRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ───────────────────────────────────────────── */
/* TITLE & SUBTITLE                              */
/* ───────────────────────────────────────────── */

.wc-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #1e1b4b;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
    padding: 0 24px;
}

.wc-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 24px;
}

/* ───────────────────────────────────────────── */
/* HIGHLIGHT — "GRATIS 7 HARI"                   */
/* ───────────────────────────────────────────── */

.wc-highlight {
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.wc-highlight::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 140px; height: 140px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.4) 0%,
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wc-highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow:
        0 6px 16px rgba(245, 158, 11, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.wc-highlight-icon::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px;
    height: 42%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.35) 0%,
        transparent 100%);
    border-radius: 11px 11px 50% 50%;
    pointer-events: none;
}

.wc-highlight-text {
    flex: 1;
    min-width: 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.wc-highlight-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: #92400e;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.wc-highlight-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #b45309;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

/* ───────────────────────────────────────────── */
/* NOTE                                          */
/* ───────────────────────────────────────────── */

.wc-note {
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px dashed #86efac;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #166534;
    line-height: 1.4;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.wc-note i {
    font-size: 14px;
    color: #22c55e;
    flex-shrink: 0;
}

/* ───────────────────────────────────────────── */
/* BUTTON                                        */
/* ───────────────────────────────────────────── */

.swal2-popup.welcome-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.wc-btn-primary {
    width: 100% !important;
    padding: 16px 24px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%) !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.wc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.45) !important;
}

.wc-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .welcome-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .wc-icon-hero {
        width: 76px;
        height: 76px;
        font-size: 32px;
        margin: 24px auto 16px;
    }
    
    .wc-title {
        font-size: 19px;
        padding: 0 20px;
    }
    
    .wc-subtitle {
        font-size: 12px;
        padding: 0 20px;
        margin-bottom: 16px;
    }
    
    .wc-highlight {
        width: calc(100% - 40px);
        padding: 14px 16px;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .wc-highlight-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
    
    .wc-highlight-title {
        font-size: 13px;
    }
    
    .wc-highlight-desc {
        font-size: 10px;
    }
    
    .wc-note {
        width: calc(100% - 40px);
        padding: 10px 12px;
        font-size: 10px;
    }
    
    .swal2-popup.welcome-popup .swal2-actions {
        padding: 0 20px 20px !important;
    }
    
    .wc-btn-primary {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}