/* ================================================================
   BUKUMAX - MAIN STYLESHEET
   Tema: Violet + Fuchsia (beda dari StrukMax)
   ================================================================ */

/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* Primary - Violet & Fuchsia (sama dasar StrukMax) */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --primary-lighter: #ede9fe;
    --secondary: #d946ef;
    --secondary-dark: #c026d3;
    --secondary-light: #f0abfc;
    
    /* Background - Violet Tint */
    --bg-main: #f8f5ff;
    --bg-card: #ffffff;
    --bg-elevated: #faf9ff;
    --bg-hover: #f3f0ff;
    
    /* Success - Fresh Green */
    --success: #22c55e;
    --success-dark: #16a34a;
    --success-light: #dcfce7;
    
    /* Danger - Rose */
    --danger: #f43f5e;
    --danger-dark: #e11d48;
    --danger-light: #ffe4e6;
    
    /* Warning */
    --warning: #eab308;
    --warning-dark: #ca8a04;
    --warning-light: #fef9c3;
    
    /* Info */
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Text */
    --text-primary: #1e1b4b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    
    /* Border */
    --border-light: #ede9fe;
    --border-medium: #ddd6fe;
    --border-dark: #c4b5fd;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #7c3aed, #d946ef);
    --gradient-primary-reverse: linear-gradient(135deg, #d946ef, #7c3aed);
    --gradient-card: linear-gradient(135deg, #f8f5ff, #faf5ff);
    --gradient-success: linear-gradient(135deg, #22c55e, #16a34a);
    --gradient-danger: linear-gradient(135deg, #f43f5e, #e11d48);
    
    /* Shadow */
    --shadow-xs: 0 1px 2px rgba(124, 58, 237, 0.05);
    --shadow-sm: 0 2px 6px rgba(124, 58, 237, 0.08);
    --shadow-md: 0 4px 12px rgba(124, 58, 237, 0.12);
    --shadow-lg: 0 8px 24px rgba(124, 58, 237, 0.16);
    --shadow-xl: 0 12px 32px rgba(124, 58, 237, 0.2);
    
    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    
    /* Spacing */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 12px;
    --sp-lg: 16px;
    --sp-xl: 24px;
    --sp-2xl: 32px;
    
    /* Header */
    --header-height: 60px;
    --bottom-nav-height: 68px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================ */
/* SPLASH SCREEN — PREMIUM PUTIH */
/* ================================================================ */

.splash-screen {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    animation: splashFadeOut 0.6s ease-in-out 2.5s forwards;
}

/* ================================================================ */
/* AMBIENT GLOW — Subtle gradient di background */
/* ================================================================ */

.splash-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    pointer-events: none;
    animation: splashGlowIn 1.2s ease-out 0.3s forwards;
}

.splash-bg-glow-1 {
    top: -20%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.15) 0%, 
        rgba(124, 58, 237, 0.05) 50%,
        transparent 70%);
    animation-delay: 0.2s;
}

.splash-bg-glow-2 {
    top: 30%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, 
        rgba(217, 70, 239, 0.12) 0%, 
        rgba(217, 70, 239, 0.04) 50%,
        transparent 70%);
    animation-delay: 0.4s;
}

.splash-bg-glow-3 {
    bottom: -25%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.1) 0%, 
        rgba(217, 70, 239, 0.04) 50%,
        transparent 70%);
    animation-delay: 0.6s;
}

@keyframes splashGlowIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================================================ */
/* CONTENT */
/* ================================================================ */

.splash-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    animation: splashContentIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes splashContentIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================================================================ */
/* LOGO WRAPPER — dengan glow effect */
/* ================================================================ */

.splash-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

/* Glow di belakang logo */
.splash-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.25) 0%, 
        rgba(217, 70, 239, 0.15) 40%,
        transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: splashLogoGlow 3s ease-in-out infinite;
}

@keyframes splashLogoGlow {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Logo PNG */
.splash-logo-png {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    filter: 
        drop-shadow(0 8px 24px rgba(124, 58, 237, 0.2))
        drop-shadow(0 4px 12px rgba(217, 70, 239, 0.15));
    animation: splashLogoPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes splashLogoPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    60% {
        transform: scale(1.08) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* ================================================================ */
/* SUBTITLE — gradient text (ungu → pink) */
/* ================================================================ */

.splash-sub {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 40px;
    animation: splashSubIn 0.8s ease-out 0.5s both;
}

@keyframes splashSubIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================ */
/* LOADING DOTS — premium animation */
/* ================================================================ */

.splash-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    animation: splashDotsIn 0.6s ease-out 0.8s both;
}

@keyframes splashDotsIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.splash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    box-shadow: 
        0 2px 8px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: splashDotPulse 1.4s ease-in-out infinite;
    position: relative;
}

/* Glossy highlight di dot */
.splash-dots span::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

.splash-dots span:nth-child(1) {
    animation-delay: 0s;
}

.splash-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.splash-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes splashDotPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* ================================================================ */
/* FOOTER — Branding */
/* ================================================================ */

.splash-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    animation: splashFooterIn 0.8s ease-out 1s both;
}

.splash-footer i {
    font-size: 11px;
    color: #7c3aed;
}

@keyframes splashFooterIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================ */
/* FADE OUT */
/* ================================================================ */

@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ================================================================ */
/* RESPONSIVE */
/* ================================================================ */

@media (max-width: 380px) {
    .splash-logo-png {
        width: 130px;
        height: 130px;
    }
    
    .splash-logo-wrap {
        margin-bottom: 20px;
    }
    
    .splash-sub {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 32px;
    }
    
    .splash-dots span {
        width: 8px;
        height: 8px;
    }
    
    .splash-footer {
        bottom: 30px;
        font-size: 10px;
    }
}

@media (max-width: 340px) {
    .splash-logo-png {
        width: 110px;
        height: 110px;
    }
    
    .splash-sub {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    
    .splash-dots span {
        width: 7px;
        height: 7px;
    }
}

/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 75, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    min-width: 240px;
}

.loading-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-logo i {
    font-size: 28px;
    color: white;
}

.loading-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.loading-progress {
    width: 100%;
    height: 3px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    width: 30%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: progressMove 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes progressMove {
    0% { width: 0%; margin-left: 0%; }
    50% { width: 70%; margin-left: 0%; }
    100% { width: 100%; margin-left: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== AUTH PAGES ==================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 50%, #7c3aed 100%);
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

.auth-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.auth-logo-icon i {
    font-size: 32px;
    color: white;
}

.auth-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.back-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-hover);
    border: none;
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.back-btn:active {
    transform: scale(0.92);
}

.auth-logo-small {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-logo-small i {
    color: white;
    font-size: 18px;
}

.input-group {
    position: relative;
    margin-bottom: 14px;
}

.input-group > i:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    z-index: 1;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: var(--bg-elevated);
    color: var(--text-primary);
    transition: all 0.2s;
    font-weight: 500;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.input-group input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.password-toggle {
    position: absolute;
    right: 16px !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    z-index: 2;
}

.password-toggle:hover {
    color: var(--primary);
}

.input-hint {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-left: 46px;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-whatsapp {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-whatsapp:active {
    transform: scale(0.97);
}

.btn-outline {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-outline:active {
    background: var(--primary-lighter);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.link-primary {
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

.link-secondary {
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
}

.link-secondary:hover {
    text-decoration: underline;
}

.trial-info {
    margin-top: 20px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #92400e;
    font-weight: 500;
}

.trial-info i {
    color: #f59e0b;
    font-size: 14px;
}

.trial-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #fbbf24;
}

.trial-banner-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-banner-icon i {
    color: #f59e0b;
    font-size: 18px;
}

.trial-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trial-banner-text strong {
    font-size: 13px;
    color: #92400e;
    font-weight: 800;
}

.trial-banner-text span {
    font-size: 11px;
    color: #b45309;
}

/* AUTH DARK (Forgot Password) */
.auth-dark {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
}

.auth-card-dark {
    background: rgba(30, 27, 75, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.auth-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
}

.auth-icon-large i {
    font-size: 36px;
    color: white;
}

.auth-dark-title {
    font-size: 22px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 8px;
}

.auth-dark-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 24px;
}

.input-dark input {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(124, 58, 237, 0.3);
    color: white;
}

.input-dark input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-dark > i:first-child {
    color: var(--primary-light);
}

.input-dark input:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--secondary);
}

.auth-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    font-size: 11px;
    color: var(--primary-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==================== APP CONTAINER ==================== */
.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 16px;
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
    min-height: 100vh;
    position: relative;
}

/* ==================== APP HEADER ==================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 500px;
    margin: 0 auto;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.06);
}

.app-header-left {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.app-header-user {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    width: 100%;
}

.app-header-user-name {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Badge subscription */
.app-header-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.2;
    width: fit-content;
    max-width: 100%;
    /* Default: trial (kuning) */
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fbbf24;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-header-user-badge i {
    font-size: 9px;
    flex-shrink: 0;
}

.app-header-user-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ✅ Premium (ungu) */
.app-header-user-badge.premium {
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* ✅ Expired (merah) */
.app-header-user-badge.expired {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-color: #fca5a5;
}

/* ✅ Free/inactive (abu-abu) */
.app-header-user-badge.free {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    border-color: #cbd5e1;
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-hover);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.header-icon-btn:active {
    transform: scale(0.92);
    background: var(--primary-lighter);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
}

.user-avatar-btn {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.user-avatar-btn:active {
    transform: scale(0.92);
}

/* ==================== PAGE CONTENT ==================== */
.page-content {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header-bm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.page-header-bm h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header-bm h2 i {
    color: var(--primary);
    font-size: 18px;
}

.btn-add-small {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    transition: all 0.2s;
}

.btn-add-small:active {
    transform: scale(0.94);
}

/* ==================== SECTION HEADER ==================== */
.section-header-bm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 12px;
    padding: 0 4px;
}

.section-title-bm {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.section-title-bm i {
    color: var(--primary);
    font-size: 14px;
}

/* ================================================================ */
/* TOMBOL PREMIUM "CEK LAPORAN" */
/* ================================================================ */

.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(217, 70, 239, 0.08) 100%);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 999px; /* Kapsul */
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    margin-top: 2px; /* Sedikit turun agar sejajar dengan judul */
}

.section-link i {
    font-size: 9px;
    transition: transform 0.2s;
}

.section-link:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

.section-link:hover i {
    transform: translateX(2px);
}

.section-link:active {
    transform: scale(0.96);
}

/* ==================== LOADING INLINE ==================== */
.loading-inline {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.loading-inline i {
    color: var(--primary);
    font-size: 16px;
    margin-right: 4px;
}

/* ==================== BOTTOM NAV ==================== */
.bottom-nav-bm {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 500px;
    margin: 0 auto;
    height: var(--bottom-nav-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(124, 58, 237, 0.08);
}

.nav-item-bm {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-icon-bm {
    width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-icon-bm i {
    font-size: 17px;
    transition: all 0.2s;
}

.nav-label-bm {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.nav-item-bm.active {
    color: var(--primary);
}

.nav-item-bm.active .nav-icon-bm {
    background: var(--primary-lighter);
}

.nav-item-bm.active .nav-icon-bm i {
    transform: translateY(-1px);
}

/* Center FAB */
.nav-center-bm {
    flex: 0 0 auto;
    position: relative;
    top: -20px;
    cursor: pointer;
}

.nav-center-ring-bm {
    width: 58px;
    height: 58px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
    border: 4px solid white;
    transition: all 0.2s;
}

.nav-center-ring-bm i {
    color: white;
    font-size: 24px;
}

.nav-center-ring-bm:active {
    transform: scale(0.94);
}

/* ==================== MODAL OVERLAY ==================== */
.modal-overlay-bm {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-bottom-sheet {
    background: white;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUpSheet 0.3s ease-out;
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border-medium);
    border-radius: 2px;
    margin: 12px auto 0;
}

.modal-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.modal-sheet-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-sheet-header h3 i {
    color: var(--primary);
}

.modal-close-bm {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-bm:active {
    transform: scale(0.9);
}

.modal-sheet-body {
    padding: 16px 20px 24px;
}

/* ==================== JENIS TRANSAKSI GRID ==================== */
.jenis-transaksi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.jenis-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
}

.jenis-item:active {
    transform: scale(0.95);
    background: var(--bg-hover);
}

.jenis-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jenis-item-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

/* ==================== TRANSAKSI LIST ==================== */
.transaksi-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.transaksi-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
}

.transaksi-item:active {
    transform: scale(0.98);
    background: var(--bg-hover);
}

.transaksi-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.transaksi-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.transaksi-item-info {
    flex: 1;
    min-width: 0;
}

.transaksi-item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transaksi-item-desc {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transaksi-item-right {
    text-align: right;
    flex-shrink: 0;
    margin-left: 8px;
}

.transaksi-item-laba {
    font-size: 14px;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 2px;
}

.transaksi-item-time {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==================== CHART CARD ==================== */
.chart-card-premium {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 
        0 1px 2px rgba(30, 27, 75, 0.04),
        0 4px 12px rgba(30, 27, 75, 0.05),
        0 16px 32px rgba(124, 58, 237, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.06);
    overflow: hidden;
}

/* Accent bar tipis di atas */
.chart-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed 0%, #d946ef 50%, #3b82f6 100%);
    opacity: 0.8;
}

/* ---------------------------------------------------------------- */
/* HEADER */
/* ---------------------------------------------------------------- */

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}

.chart-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.chart-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 
        0 6px 14px rgba(30, 27, 75, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

/* Glossy highlight di icon */
.chart-card-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 42%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        transparent 100%);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
}

.chart-card-title-group {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chart-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.3px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-card-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.1px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------------- */
/* CANVAS WRAPPER */
/* ---------------------------------------------------------------- */

.chart-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    max-height: 200px;
    padding: 4px 0;
}

.chart-canvas-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: 200px !important;
    display: block;
}

/* ---------------------------------------------------------------- */
/* INSIGHT (bawah) */
/* ---------------------------------------------------------------- */

.chart-insight {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 12px 8px;
    margin-top: 12px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.04) 0%, 
        rgba(217, 70, 239, 0.02) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(124, 58, 237, 0.12);
    position: relative;
}

.chart-insight-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.chart-insight-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(124, 58, 237, 0.1);
}

.chart-insight-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1;
}

.chart-insight-value {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.chart-insight-value.green {
    color: #16a34a;
}

.chart-insight-value.blue {
    color: #3b82f6;
}

/* ---------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------- */

@media (max-width: 380px) {
    .chart-card-premium {
        padding: 14px;
        border-radius: 16px;
    }
    
    .chart-card-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .chart-card-title {
        font-size: 13px;
    }
    
    .chart-card-subtitle {
        font-size: 10px;
    }
    
    .chart-card-stat {
        min-width: 60px;
        padding: 5px 8px;
    }
    
    .chart-card-stat-value {
        font-size: 12px;
    }
    
    .chart-canvas-wrapper {
        height: 180px;
        max-height: 180px;
    }
    
    .chart-canvas-wrapper canvas {
        max-height: 180px !important;
    }
    
    .chart-insight {
        padding: 10px 4px;
    }
    
    .chart-insight-value {
        font-size: 12px;
    }
}

/* ==================== SALDO PREVIEW ==================== */
.saldo-preview-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==================== FILTER CARD ==================== */
.filter-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-row:last-of-type {
    margin-bottom: 0;
}

.filter-group {
    flex: 1;
    min-width: 0;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.filter-group label i {
    color: var(--primary);
    font-size: 10px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.2s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-filter,
.btn-reset {
    flex: 1;
    padding: 11px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-filter {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.btn-reset {
    background: var(--bg-hover);
    color: var(--text-secondary);
}

.btn-filter:active,
.btn-reset:active {
    transform: scale(0.96);
}

/* ==================== SALDO PAGE ==================== */
.saldo-summary-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    position: relative;
    overflow: hidden;
}

.saldo-summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
}

.saldo-summary-label {
    font-size: 11px;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
    position: relative;
}

.saldo-summary-value {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -1px;
    position: relative;
}

.saldo-summary-desc {
    font-size: 11px;
    opacity: 0.85;
    position: relative;
}

.saldo-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 12px;
    scrollbar-width: none;
}

.saldo-tabs::-webkit-scrollbar {
    display: none;
}

.saldo-tab {
    background: white;
    border: 1px solid var(--border-light);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.saldo-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.saldo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.saldo-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
}

.saldo-item:active {
    transform: scale(0.98);
    background: var(--bg-hover);
}

.saldo-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.saldo-item-info {
    flex: 1;
    min-width: 0;
}

.saldo-item-nama {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.saldo-item-kategori {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.saldo-item-kategori i {
    font-size: 9px;
}

.saldo-item-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    text-align: right;
    flex-shrink: 0;
}

/* ==================== LAPORAN PAGE ==================== */
.laporan-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.laporan-tabs::-webkit-scrollbar {
    display: none;
}

.laporan-tab {
    background: white;
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.laporan-tab i {
    font-size: 11px;
}

.laporan-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.laporan-content {
    min-height: 200px;
}

/* ==================== PRODUK PAGE ==================== */
.produk-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.produk-tabs::-webkit-scrollbar {
    display: none;
}

.produk-tab {
    background: white;
    border: 1px solid var(--border-light);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.produk-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.produk-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.produk-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
}

.produk-item:active {
    transform: scale(0.98);
    background: var(--bg-hover);
}

.produk-item-left {
    flex: 1;
    min-width: 0;
}

.produk-item-nama {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.produk-item-detail {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.produk-item-right {
    text-align: right;
    flex-shrink: 0;
    margin-left: 8px;
}

.produk-item-modal {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.produk-item-jual {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.produk-item-stok {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    display: inline-block;
}

.stok-aman { background: var(--success-light); color: var(--success-dark); }
.stok-menipis { background: var(--warning-light); color: var(--warning-dark); }
.stok-habis { background: var(--danger-light); color: var(--danger-dark); }

/* ==================== CABANG & USER LIST ==================== */
.cabang-list,
.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cabang-item,
.user-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.cabang-item.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, #faf5ff, #f5f3ff);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.cabang-item-icon,
.user-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.cabang-item-info,
.user-item-info {
    flex: 1;
    min-width: 0;
}

.cabang-item-nama,
.user-item-nama {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.cabang-item-alamat,
.user-item-role {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.cabang-item-badge {
    background: var(--success-light);
    color: var(--success-dark);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

/* ==================== PROFILE PAGE ==================== */
.profile-header-bm {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    position: relative;
    overflow: hidden;
}

.profile-header-bm::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
}

.profile-avatar-bm {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    position: relative;
}

.profile-avatar-bm i {
    font-size: 32px;
}

.profile-name-bm {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    position: relative;
}

.profile-role-bm {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.profile-edit-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    position: relative;
    transition: all 0.2s;
}

.profile-edit-btn:active {
    transform: scale(0.94);
}

.profile-section-bm {
    display: flex;
    flex-direction: column;
    gap: 12px; /* ✅ Jarak diperlebar dari 8px jadi 12px */
    margin-top: 16px; /* ✅ Tambahkan jarak dari atas halaman */
    padding-bottom: 20px;
}

.profile-menu-item-bm {
    background: white;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    margin-bottom: 12px;
}

.profile-menu-item-bm:active {
    transform: scale(0.98);
    background: var(--bg-hover);
}

.profile-menu-icon-bm {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.profile-menu-info-bm {
    flex: 1;
    min-width: 0;
}

.profile-menu-title-bm {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.profile-menu-desc-bm {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.profile-menu-arrow-bm {
    color: var(--text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

.profile-menu-logout .profile-menu-title-bm {
    color: var(--danger);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 380px) {
    .stats-grid-bm {
        gap: 8px;
    }
    
    .stat-card-bm {
        padding: 12px;
    }
    
    .stat-card-value {
        font-size: 16px;
    }
    
    .quick-input-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .quick-input-item {
        padding: 10px 2px;
    }
    
    .quick-input-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .quick-input-label {
        font-size: 8px;
    }
}

/* ==================== DARK MODE (opsional) ==================== */
@media (prefers-color-scheme: dark) {
    /* Bisa diaktifkan nanti kalau perlu */
}

/* ================================================================ */
/* DASHBOARD V2 - REDESIGN PREMIUM */
/* ================================================================ */

/* 2. HERO CARD */
.hero-card {
    position: relative;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 30%, #a855f7 65%, #d946ef 100%);
    border-radius: var(--radius-xl);
    padding: 28px 24px;                   /* ✅ Lebih proporsional */
    color: white;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(109, 40, 217, 0.25),
        0 20px 48px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.hero-label i {
    font-size: 12px;
}

.hero-value {
    font-family: 'Inter', sans-serif;
    font-size: 42px;                      /* ✅ Lebih besar karena hero card compact */
    font-weight: 900;
    letter-spacing: -1.8px;
    line-height: 1;
    margin-bottom: 12px;                  /* ✅ Lebih lega */
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-growth {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    position: relative;
    z-index: 1;
    letter-spacing: 0.1px;
    transition: all 0.3s;
    /* Default: netral */
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-growth i {
    font-size: 10px;
}

/* ✅ POSITIVE — Hijau (naik) */
.hero-growth.positive {
    background: rgba(34, 197, 94, 0.25);
    color: #dcfce7;
    border-color: rgba(34, 197, 94, 0.4);
}

.hero-growth.positive i {
    color: #86efac;
}

.hero-growth.negative {
    background: rgba(244, 63, 94, 0.25);
    color: #fee2e2;
    border-color: rgba(244, 63, 94, 0.4);
}

.hero-growth.negative i {
    color: #fda4af;
}

.hero-growth.neutral {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-growth.neutral i {
    color: rgba(255, 255, 255, 0.7);
}

/* 4. ALERTS */
.alert-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.alert-card.warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

.alert-card.danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.alert-card.info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.alert-card.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.alert-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: white;
}

.alert-card.warning .alert-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.alert-card.danger .alert-icon {
    background: var(--gradient-danger);
}

.alert-card.info .alert-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.alert-card.success .alert-icon {
    background: var(--gradient-success);
}

.alert-content {
    flex: 1;
    min-width: 0;
}

.alert-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.alert-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.3;
}

.alert-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.alert-card:hover .alert-action {
    transform: translateX(3px);
}

/* 5. CHART INSIGHT */
.chart-insight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-top: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-medium);
}

.chart-insight-item {
    text-align: center;
    flex: 1;
}

.chart-insight-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.chart-insight-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.chart-insight-value.green {
    color: var(--success);
}

/* ================================================================ */
/* SALDO PREVIEW - GRID COMPACT (3 kolom) */
/* ================================================================ */

.saldo-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

/* Card compact */
.saldo-preview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 10px 14px 10px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.06);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 1px 2px rgba(30, 27, 75, 0.03),
        0 4px 12px rgba(30, 27, 75, 0.04);
    overflow: hidden;
    min-height: 120px;
}

/* Strip warna di atas card */
.saldo-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--kat-color, #7c3aed);
    opacity: 0.6;
    transition: all 0.25s;
}

.saldo-preview-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 
        0 2px 4px rgba(30, 27, 75, 0.04),
        0 8px 20px rgba(124, 58, 237, 0.1);
}

.saldo-preview-card:hover::before {
    opacity: 1;
    height: 4px;
}

.saldo-preview-card:active {
    transform: translateY(-1px) scale(0.98);
}

/* Icon */
.saldo-preview-card-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 
        0 4px 8px rgba(30, 27, 75, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.25s;
}

/* Highlight glossy icon */
.saldo-preview-card-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 42%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        transparent 100%);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
}

.saldo-preview-card:hover .saldo-preview-card-icon {
    transform: scale(1.08);
}

/* Label kategori */
.saldo-preview-card-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.2px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: -2px;
}

/* Total */
.saldo-preview-card-total {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.4px;
    line-height: 1.1;
    margin-top: 2px;
    transition: color 0.2s;
    word-break: break-word;
}

.saldo-preview-card:hover .saldo-preview-card-total {
    color: var(--kat-color, #7c3aed);
}

/* Count akun */
.saldo-preview-card-count {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.2px;
    margin-top: -2px;
}

/* ---------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------- */

@media (max-width: 380px) {
    .saldo-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .saldo-preview-card {
        padding: 14px 8px 12px 8px;
        min-height: 110px;
    }
    
    .saldo-preview-card-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    
    .saldo-preview-card-label {
        font-size: 10px;
    }
    
    .saldo-preview-card-total {
        font-size: 13px;
    }
}

/* 7. RESPONSIVE */
@media (max-width: 480px) {
    .hero-value {
        font-size: 36px;
    }
    
    .hero-card {
        padding: 24px 20px;
        border-radius: var(--radius-lg);
    }
    
    .quick-stats-grid {
        gap: 8px;
    }
    
    .quick-stat-card {
        padding: 12px 10px;
    }
    
    .quick-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .quick-stat-value {
        font-size: 14px;
    }
    
    .quick-stat-label {
        font-size: 9px;
    }
    
    .quick-stat-sub {
        font-size: 8px;
    }
    
    .greeting-text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .quick-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .quick-stats-grid .quick-stat-card:nth-child(3) {
        grid-column: span 2;
    }
}

/* ================================================================ */
/* TRIAL BANNER (Dashboard) */
/* ================================================================ */

.trial-banner-dashboard {
    margin-bottom: 16px;
}

.trial-banner-content {
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    position: relative;
    overflow: hidden;
}

.trial-banner-content::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.trial-banner-icon-large {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.trial-banner-icon-large i {
    color: #fcd34d;
    font-size: 22px;
}

.trial-banner-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.trial-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
}

.trial-banner-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.trial-banner-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.trial-banner-btn:active {
    transform: scale(0.94);
}

/* ================================================================ */
/* RATING BANNER (Dashboard) */
/* ================================================================ */

.rating-banner {
    margin-bottom: 16px;
}

.rating-banner-content {
    background: linear-gradient(135deg, #fef3c7, #fde68a, #fcd34d);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
    border: 1px solid #fbbf24;
    position: relative;
    overflow: hidden;
}

.rating-banner-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.rating-banner-icon i {
    color: white;
    font-size: 18px;
}

.rating-banner-info {
    flex: 1;
    min-width: 0;
}

.rating-banner-title {
    font-size: 13px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 2px;
}

.rating-banner-desc {
    font-size: 11px;
    color: #b45309;
}

.rating-banner-desc strong {
    color: #d97706;
}

.rating-banner-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.rating-banner-btn:active {
    transform: scale(0.94);
}

.greeting-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.06) 0%, 
        rgba(217, 70, 239, 0.04) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(124, 58, 237, 0.08);
    position: relative;
    overflow: hidden;
}

.greeting-bar::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.15) 0%, 
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.greeting-left {
    position: relative;
    z-index: 1;
}

.greeting-right {
    position: relative;
    z-index: 1;
}

/* ================================================================ */
/* HERO CARD - MINI STATS */
/* ================================================================ */

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

/* ✅ Card glass transparan */
.hero-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.12);          /* ✅ Transparan putih */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);    /* ✅ Border tipis */
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 64px;
}

/* ✅ Glossy highlight di atas card */
.hero-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 100%);
    border-radius: var(--radius-md) var(--radius-md) 50% 50%;
    pointer-events: none;
}

/* ✅ Hover effect */
.hero-mini-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ✅ Active state (saat diklik) */
.hero-mini-card:active {
    transform: translateY(0) scale(0.97);
    background: rgba(255, 255, 255, 0.15);
}

/* ✅ Value (angka) */
.hero-mini-card-value {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

/* ✅ Label */
.hero-mini-card-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------- */

@media (max-width: 380px) {
    .hero-mini-stats {
        gap: 6px;
        padding-top: 16px;
        margin-top: 16px;
    }
    
    .hero-mini-card {
        padding: 10px 6px;
        min-height: 58px;
    }
    
    .hero-mini-card-value {
        font-size: 13px;
    }
    
    .hero-mini-card-label {
        font-size: 8px;
    }
}

@media (max-width: 340px) {
    /* Kalau layar sangat kecil, format 3 baris */
    .hero-mini-stats {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .hero-mini-card {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 14px;
        min-height: 44px;
    }
    
    .hero-mini-card-value {
        font-size: 15px;
    }
    
    .hero-mini-card-label {
        font-size: 10px;
        text-align: right;
    }
}

/* ================================================================ */
/* BANNER CAROUSEL */
/* ================================================================ */

.banner-carousel {
    position: relative;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.banner-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
}

.banner-carousel-track:active {
    cursor: grabbing;
}


/* Setiap slide */
.banner-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
    cursor: pointer;                          /* ✅ Pointer */
    -webkit-tap-highlight-color: transparent; /* ✅ Hilangkan highlight biru di mobile */
}

/* Dot indicator */
.banner-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 7px 0 7px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.banner-dot.active {
    width: 18px;
    border-radius: 3px;
    background: white;
}

/* ---------------------------------------------------------------- */
/* SLIDE VARIANT: TRIAL */
/* ---------------------------------------------------------------- */

.banner-slide-inner {
    position: relative;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: 76px;
    cursor: pointer;                          /* ✅ Pointer */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);  /* ✅ Smooth */
}

/* ✅ Hover effect */
.banner-slide:hover .banner-slide-inner {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 28px rgba(124, 58, 237, 0.3);
}

.banner-slide.rating:hover .banner-slide-inner {
    box-shadow: 
        0 12px 28px rgba(251, 191, 36, 0.4);
}

/* ✅ Active (saat diklik) */
.banner-slide:active .banner-slide-inner {
    transform: translateY(0) scale(0.98);
}

/* Trial gradient */
.banner-slide.trial .banner-slide-inner {
    background: linear-gradient(135deg, #7c3aed, #d946ef);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.banner-slide.trial .banner-slide-inner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Rating gradient */
.banner-slide.rating .banner-slide-inner {
    background: linear-gradient(135deg, #fef3c7, #fde68a, #fcd34d);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
    border: 1px solid #fbbf24;
}

/* Icon */
.banner-slide-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.banner-slide.trial .banner-slide-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.banner-slide.trial .banner-slide-icon i {
    color: #fcd34d;
    font-size: 22px;
}

.banner-slide.rating .banner-slide-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.banner-slide.rating .banner-slide-icon i {
    color: white;
    font-size: 18px;
}

/* Info */
.banner-slide-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.banner-slide-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.2;
}

.banner-slide.trial .banner-slide-title {
    color: white;
}

.banner-slide.rating .banner-slide-title {
    color: #d97706; /* Warna Emas/Orange */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 #fff, 0 2px 4px rgba(245, 158, 11, 0.3); /* Efek timbul */
}

.banner-slide-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.3;
}

.banner-slide.trial .banner-slide-desc {
    color: rgba(255, 255, 255, 0.85);
}

.banner-slide.rating .banner-slide-desc {
    color: #92400e; /* Coklat tua */
    font-weight: 600;
}

.banner-slide.rating .banner-slide-desc strong {
    color: #d97706;
}

/* Button */
.banner-slide-btn {
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.2s;
    white-space: nowrap;
}

.banner-slide.trial .banner-slide-btn {
    background: white;
    color: var(--primary);
}

.banner-slide.rating .banner-slide-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.banner-slide-btn:active {
    transform: scale(0.94);
}

/* ---------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------- */

@media (max-width: 380px) {
    .banner-slide-inner {
        padding: 14px;
        gap: 10px;
        min-height: 70px;
    }
    
    .banner-slide-icon {
        width: 42px;
        height: 42px;
    }
    
    .banner-slide.trial .banner-slide-icon i {
        font-size: 20px;
    }
    
    .banner-slide.rating .banner-slide-icon i {
        font-size: 16px;
    }
    
    .banner-slide-title {
        font-size: 13px;
    }
    
    .banner-slide-desc {
        font-size: 10px;
    }
    
    .banner-slide-btn {
        padding: 7px 12px;
        font-size: 10px;
    }
}

/* ================================================================ */
/* HERO TOP ROW - Label + Badge Cabang */
/* ================================================================ */

.hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.hero-branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px 6px 10px;
    /* ✅ Orange gradient */
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-pill);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* ✅ Orange glow kuat */
    box-shadow: 
        0 4px 14px rgba(245, 158, 11, 0.5),
        0 2px 6px rgba(234, 88, 12, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-branch-badge i {
    font-size: 10px;
    flex-shrink: 0;
    color: white;
}

.hero-branch-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.hero-branch-badge:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 
        0 6px 18px rgba(245, 158, 11, 0.65),
        0 2px 6px rgba(234, 88, 12, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-branch-badge:active {
    transform: scale(0.96);
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

@media (max-width: 380px) {
    .hero-top-row {
        gap: 8px;
    }
    
    .hero-label {
        font-size: 11px;
    }
    
    .hero-branch-badge {
        padding: 5px 10px 5px 8px;
        font-size: 10px;
    }
    
    .hero-branch-badge span {
        max-width: 80px;
    }
    
    .hero-branch-badge i {
        font-size: 9px;
    }
}

.chart-insight-value.blue {
    color: #3b82f6;
}

/* ================================================================ */
/* TOP TRANSAKSI - HORIZONTAL BAR LIST */
/* ================================================================ */

.top-transaksi-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0 8px 0;
}

/* Item container */
.top-transaksi-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Header: icon + nama + jumlah */
.top-transaksi-header {
    display: grid;
    grid-template-columns: 1fr auto auto;   /* ✅ Kiri fleksibel, tengah & kanan auto */
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

/* Kiri: badge + icon + nama */
.top-transaksi-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    /* ✅ Tidak perlu flex: 1 karena sudah grid */
}

.top-transaksi-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;                        /* ✅ Lebar konsisten */
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.06);   /* ✅ Background subtle */
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.top-transaksi-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.top-transaksi-nama {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-transaksi-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.3px;
    line-height: 1;
}

.top-transaksi-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 48px;                        /* ✅ Lebar konsisten */
}


.top-transaksi-persen {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.2px;
    line-height: 1;
    text-align: right;
}

/* Bar container */
.top-transaksi-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Bar fill */
.top-transaksi-bar-fill {
    height: 100%;
    border-radius: 4px;
    position: relative;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.2);
}

/* Glossy highlight di bar */
.top-transaksi-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        transparent 100%);
    border-radius: 4px 4px 50% 50%;
    pointer-events: none;
}

.top-transaksi-rank-badge {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    transition: all 0.25s;
    position: relative;
}

/* ✅ Medali (untuk top 3) */
.top-transaksi-rank-badge.medal {
    font-size: 9px;                 /* ✅ dari 20px */
    color: white;
    box-shadow: 
        0 1px 4px rgba(30, 27, 75, 0.15),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.3);
}

.top-transaksi-rank-badge.medal::before {
    content: '';
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    right: 1.5px;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

/* Medali emas - rank 1 */
.top-transaksi-rank-badge.medal.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 
        0 1px 4px rgba(251, 191, 36, 0.4),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.3);
    animation: medalShine 2s ease-in-out infinite;
}

@keyframes medalShine {
    0%, 100% { 
        box-shadow: 
            0 1px 4px rgba(251, 191, 36, 0.4),
            inset 0 0.5px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 1px 6px rgba(251, 191, 36, 0.6),
            inset 0 0.5px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Medali silver - rank 2 */
.top-transaksi-rank-badge.medal.silver {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    box-shadow: 
        0 1px 4px rgba(148, 163, 184, 0.35),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.35);
}

/* Medali bronze - rank 3 */
.top-transaksi-rank-badge.medal.bronze {
    background: linear-gradient(135deg, #d97706, #92400e);
    box-shadow: 
        0 1px 4px rgba(217, 119, 6, 0.35),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.25);
}

/* ✅ Nomor (untuk rank 4+) */
.top-transaksi-rank-badge.number {
    font-size: 8px;                 /* ✅ dari 12px */
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Hover effect */
.top-transaksi-item:hover .top-transaksi-rank-badge {
    transform: scale(1.15);
}

.top-transaksi-item:hover .top-transaksi-rank-badge.medal.gold {
    box-shadow: 
        0 2px 8px rgba(251, 191, 36, 0.6),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.4);
}

/* Empty state */
.top-transaksi-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 20px;
    text-align: center;
}

.top-transaksi-empty i {
    font-size: 32px;
    color: #cbd5e1;
    opacity: 0.5;
}

.top-transaksi-empty-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 380px) {
    .top-transaksi-list {
        gap: 14px;
    }
    
    .top-transaksi-nama {
        font-size: 12px;
    }
    
    .top-transaksi-count {
        font-size: 13px;
    }
    
    .top-transaksi-persen {
        font-size: 10px;
        min-width: 38px;
    }
    
    .top-transaksi-bar-track {
        height: 7px;
    }
}

/* ================================================================ */
/* HELP CARD - Hubungi Admin via WA */
/* ================================================================ */

.help-card {
    position: relative;
    display: block;
    padding: 18px;
    margin-top: 20px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 1.5px solid rgba(37, 211, 102, 0.25);
    border-radius: 18px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 1px 2px rgba(30, 27, 75, 0.03),
        0 4px 12px rgba(37, 211, 102, 0.08);
}

/* Ambient glow hijau */
.help-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, 
        rgba(37, 211, 102, 0.15) 0%, 
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.3s;
}

.help-card:hover {
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.15),
        0 12px 32px rgba(37, 211, 102, 0.12);
}

.help-card:hover .help-card-glow {
    transform: scale(1.2);
}

.help-card:active {
    transform: translateY(0) scale(0.98);
}

/* Content flex */
.help-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.help-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* Icon WA */
.help-card-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 
        0 6px 16px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Glossy highlight di icon */
.help-card-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;
}

/* Pulsing dot indicator */
.help-card-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2.5px solid white;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Info */
.help-card-info {
    flex: 1;
    min-width: 0;
}

.help-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 3px;
}

.help-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

/* Arrow button */
.help-card-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.help-card:hover .help-card-btn {
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* ---------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------- */

@media (max-width: 380px) {
    .help-card {
        padding: 16px;
        margin-top: 16px;
    }
    
    .help-card-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .help-card-title {
        font-size: 13px;
    }
    
    .help-card-desc {
        font-size: 10px;
    }
    
    .help-card-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* ================================================================ */
/* KASIR CLOSED MODAL (Persistent) - FULL LOCK */
/* ================================================================ */

.kasir-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;                              /* ✅ Naikkan jadi very high */
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: kasirModalFadeIn 0.4s ease-out;
    pointer-events: auto;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

/* ✅ LOCK BODY saat modal muncul */
body.kasir-modal-active {
    overflow: hidden !important;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    position: fixed;                              /* ✅ Prevent scroll */
    width: 100%;
    height: 100%;
}

/* ✅ Block semua elemen KECUALI modal kasir */
body.kasir-modal-active > *:not(#kasirClosedModal):not(.swal2-container) {
    pointer-events: none !important;
    user-select: none !important;
}

/* ✅ Block semua elemen di dalam mainApp */
body.kasir-modal-active #mainApp,
body.kasir-modal-active #mainApp * {
    pointer-events: none !important;
    user-select: none !important;
}

/* ✅ Modal kasir tetap bisa interaksi */
body.kasir-modal-active #kasirClosedModal,
body.kasir-modal-active #kasirClosedModal * {
    pointer-events: auto !important;
    user-select: auto !important;
}

@keyframes kasirModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.kasir-modal-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
    border-radius: 24px;
    padding: 32px 24px 24px 24px;
    text-align: center;
    box-shadow: 
        0 4px 12px rgba(30, 27, 75, 0.15),
        0 20px 60px rgba(30, 27, 75, 0.3),
        0 40px 80px rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.15);
    animation: kasirModalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

/* Accent bar gradient di atas */
.kasir-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
    background-size: 200% 100%;
    animation: accentShine 3s linear infinite;
}

@keyframes accentShine {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes kasirModalSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

/* ---------------------------------------------------------------- */
/* ICON */
/* ---------------------------------------------------------------- */

.kasir-modal-icon {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 
        0 8px 24px rgba(239, 68, 68, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* Glossy highlight */
.kasir-modal-icon::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 */
.kasir-modal-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.4);
    animation: pulseRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0;
    }
}

/* ---------------------------------------------------------------- */
/* TITLE & DESC */
/* ---------------------------------------------------------------- */

.kasir-modal-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.kasir-modal-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 8px;
}

.kasir-modal-desc strong {
    color: #dc2626;
    font-weight: 800;
}

/* ---------------------------------------------------------------- */
/* INFO BOX */
/* ---------------------------------------------------------------- */

.kasir-modal-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, 
        rgba(254, 242, 242, 0.8) 0%, 
        rgba(254, 226, 226, 0.6) 100%);
    border-radius: 14px;
    border: 1px dashed rgba(239, 68, 68, 0.2);
    margin-bottom: 20px;
}

.kasir-modal-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #991b1b;
    text-align: left;
}

.kasir-modal-info-row i {
    font-size: 12px;
    color: #dc2626;
    flex-shrink: 0;
    width: 16px;
}

.kasir-modal-info-row span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------------- */
/* ACTIONS */
/* ---------------------------------------------------------------- */

.kasir-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.kasir-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.kasir-modal-btn i {
    font-size: 15px;
}

/* Primary button (Buka Kasir) */
.kasir-modal-btn.primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.kasir-modal-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;
}

.kasir-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(34, 197, 94, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.kasir-modal-btn.primary:active {
    transform: translateY(0) scale(0.98);
}

/* Secondary button (Lihat Riwayat) */
.kasir-modal-btn.secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
}

.kasir-modal-btn.secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.kasir-modal-btn.secondary:active {
    transform: scale(0.98);
}

/* ---------------------------------------------------------------- */
/* FOOTER NOTE */
/* ---------------------------------------------------------------- */

.kasir-modal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(241, 245, 249, 0.6);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
    text-align: left;
}

.kasir-modal-note i {
    font-size: 11px;
    color: #cbd5e1;
    flex-shrink: 0;
}

.kasir-modal-note span {
    flex: 1;
}

/* ---------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------- */

@media (max-width: 380px) {
    .kasir-modal-content {
        padding: 28px 20px 20px 20px;
        border-radius: 20px;
    }
    
    .kasir-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .kasir-modal-title {
        font-size: 20px;
    }
    
    .kasir-modal-desc {
        font-size: 12px;
    }
    
    .kasir-modal-btn {
        padding: 14px 18px;
        font-size: 13px;
    }
}

/* ================================================================ */
/* BOTTOM NAV - DISABLED STATE (Kasir Closed) */
/* ================================================================ */

.nav-center-bm.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-center-bm.disabled .nav-center-ring-bm {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.3);
    border-color: #f1f5f9;
}

.nav-center-bm.disabled .nav-center-ring-bm i {
    color: rgba(255, 255, 255, 0.7);
}

/* Icon ganti ke lock */
.nav-center-bm.disabled .nav-center-ring-bm i::before {
    content: "\f023";   /* fa-lock */
}

/* ================================================================ */
/* KASIR STATUS BANNER (Dashboard) */
/* ================================================================ */

.kasir-status-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, 
        rgba(254, 242, 242, 0.95) 0%, 
        rgba(254, 226, 226, 0.85) 100%);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: kasirBannerPulse 3s ease-in-out infinite;
}

@keyframes kasirBannerPulse {
    0%, 100% { 
        box-shadow: 
            0 1px 2px rgba(30, 27, 75, 0.04),
            0 4px 12px rgba(239, 68, 68, 0.08);
    }
    50% { 
        box-shadow: 
            0 2px 4px rgba(30, 27, 75, 0.06),
            0 8px 20px rgba(239, 68, 68, 0.15);
    }
}

/* Accent bar */
.kasir-status-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

.kasir-status-banner:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, 
        rgba(254, 242, 242, 1) 0%, 
        rgba(254, 226, 226, 0.95) 100%);
    box-shadow: 
        0 4px 12px rgba(239, 68, 68, 0.15),
        0 12px 32px rgba(239, 68, 68, 0.12);
}

.kasir-status-banner:active {
    transform: translateY(0) scale(0.98);
}

.kasir-status-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.kasir-status-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px rgba(239, 68, 68, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.kasir-status-banner-icon::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 100%);
    border-radius: 9px 9px 50% 50%;
    pointer-events: none;
}

.kasir-status-banner-info {
    flex: 1;
    min-width: 0;
}

.kasir-status-banner-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 3px;
}

.kasir-status-banner-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #b91c1c;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

.kasir-status-banner-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.kasir-status-banner:hover .kasir-status-banner-arrow {
    transform: translateX(4px);
}

/* ================================================================ */
/* KASIR STATUS BANNER - OPEN STATE (Hijau) */
/* ================================================================ */

.kasir-status-banner.open {
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 0.95) 0%, 
        rgba(220, 252, 231, 0.85) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    animation: kasirBannerPulseOpen 3s ease-in-out infinite;
}

@keyframes kasirBannerPulseOpen {
    0%, 100% { 
        box-shadow: 
            0 1px 2px rgba(30, 27, 75, 0.04),
            0 4px 12px rgba(34, 197, 94, 0.08);
    }
    50% { 
        box-shadow: 
            0 2px 4px rgba(30, 27, 75, 0.06),
            0 8px 20px rgba(34, 197, 94, 0.15);
    }
}

/* Accent bar hijau */
.kasir-status-banner.open::before {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.kasir-status-banner.open:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 1) 0%, 
        rgba(220, 252, 231, 0.95) 100%);
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.15),
        0 12px 32px rgba(34, 197, 94, 0.12);
}

/* Icon hijau */
.kasir-status-banner.open .kasir-status-banner-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Title & desc hijau */
.kasir-status-banner.open .kasir-status-banner-title {
    color: #166534;
}

.kasir-status-banner.open .kasir-status-banner-desc {
    color: #15803d;
}

/* Arrow hijau */
.kasir-status-banner.open .kasir-status-banner-arrow {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Dot indicator pulsing untuk active session */
.kasir-status-banner.open .kasir-status-banner-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2.5px solid white;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: kasirDotPulse 2s infinite;
}

@keyframes kasirDotPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% { 
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Meta info baris kedua */
.kasir-status-banner-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

.kasir-status-banner-meta .meta-divider {
    color: rgba(21, 128, 61, 0.3);
    font-weight: 400;
}

.kasir-status-banner-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.kasir-status-banner-meta i {
    font-size: 9px;
    opacity: 0.8;
}

@keyframes kasirModalShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

/* Read-only mode indicator */
body.kasir-readonly-mode #mainApp {
    cursor: not-allowed;
}

body.kasir-readonly-mode #mainApp .hero-card,
body.kasir-readonly-mode #mainApp .quick-stat-card,
body.kasir-readonly-mode #mainApp .saldo-preview-card,
body.kasir-readonly-mode #mainApp .transaksi-item,
body.kasir-readonly-mode #mainApp .help-card {
    cursor: not-allowed;
    transition: all 0.2s;
}

body.kasir-readonly-mode #mainApp .hero-card:hover,
body.kasir-readonly-mode #mainApp .quick-stat-card:hover {
    transform: none !important;
    opacity: 0.7;
}

/* Kecuali elemen yang diizinkan */
body.kasir-readonly-mode #kasirStatusBanner,
body.kasir-readonly-mode #kasirStatusBanner *,
body.kasir-readonly-mode .bottom-nav-bm,
body.kasir-readonly-mode .bottom-nav-bm *,
body.kasir-readonly-mode .app-header,
body.kasir-readonly-mode .app-header *,
body.kasir-readonly-mode #profileKasirMenu {
    cursor: pointer !important;
    opacity: 1 !important;
}

/* ================================================================ */
/* MUTASI FILTER SECTION (Simple) */
/* ================================================================ */

.mutasi-filter-section {
    padding: 12px 14px;
    background: linear-gradient(135deg, 
        rgba(248, 245, 255, 0.6) 0%, 
        rgba(250, 249, 255, 0.4) 100%);
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(124, 58, 237, 0.08);
}

.mutasi-filter-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mutasi-filter-header i {
    font-size: 10px;
    color: #7c3aed;
}

/* Row: Dari + Sampai */
.mutasi-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.mutasi-filter-date-group {
    min-width: 0;
}

.mutasi-filter-date-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.mutasi-filter-date-group input {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1e1b4b;
    box-sizing: border-box;
    transition: all 0.2s;
}

.mutasi-filter-date-group input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Actions */
.mutasi-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mutasi-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.mutasi-filter-btn i {
    font-size: 11px;
}

.mutasi-filter-btn.primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.mutasi-filter-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

.mutasi-filter-btn.primary:active {
    transform: translateY(0) scale(0.98);
}

.mutasi-filter-btn.secondary {
    background: white;
    color: #64748b;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
}

.mutasi-filter-btn.secondary:hover {
    background: #faf5ff;
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.3);
}

.mutasi-filter-btn.secondary:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 380px) {
    .mutasi-filter-row {
        grid-template-columns: 1fr;
    }
}

/* ================================================================ */
/* KASIR ACTIVE DETAIL - Modal dari Banner */
/* ================================================================ */

.kasir-active-popup {
    border-radius: 24px !important;
}

/* Kasir info card */
.kad-kasir-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 0.6) 0%, 
        rgba(220, 252, 231, 0.4) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.kad-kasir-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #22c55e, #16a34a);
    opacity: 0.6;
}

.kad-kasir-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 
        0 6px 16px rgba(34, 197, 94, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.kad-kasir-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;
}

.kad-kasir-info {
    flex: 1;
    min-width: 0;
}

.kad-kasir-nama {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #166534;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kad-kasir-waktu {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    letter-spacing: 0.1px;
}

.kad-kasir-waktu i {
    font-size: 10px;
    opacity: 0.8;
}

/* Stats grid */
.kad-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.kad-stat-card {
    padding: 14px;
    background: linear-gradient(180deg, 
        rgba(250, 249, 255, 0.6) 0%, 
        rgba(245, 243, 255, 0.4) 100%);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 14px;
    text-align: center;
    transition: all 0.25s;
}

.kad-stat-card:hover {
    border-color: rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.08);
}

.kad-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    margin: 0 auto 8px;
    box-shadow: 
        0 4px 10px rgba(30, 27, 75, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.kad-stat-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 8px 8px 50% 50%;
    pointer-events: none;
}

.kad-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.kad-stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.3px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Laba highlight */
.kad-laba-card {
    padding: 18px 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 16px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.kad-laba-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kad-laba-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.kad-laba-label i {
    font-size: 12px;
}

.kad-laba-value {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 380px) {
    .kad-kasir-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .kad-kasir-nama {
        font-size: 14px;
    }
    
    .kad-stat-value {
        font-size: 13px;
    }
    
    .kad-laba-value {
        font-size: 22px;
    }
}

/* ================================================================ */
/* TUTUP KASIR POPUP - PREMIUM */
/* ================================================================ */

.tutup-kasir-popup {
    border-radius: 24px !important;
}

/* Rekap sesi card */
.tk-rekap-card {
    padding: 16px;
    background: linear-gradient(135deg, 
        rgba(248, 245, 255, 0.8) 0%, 
        rgba(250, 249, 255, 0.6) 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    margin-bottom: 14px;
}

.tk-rekap-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tk-rekap-header i {
    font-size: 11px;
    color: #7c3aed;
}

.tk-rekap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tk-rekap-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.06);
}

.tk-rekap-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 
        0 3px 8px rgba(30, 27, 75, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.tk-rekap-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 7px 7px 50% 50%;
    pointer-events: none;
}

.tk-rekap-info {
    flex: 1;
    min-width: 0;
}

.tk-rekap-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tk-rekap-value {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Warning box */
.tk-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px dashed #fcd34d;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #92400e;
    margin-bottom: 16px;
}

.tk-warning i {
    font-size: 14px;
    color: #f59e0b;
    flex-shrink: 0;
}

/* Section header */
.tk-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    margin-top: 12px;
    padding-left: 2px;
}

.tk-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 
        0 6px 16px rgba(30, 27, 75, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.tk-section-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: 13px 13px 50% 50%;
    pointer-events: none;
}

.tk-section-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.tk-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.tk-section-count {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.2px;
}

/* Section items */
.tk-section-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

/* Item */
.tk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg, 
        rgba(250, 249, 255, 0.6) 0%, 
        rgba(245, 243, 255, 0.4) 100%);
    border: 1.5px solid rgba(124, 58, 237, 0.08);
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-wrap: wrap;
}

.tk-item.focus {
    border-color: rgba(124, 58, 237, 0.3);
    background: white;
    box-shadow: 
        0 4px 12px rgba(124, 58, 237, 0.1),
        0 0 0 3px rgba(124, 58, 237, 0.05);
}

.tk-item.changed {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
}

.tk-item-content {
    flex: 1;
    min-width: 0;
}

.tk-item-nama {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-item-sistem {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.1px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Input wrap */
.tk-item-input-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    background: white;
    border: 1.5px solid rgba(220, 38, 38, 0.15);
    border-radius: 10px;
    padding: 6px 10px;
    flex-shrink: 0;
    width: 120px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.tk-item.focus .tk-item-input-wrap {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.tk-item.changed .tk-item-input-wrap {
    border-color: #f59e0b;
    background: #fffbeb;
}

.tk-item-input-prefix {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    flex-shrink: 0;
}

.tk-item-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #dc2626;
    text-align: right;
    padding: 0;
    letter-spacing: -0.2px;
    box-sizing: border-box;
}

.tk-item.changed .tk-item-input {
    color: #b45309;
}

/* Selisih indicator */
.tk-item-selisih {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1px;
    width: 100%;
    justify-content: flex-end;
    margin-top: 4px;
}

.tk-item-selisih.ok {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.tk-item-selisih.over {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tk-item-selisih.under {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.tk-item-selisih i {
    font-size: 10px;
    flex-shrink: 0;
}

/* Total selisih */
.tk-total-selisih {
    padding: 18px 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 16px;
    text-align: center;
    margin-top: 16px;
    border: 1.5px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s;
}

.tk-total-selisih.ok {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: transparent;
    box-shadow: 
        0 8px 20px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tk-total-selisih.over {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: transparent;
    box-shadow: 
        0 8px 20px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tk-total-selisih.under {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: transparent;
    box-shadow: 
        0 8px 20px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tk-total-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
    transition: all 0.3s;
}

.tk-total-selisih.ok .tk-total-label,
.tk-total-selisih.over .tk-total-label,
.tk-total-selisih.under .tk-total-label {
    color: rgba(255, 255, 255, 0.85);
}

.tk-total-value {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #1e1b4b;
    transition: all 0.3s;
}

.tk-total-selisih.ok .tk-total-value,
.tk-total-selisih.over .tk-total-value,
.tk-total-selisih.under .tk-total-value {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 380px) {
    .tk-rekap-grid {
        grid-template-columns: 1fr;
    }
    
    .tk-section-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .tk-section-label {
        font-size: 16px;
    }
    
    .tk-item {
        padding: 12px;
        gap: 8px;
    }
    
    .tk-item-nama {
        font-size: 13px;
    }
    
    .tk-item-input-wrap {
        width: 100px;
        padding: 5px 8px;
    }
    
    .tk-item-input {
        font-size: 12px;
    }
    
    .tk-total-value {
        font-size: 22px;
    }
}

/* ================================================================ */
/* CONFIRM SELISIH POPUP */
/* ================================================================ */

.confirm-selisih-popup {
    border-radius: 24px !important;
}

/* Total selisih card */
.tk-confirm-total {
    padding: 24px 20px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.tk-confirm-total::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tk-confirm-total.ok {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 
        0 8px 24px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tk-confirm-total.over {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 
        0 8px 24px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tk-confirm-total.under {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tk-confirm-total-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.tk-confirm-total-value {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: white;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tk-confirm-total-sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Detail breakdown */
.tk-confirm-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    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;
    margin-bottom: 16px;
}

.tk-confirm-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}

.tk-confirm-detail-row:not(:last-child) {
    border-bottom: 1px dashed rgba(124, 58, 237, 0.08);
    padding-bottom: 10px;
}

.tk-confirm-detail-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.1px;
}

.tk-confirm-detail-label i {
    font-size: 12px;
    color: #7c3aed;
    width: 14px;
    text-align: center;
}

.tk-confirm-detail-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.3px;
}

/* Note */
.tk-confirm-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.tk-confirm-note i {
    font-size: 14px;
    flex-shrink: 0;
}

.tk-confirm-note.ok {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px dashed #86efac;
    color: #166534;
}

.tk-confirm-note.ok i {
    color: #22c55e;
}

.tk-confirm-note.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px dashed #fcd34d;
    color: #92400e;
}

.tk-confirm-note.warning i {
    color: #f59e0b;
}

/* Responsive */
@media (max-width: 380px) {
    .tk-confirm-total-value {
        font-size: 28px;
    }
    
    .tk-confirm-total-label {
        font-size: 10px;
    }
    
    .tk-confirm-total-sub {
        font-size: 10px;
    }
}

/* ================================================================ */
/* CONFIRM SELISIH - Detail Per Akun */
/* ================================================================ */

.tk-selisih-detail {
    background: linear-gradient(135deg, 
        rgba(254, 242, 242, 0.5) 0%, 
        rgba(254, 226, 226, 0.3) 100%);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 16px;
}

/* Header */
.tk-selisih-detail-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0 4px;
}

.tk-selisih-detail-header i {
    font-size: 11px;
}

.tk-selisih-count {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.2px;
}

/* List */
.tk-selisih-detail-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Item */
.tk-selisih-item {
    background: white;
    border-radius: 12px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.06);
    transition: all 0.2s;
}

.tk-selisih-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dc2626;
}

.tk-selisih-item.over::before {
    background: #f59e0b;
}

.tk-selisih-item.under::before {
    background: #dc2626;
}

.tk-selisih-item:hover {
    background: #fafbff;
    transform: translateX(2px);
}

/* Nama akun */
.tk-selisih-item-nama {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sistem → Fisik */
.tk-selisih-item-mid {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 8px;
}

.tk-selisih-sistem {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: -0.2px;
    flex: 1;
    text-align: right;
}

.tk-selisih-arrow {
    font-size: 9px;
    color: #cbd5e1;
    flex-shrink: 0;
}

.tk-selisih-fisik {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    flex: 1;
    text-align: left;
}

/* Selisih value */
.tk-selisih-item-bot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.3px;
    line-height: 1;
}

.tk-selisih-item.over .tk-selisih-item-bot {
    color: #b45309;
}

.tk-selisih-item.under .tk-selisih-item-bot {
    color: #b91c1c;
}

.tk-selisih-item-bot i {
    font-size: 11px;
}

/* Responsive */
@media (max-width: 380px) {
    .tk-selisih-detail {
        padding: 10px;
    }
    
    .tk-selisih-item {
        padding: 10px 12px;
    }
    
    .tk-selisih-item-nama {
        font-size: 12px;
    }
    
    .tk-selisih-item-mid {
        padding: 5px 8px;
        gap: 6px;
    }
    
    .tk-selisih-sistem,
    .tk-selisih-fisik {
        font-size: 11px;
    }
    
    .tk-selisih-item-bot {
        font-size: 12px;
    }
}

/* ================================================================ */
/* RATING POPUP - CUSTOM BUTTONS */
/* ================================================================ */

/* Tombol Rating (Kuning Emas) */
.btn-rating-playstore {
    flex: 1;
    padding: 14px 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.2s;
}

.btn-rating-playstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* Tombol Konfirmasi WA (Hijau) */
.btn-rating-wa {
    flex: 1;
    padding: 14px 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.2s;
}

.btn-rating-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Pastikan footer Swal tidak menambah padding bawaan */
.expired-popup .swal2-footer {
    padding: 0 !important;
    border-top: none !important;
    margin-top: 0 !important;
}

/* ================================================================ */
/* BRAND LOGO PNG ONLY — No Text */
/* Logo PNG sudah include brand name, tidak perlu teks tambahan */
/* ================================================================ */

/* ================================================================ */
/* SPLASH SCREEN */
/* ================================================================ */

.splash-logo-png {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 24px;
    animation: logoScale 0.8s ease-out 0.2s both;
    filter: 
        drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3))
        drop-shadow(0 4px 12px rgba(255, 255, 255, 0.15));
}

/* Subtitle splash */
.splash-sub {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
}

/* ================================================================ */
/* LOGIN PAGE */
/* ================================================================ */

.auth-logo-png {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.2));
}

/* ================================================================ */
/* REGISTER PAGE */
/* ================================================================ */

.auth-register-logo-png {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 6px 20px rgba(124, 58, 237, 0.2));
}

/* ================================================================ */
/* SEMBUNYIKAN ELEMEN LAMA (kalau masih ada di HTML) */
/* ================================================================ */

.splash-logo,
.splash-logo-icon,
.splash-title,
.auth-logo,
.auth-logo-icon,
.auth-title,
.auth-logo-small,
.splash-brand,
.auth-brand {
    display: none;
}

/* ================================================================ */
/* RESPONSIVE — Mobile */
/* ================================================================ */

@media (max-width: 380px) {
    .splash-logo-png {
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
    }
    
    .splash-sub {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 32px;
    }
    
    .auth-logo-png {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }
    
    .auth-register-logo-png {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }
    
    .input-group select {
        padding: 13px 38px 13px 42px;
        font-size: 13px;
    }
    
    .input-group-select::after {
        right: 14px;
        font-size: 10px;
    }
}

@media (max-width: 340px) {
    .splash-logo-png {
        width: 110px;
        height: 110px;
    }
    
    .auth-logo-png {
        width: 100px;
        height: 100px;
    }
    
    .auth-register-logo-png {
        width: 64px;
        height: 64px;
    }
    
    .input-group select {
        padding: 12px 34px 12px 38px;
        font-size: 12px;
    }
    
    .input-group-select::after {
        right: 12px;
        font-size: 10px;
    }
}

/* ================================================================ */
/* SELECT — Zona Waktu (khusus <select>, tidak ubah input) */
/* ================================================================ */

.input-group select {
    width: 100%;
    padding: 14px 42px 14px 46px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: var(--bg-elevated);
    color: var(--text-primary);
    transition: all 0.2s;
    font-weight: 500;
    box-sizing: border-box;
    
    /* Hilangkan style default browser */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    cursor: pointer;
}

.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* Placeholder state (belum dipilih) */
.input-group select:invalid {
    color: var(--text-muted);
}

.input-group select option {
    padding: 10px;
    color: var(--text-primary);
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Container wrapper — butuh position relative untuk arrow */
.input-group.input-group-select {
    position: relative;
}

/* Arrow chevron ▼ di kanan */
.input-group-select::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 11px;
    pointer-events: none;
    z-index: 1;
}

/* ================================================================ */
/* REGISTER SUCCESS POPUP — PREMIUM STYLE */
/* Konsisten dengan style Swal transaksi & saldo */
/* ================================================================ */

.reg-success-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%) !important;
}

/* ================================================================ */
/* ICON HERO — Gradient + Glow */
/* ================================================================ */

.reg-success-icon {
    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: regSuccessPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Glossy highlight */
.reg-success-icon::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 */
.reg-success-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.4);
    animation: regSuccessRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes regSuccessPop {
    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 regSuccessRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ================================================================ */
/* TITLE & SUBTITLE */
/* ================================================================ */

.reg-success-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: 6px;
    padding: 0 24px;
}

.reg-success-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 0 24px;
}

/* ================================================================ */
/* HIGHLIGHT CARD — GRATIS 7 HARI */
/* ================================================================ */

.reg-success-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 24px 20px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.reg-success-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;
}

.reg-success-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;
}

.reg-success-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;
}

.reg-success-highlight-text {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.reg-success-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;
}

.reg-success-highlight-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #b45309;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

/* ================================================================ */
/* INFO CARD — User, Cabang, Username */
/* ================================================================ */

.reg-success-info {
    margin: 0 24px 16px;
    padding: 16px;
    background: linear-gradient(135deg, 
        rgba(248, 245, 255, 0.8) 0%, 
        rgba(250, 249, 255, 0.6) 100%);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-success-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.reg-success-info-row:not(:last-child) {
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(124, 58, 237, 0.1);
}

.reg-success-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 
        0 4px 10px rgba(30, 27, 75, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.reg-success-info-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 8px 8px 50% 50%;
    pointer-events: none;
}

.reg-success-info-content {
    flex: 1;
    min-width: 0;
}

.reg-success-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2px;
}

.reg-success-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ================================================================ */
/* NOTE — Security Info */
/* ================================================================ */

.reg-success-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 24px 24px;
    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;
}

.reg-success-note i {
    font-size: 14px;
    color: #22c55e;
    flex-shrink: 0;
}

.reg-success-note span {
    flex: 1;
}

/* ================================================================ */
/* CONFIRM BUTTON */
/* ================================================================ */

/* Override style tombol Swal default */
.swal2-popup.reg-success-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
}

.reg-success-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),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.reg-success-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;
}

.reg-success-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(124, 58, 237, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.reg-success-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.reg-success-btn-primary i {
    font-size: 14px;
}

/* ================================================================ */
/* RESPONSIVE — Mobile */
/* ================================================================ */

@media (max-width: 380px) {
    .reg-success-icon {
        width: 76px;
        height: 76px;
        font-size: 32px;
        margin: 24px auto 16px;
    }
    
    .reg-success-title {
        font-size: 19px;
        padding: 0 20px;
    }
    
    .reg-success-subtitle {
        font-size: 12px;
        padding: 0 20px;
        margin-bottom: 16px;
    }
    
    .reg-success-highlight {
        margin: 0 20px 16px;
        padding: 14px 16px;
        gap: 12px;
    }
    
    .reg-success-highlight-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
    
    .reg-success-highlight-title {
        font-size: 13px;
    }
    
    .reg-success-highlight-desc {
        font-size: 10px;
    }
    
    .reg-success-info {
        margin: 0 20px 14px;
        padding: 14px;
        gap: 10px;
    }
    
    .reg-success-info-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .reg-success-info-value {
        font-size: 12px;
    }
    
    .reg-success-note {
        margin: 0 20px 20px;
        padding: 10px 12px;
        font-size: 10px;
    }
    
    .swal2-popup.reg-success-popup .swal2-actions {
        padding: 0 20px 20px !important;
    }
    
    .reg-success-btn-primary {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 340px) {
    .reg-success-icon {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
    
    .reg-success-title {
        font-size: 17px;
    }
    
    .reg-success-info-value {
        font-size: 11px;
    }
}

/* ================================================================ */
/* TOMBOL WHATSAPP ADMINMAX — LOGIN PAGE */
/* ================================================================ */

.btn-wa-adminmax {
    width: 100%;
    padding: 14px 18px;
    margin-top: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 1.5px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius-md);
    color: #128C7E;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 1px 2px rgba(30, 27, 75, 0.03),
        0 4px 12px rgba(37, 211, 102, 0.08);
    position: relative;
    overflow: hidden;
}

/* Glow subtle */
.btn-wa-adminmax::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, 
        rgba(37, 211, 102, 0.12) 0%, 
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 0;
}

.btn-wa-adminmax:hover {
    border-color: rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #dcfce7 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.15),
        0 12px 32px rgba(37, 211, 102, 0.12);
    color: #0e7a68;
}

.btn-wa-adminmax:hover::before {
    transform: scale(1.2);
}

.btn-wa-adminmax:active {
    transform: translateY(0) scale(0.98);
}

/* ================================================================ */
/* ICON WRAPPER — dengan dot indikator */
/* ================================================================ */

.btn-wa-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    z-index: 1;
}

.btn-wa-icon-wrap i {
    font-size: 20px;
    color: #25D366;
    transition: all 0.25s;
    line-height: 1;
    display: block;
}

.btn-wa-adminmax:hover .btn-wa-icon-wrap i {
    transform: scale(1.15);
}

/* ✅ Dot hijau pulsing — DI POJOK KANAN ATAS ICON */
.btn-wa-dot {
    position: absolute;
    top: -3px;
    right: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: waPulseDot 2s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes waPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ================================================================ */
/* LABEL TEXT */
/* ================================================================ */

.btn-wa-label {
    position: relative;
    z-index: 1;
    line-height: 1;
}

/* ================================================================ */
/* RESPONSIVE — Mobile */
/* ================================================================ */

@media (max-width: 380px) {
    .btn-wa-adminmax {
        padding: 13px 16px;
        font-size: 13px;
        gap: 8px;
        margin-top: 8px;
    }
    
    .btn-wa-icon-wrap {
        width: 20px;
        height: 20px;
    }
    
    .btn-wa-icon-wrap i {
        font-size: 18px;
    }
    
    .btn-wa-dot {
        width: 8px;
        height: 8px;
        top: -2px;
        right: -4px;
    }
}

@media (max-width: 340px) {
    .btn-wa-adminmax {
        padding: 12px 14px;
        font-size: 12px;
    }
    
    .btn-wa-icon-wrap {
        width: 18px;
        height: 18px;
    }
    
    .btn-wa-icon-wrap i {
        font-size: 16px;
    }
    
    .btn-wa-dot {
        width: 7px;
        height: 7px;
        top: -2px;
        right: -3px;
    }
}

/* ================================================================ */
/* READ-ONLY MODE BANNER — Opsi 1 Guard Cerdas */
/* Muncul saat user pilih "Lihat Riwayat Saja" */
/* ================================================================ */

.readonly-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    animation: readonlyBannerPulse 3s ease-in-out infinite;
    z-index: 10;
}

.readonly-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

@keyframes readonlyBannerPulse {
    0%, 100% {
        box-shadow: 
            0 2px 8px rgba(245, 158, 11, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 4px 16px rgba(245, 158, 11, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
}

.readonly-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.readonly-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.readonly-banner-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
}

.readonly-banner-info {
    flex: 1;
    min-width: 0;
}

.readonly-banner-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #92400e;
    line-height: 1.2;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.readonly-banner-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #b45309;
    line-height: 1.3;
    letter-spacing: 0.1px;
}

.readonly-banner-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    letter-spacing: 0.1px;
}

.readonly-banner-btn i {
    font-size: 11px;
}

.readonly-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

.readonly-banner-btn:active {
    transform: translateY(0) scale(0.96);
}

/* ================================================================ */
/* READ-ONLY — Sembunyikan elemen yang tidak boleh diklik */
/* Visual cue: elemen yang butuh kasir terlihat pudar */
/* ================================================================ */

/* Tombol + di bottom nav — disabled */
body.kasir-readonly-mode .nav-center-bm {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

body.kasir-readonly-mode .nav-center-bm .nav-center-ring-bm {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.3);
    border-color: #f1f5f9;
}

/* Tombol tambah di header page — disabled */
body.kasir-readonly-mode .btn-add-small {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.5);
}

/* Tombol edit/hapus transaksi di riwayat — sembunyikan */
body.kasir-readonly-mode .riwayat-item-actions,
body.kasir-readonly-mode .saldo-card-actions {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 380px) {
    .readonly-banner {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .readonly-banner-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .readonly-banner-title {
        font-size: 12px;
    }
    
    .readonly-banner-desc {
        font-size: 10px;
    }
    
    .readonly-banner-btn {
        padding: 7px 12px;
        font-size: 10px;
    }
    
    .readonly-banner-btn i {
        font-size: 10px;
    }
}

/* ================================================================ */
/* READ-ONLY ACTION POPUP — PREMIUM STYLE (FIXED LAYOUT)             */
/* ================================================================ */

.ro-action-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%) !important;
    
    /* Batasi lebar agar tidak melar di desktop */
    width: 92vw !important;
    max-width: 400px !important;
}

/* Hilangkan padding bawaan SweetAlert */
.swal2-popup.ro-action-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.ro-action-wrap {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ================================================================ */
/* ICON HERO                                                         */
/* ================================================================ */

.ro-action-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 16px;
    color: white;
    font-size: 34px;
    position: relative;
    box-shadow: 
        0 12px 32px rgba(245, 158, 11, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    animation: roActionPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ro-action-icon::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;
}

.ro-action-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.4);
    animation: roActionRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes roActionPop {
    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 roActionRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ================================================================ */
/* TITLE & SUBTITLE                                                  */
/* ================================================================ */

.ro-action-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: 6px;
    padding: 0 20px;
}

.ro-action-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 0 20px;
}

/* ================================================================ */
/* WARNING CARD                                                      */
/* ================================================================ */

.ro-action-warning {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 20px 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 14px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.ro-action-warning-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.ro-action-warning-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    line-height: 1.4;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* ================================================================ */
/* INFO CABANG (DIPERBAIKI AGAR RATA KIRI)                           */
/* ================================================================ */

.ro-action-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 20px 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(248, 245, 255, 0.8) 0%, rgba(250, 249, 255, 0.6) 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    box-sizing: border-box;
}

.ro-action-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.ro-action-info-icon::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 8px 8px 50% 50%;
    pointer-events: none;
}

.ro-action-info-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ro-action-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 3px;
}

.ro-action-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ro-action-info-zona {
    color: #7c3aed;
    font-weight: 800;
}

/* ================================================================ */
/* NOTE                                                              */
/* ================================================================ */

.ro-action-note {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 20px 20px;
    padding: 10px 14px;
    background: rgba(241, 245, 249, 0.6);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.4;
    box-sizing: border-box;
}

.ro-action-note i {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.ro-action-note span {
    flex: 1;
}

/* ================================================================ */
/* BUTTONS                                                           */
/* ================================================================ */

.swal2-popup.ro-action-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 20px 20px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    box-sizing: border-box;
}

/* Primary — Buka Kasir */
.ro-action-btn-primary {
    width: 100% !important;
    padding: 16px 20px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 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(34, 197, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
}

.ro-action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.ro-action-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Secondary — Nanti Saja */
.ro-action-btn-cancel {
    width: 100% !important;
    padding: 14px 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.ro-action-btn-cancel:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.ro-action-btn-cancel:active {
    transform: scale(0.98);
}

/* ================================================================ */
/* RESPONSIVE                                                        */
/* ================================================================ */

@media (max-width: 380px) {
    .ro-action-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }

    .ro-action-icon {
        width: 72px;
        height: 72px;
        font-size: 30px;
        margin: 20px auto 14px;
    }
    
    .ro-action-title {
        font-size: 19px;
        padding: 0 16px;
    }
    
    .ro-action-subtitle {
        font-size: 12px;
        padding: 0 16px;
        margin-bottom: 16px;
    }
    
    .ro-action-warning,
    .ro-action-info,
    .ro-action-note {
        margin-left: 16px;
        margin-right: 16px;
    }

    .ro-action-warning {
        margin-bottom: 12px;
        padding: 12px 14px;
    }
    
    .ro-action-warning-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .ro-action-warning-text {
        font-size: 11px;
    }
    
    .ro-action-info {
        margin-bottom: 12px;
        padding: 12px 14px;
    }
    
    .ro-action-info-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .ro-action-info-value {
        font-size: 12px;
    }
    
    .ro-action-note {
        margin-bottom: 16px;
        padding: 9px 12px;
        font-size: 10px;
    }
    
    .swal2-popup.ro-action-popup .swal2-actions {
        padding: 0 16px 16px !important;
    }
    
    .ro-action-btn-primary {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }
    
    .ro-action-btn-cancel {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* ================================================================ */
/* GANTI PASSWORD POPUP — PREMIUM STYLE (FIXED & RAPI)               */
/* ================================================================ */

.ganti-pwd-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;
}

/* ✅ Hilangkan padding bawaan SweetAlert agar full */
.swal2-popup.ganti-pwd-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Wrapper */
.gp-wrap {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ================================================================ */
/* ICON HERO — Gradient Ungu + Glow                                  */
/* ================================================================ */

.gp-icon-hero {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 16px;
    color: white;
    font-size: 34px;
    position: relative;
    box-shadow: 
        0 12px 32px rgba(124, 58, 237, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    animation: gpIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gp-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;
}

.gp-icon-hero::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.4);
    animation: gpIconRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gpIconPop {
    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 gpIconRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ================================================================ */
/* TITLE & SUBTITLE                                                  */
/* ================================================================ */

.gp-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: 6px;
    padding: 0 20px;
}

.gp-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 0 20px;
}

/* ================================================================ */
/* USER INFO CARD — Rata Kiri & Full Width                           */
/* ================================================================ */

.gp-user-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 0 20px 20px 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(217, 70, 239, 0.06) 100%);
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.gp-user-card::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gp-user-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 
        0 6px 16px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
}

.gp-user-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;
}

.gp-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.gp-user-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 800;
    color: #7c3aed;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 3px;
}

.gp-user-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.gp-user-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.gp-user-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
}

.gp-user-meta-item i {
    font-size: 9px;
    opacity: 0.8;
}

.gp-user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.gp-user-role-badge.owner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.gp-user-role-badge.kasir {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ================================================================ */
/* FIELDS                                                            */
/* ================================================================ */

.gp-body {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px 20px 20px;
}

.gp-field {
    width: 100%;
    margin-bottom: 14px;
}

.gp-field:last-child {
    margin-bottom: 0;
}

.gp-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-left: 2px;
}

.gp-field-label-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.2px;
}

.gp-field-label-text i {
    font-size: 11px;
    color: #7c3aed;
}

.gp-field-required {
    color: #f43f5e;
    font-size: 12px;
    font-weight: 800;
    margin-left: 2px;
}

.gp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #faf9ff;
    border: 2px solid #ede9fe;
    border-radius: 12px;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.gp-input-wrap:focus-within {
    border-color: #7c3aed;
    background: white;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.gp-input-icon {
    position: absolute;
    left: 14px;
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s;
}

.gp-input-wrap:focus-within .gp-input-icon {
    color: #7c3aed;
}

.gp-input {
    width: 100%;
    padding: 13px 44px 13px 40px;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e1b4b;
    box-sizing: border-box;
}

.gp-input::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

.gp-toggle-eye {
    position: absolute;
    right: 14px;
    font-size: 14px;
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
    padding: 4px;
    transition: color 0.2s;
}

.gp-toggle-eye:hover {
    color: #7c3aed;
}

/* ================================================================ */
/* WARNING NOTE                                                      */
/* ================================================================ */

.gp-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.4;
}

.gp-warning i {
    font-size: 14px;
    color: #f59e0b;
    flex-shrink: 0;
}

/* ================================================================ */
/* BUTTONS                                                           */
/* ================================================================ */

.swal2-popup.ganti-pwd-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 20px 20px !important;
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
    box-sizing: border-box;
}

.gp-btn-cancel {
    flex: 1;
    padding: 14px 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.gp-btn-cancel:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.gp-btn-confirm {
    flex: 1;
    padding: 14px 20px !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: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.gp-btn-confirm::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;
}

.gp-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.gp-btn-confirm:active {
    transform: translateY(0) scale(0.98);
}

/* ================================================================ */
/* RESPONSIVE — Mobile (≤ 380px)                                     */
/* ================================================================ */

@media (max-width: 380px) {
    .ganti-pwd-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .gp-icon-hero {
        width: 72px;
        height: 72px;
        font-size: 30px;
        margin: 20px auto 14px;
    }
    
    .gp-title {
        font-size: 19px;
        padding: 0 16px;
    }
    
    .gp-subtitle {
        font-size: 12px;
        padding: 0 16px;
        margin-bottom: 16px;
    }
    
    .gp-user-card {
        margin: 0 16px 16px 16px;
        padding: 14px;
        gap: 12px;
    }
    
    .gp-user-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
    
    .gp-user-name {
        font-size: 14px;
    }
    
    .gp-body {
        padding: 0 16px 16px 16px;
    }
    
    .gp-field {
        margin-bottom: 12px;
    }
    
    .gp-input {
        padding: 11px 40px 11px 36px;
        font-size: 13px;
    }
    
    .gp-input-icon {
        left: 12px;
        font-size: 13px;
    }
    
    .gp-toggle-eye {
        right: 12px;
        font-size: 13px;
    }
    
    .swal2-popup.ganti-pwd-popup .swal2-actions {
        padding: 0 16px 16px !important;
        flex-direction: column !important;
    }
    
    .gp-btn-confirm,
    .gp-btn-cancel {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
    
    .gp-btn-confirm {
        order: 1;
    }
    
    .gp-btn-cancel {
        order: 2;
    }
}

/* ================================================================ */
/* CABANG SWITCHER MODAL — PREMIUM                                  */
/* ================================================================ */

.cabang-switcher-sheet {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

/* ─────────────────────────────────────────────── */
/* HEADER                                            */
/* ─────────────────────────────────────────────── */

.cabang-switcher-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(217, 70, 239, 0.02) 100%);
    position: relative;
}

.cabang-switcher-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 
        0 6px 16px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.cabang-switcher-header-icon::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
}

.cabang-switcher-header-info {
    flex: 1;
    min-width: 0;
}

.cabang-switcher-header-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.cabang-switcher-header-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

/* ─────────────────────────────────────────────── */
/* BODY                                              */
/* ─────────────────────────────────────────────── */

.cabang-switcher-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 8px;
    max-height: calc(85vh - 200px);
}

.cabang-switcher-body::-webkit-scrollbar {
    width: 4px;
}

.cabang-switcher-body::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.2);
    border-radius: 2px;
}

/* ─────────────────────────────────────────────── */
/* CABANG CARD                                       */
/* ─────────────────────────────────────────────── */

.cabang-switcher-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    margin-bottom: 12px;
    background: white;
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(30, 27, 75, 0.03);
}

.cabang-switcher-item:last-child {
    margin-bottom: 0;
}

.cabang-switcher-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(124, 58, 237, 0.1),
        0 8px 20px rgba(124, 58, 237, 0.08);
}

.cabang-switcher-item:active {
    transform: translateY(0) scale(0.98);
}

/* ✅ ACTIVE STATE — cabang yang sedang dipakai */
.cabang-switcher-item.active {
    border-color: #7c3aed;
    border-width: 2px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.06) 0%, 
        rgba(217, 70, 239, 0.04) 100%);
    box-shadow: 
        0 4px 16px rgba(124, 58, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ─────────────────────────────────────────────── */
/* ICON TOKO                                         */
/* ─────────────────────────────────────────────── */

.cabang-switcher-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #94a3b8, #64748b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 
        0 4px 10px rgba(100, 116, 139, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
}

.cabang-switcher-icon::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 11px 11px 50% 50%;
    pointer-events: none;
}

/* ✅ ACTIVE — icon ungu gradient */
.cabang-switcher-item.active .cabang-switcher-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 
        0 6px 16px rgba(124, 58, 237, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ─────────────────────────────────────────────── */
/* INFO CONTENT                                      */
/* ─────────────────────────────────────────────── */

.cabang-switcher-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.cabang-switcher-nama {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cabang-switcher-item.active .cabang-switcher-nama {
    color: #7c3aed;
}

/* Status row — buka/tutup */
.cabang-switcher-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

/* ✅ Status OPEN */
.cabang-switcher-status.open {
    color: #16a34a;
}

.cabang-switcher-status.open .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: statusDotPulse 2s infinite;
    flex-shrink: 0;
}

@keyframes statusDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ⚠️ Status CLOSED */
.cabang-switcher-status.closed {
    color: #b45309;
}

.cabang-switcher-status.closed .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    flex-shrink: 0;
}

/* Detail row — kasir & waktu */
.cabang-switcher-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

.cabang-switcher-detail span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.cabang-switcher-detail i {
    font-size: 9px;
    opacity: 0.8;
}

/* Zona badge */
.cabang-switcher-zona {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────── */
/* BADGE AKTIF/TUTUP (kanan card)                    */
/* ─────────────────────────────────────────────── */

.cabang-switcher-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.cabang-switcher-badge.aktif {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border: 1px solid #86efac;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
}

.cabang-switcher-badge.tutup {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.cabang-switcher-badge i {
    font-size: 9px;
}

/* ─────────────────────────────────────────────── */
/* FOOTER                                            */
/* ─────────────────────────────────────────────── */

.cabang-switcher-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(180deg, transparent 0%, rgba(248, 245, 255, 0.6) 100%);
}

.cabang-switcher-footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
}

.cabang-switcher-footer-info i {
    font-size: 11px;
    color: #cbd5e1;
}

/* ─────────────────────────────────────────────── */
/* EMPTY STATE                                       */
/* ─────────────────────────────────────────────── */

.cabang-switcher-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: center;
}

.cabang-switcher-empty i {
    font-size: 48px;
    color: #cbd5e1;
    opacity: 0.6;
}

.cabang-switcher-empty-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 4px;
}

.cabang-switcher-empty-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* ─────────────────────────────────────────────── */
/* RESPONSIVE                                        */
/* ─────────────────────────────────────────────── */

@media (max-width: 380px) {
    .cabang-switcher-header {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .cabang-switcher-header-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .cabang-switcher-header-title {
        font-size: 15px;
    }
    
    .cabang-switcher-header-subtitle {
        font-size: 10px;
    }
    
    .cabang-switcher-body {
        padding: 14px 16px 6px;
    }
    
    .cabang-switcher-item {
        padding: 14px;
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .cabang-switcher-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .cabang-switcher-nama {
        font-size: 14px;
    }
    
    .cabang-switcher-badge {
        padding: 3px 8px;
        font-size: 8px;
    }
    
    .cabang-switcher-footer {
        padding: 10px 16px 14px;
    }
}

/* ================================================================ */
/* PROFILE HEADER PREMIUM — TIER-BASED (PREMIUM/TRIAL/EXPIRED)      */
/* ================================================================ */

.profile-header-premium {
    position: relative;
    border-radius: 24px;
    padding: 28px 20px 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(30, 27, 75, 0.15),
        0 4px 12px rgba(30, 27, 75, 0.08);
    transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════════ */
/* TIER: PREMIUM (Ungu-Pink Gradient)                     */
/* ═══════════════════════════════════════════════════════ */

.profile-header-premium[data-tier="premium"] {
    background: linear-gradient(135deg, 
        #4c1d95 0%, 
        #6d28d9 20%, 
        #7c3aed 40%, 
        #a855f7 60%, 
        #d946ef 85%, 
        #ec4899 100%);
}

.profile-header-premium[data-tier="premium"] .profile-avatar-tier-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 
        0 4px 12px rgba(251, 191, 36, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: white;
}

.profile-header-premium[data-tier="premium"] .profile-tier-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 6px 20px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.profile-header-premium[data-tier="premium"] .profile-avatar-premium {
    border-color: #fbbf24;
    box-shadow: 
        0 0 0 4px rgba(251, 191, 36, 0.25),
        0 0 20px rgba(251, 191, 36, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════ */
/* TIER: TRIAL (Amber-Orange Gradient)                    */
/* ═══════════════════════════════════════════════════════ */

.profile-header-premium[data-tier="trial"] {
    background: linear-gradient(135deg, 
        #c2410c 0%, 
        #ea580c 25%, 
        #f59e0b 50%, 
        #fbbf24 75%, 
        #fcd34d 100%);
}

.profile-header-premium[data-tier="trial"] .profile-avatar-tier-badge {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    color: white;
    box-shadow: 
        0 4px 12px rgba(234, 88, 12, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.profile-header-premium[data-tier="trial"] .profile-tier-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #92400e;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 6px 20px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.profile-header-premium[data-tier="trial"] .profile-avatar-premium {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(251, 191, 36, 0.3);
}

/* ═══════════════════════════════════════════════════════ */
/* TIER: EXPIRED (Abu-abu Gradient)                       */
/* ═══════════════════════════════════════════════════════ */

.profile-header-premium[data-tier="expired"] {
    background: linear-gradient(135deg, 
        #334155 0%, 
        #475569 50%, 
        #64748b 100%);
}

.profile-header-premium[data-tier="expired"] .profile-avatar-tier-badge {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.4);
}

.profile-header-premium[data-tier="expired"] .profile-tier-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.profile-header-premium[data-tier="expired"] .profile-avatar-premium {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════ */
/* AMBIENT GLOW                                           */
/* ═══════════════════════════════════════════════════════ */

.profile-header-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: profileGlowFloat 6s ease-in-out infinite;
}

.profile-header-glow-2 {
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: profileGlowFloat 8s ease-in-out infinite reverse;
}

@keyframes profileGlowFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(10px, 10px) scale(1.1);
        opacity: 1;
    }
}

/* Pattern dots overlay */
.profile-header-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

/* Content */
.profile-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════ */
/* AVATAR                                                 */
/* ═══════════════════════════════════════════════════════ */

.profile-avatar-wrap {
    position: relative;
    margin-bottom: 14px;
}

.profile-avatar-premium {
    width: 88px;
    height: 88px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    position: relative;
    transition: all 0.3s;
}

.profile-avatar-premium i {
    font-size: 36px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-avatar-tier-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    animation: avatarBadgePulse 2s ease-in-out infinite;
}

@keyframes avatarBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ═══════════════════════════════════════════════════════ */
/* NAME                                                   */
/* ═══════════════════════════════════════════════════════ */

.profile-name-premium {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 12px;
}

/* ═══════════════════════════════════════════════════════ */
/* TIER BADGE                                             */
/* ═══════════════════════════════════════════════════════ */

.profile-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 6px;
    border: 1.5px solid transparent;
    transition: all 0.3s;
}

.profile-tier-badge i {
    font-size: 12px;
}

.profile-tier-days {
    opacity: 0.85;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════ */
/* ROLE TEXT                                              */
/* ═══════════════════════════════════════════════════════ */

.profile-role-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
    margin-bottom: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════ */
/* EDIT BUTTON                                            */
/* ═══════════════════════════════════════════════════════ */

.profile-edit-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-edit-btn-premium::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: 999px 999px 50% 50%;
    pointer-events: none;
}

.profile-edit-btn-premium:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.profile-edit-btn-premium:active {
    transform: translateY(0) scale(0.97);
}

.profile-edit-btn-premium i {
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════ */
/* DIVIDER                                                */
/* ═══════════════════════════════════════════════════════ */

.profile-header-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.25) 20%, 
        rgba(255, 255, 255, 0.25) 80%, 
        transparent 100%);
    margin: 18px 0 14px;
}

/* ═══════════════════════════════════════════════════════ */
/* INFO BAR BAWAH                                         */
/* ═══════════════════════════════════════════════════════ */

.profile-header-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.profile-info-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-info-item i {
    font-size: 10px;
    opacity: 0.8;
}

.profile-info-sep {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE                                             */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 380px) {
    .profile-header-premium {
        padding: 22px 16px 16px;
        border-radius: 20px;
    }
    
    .profile-avatar-premium {
        width: 76px;
        height: 76px;
    }
    
    .profile-avatar-premium i {
        font-size: 30px;
    }
    
    .profile-avatar-tier-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .profile-name-premium {
        font-size: 17px;
    }
    
    .profile-tier-badge {
        padding: 5px 12px;
        font-size: 10px;
    }
    
    .profile-role-text {
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .profile-edit-btn-premium {
        padding: 7px 14px;
        font-size: 11px;
    }
    
    .profile-header-divider {
        margin: 14px 0 12px;
    }
    
    .profile-header-info {
        font-size: 10px;
        gap: 4px;
    }
}

/* ================================================================ */
/* EDIT PROFILE POPUP — CLEAN PREMIUM                                */
/* ================================================================ */

.edit-profile-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 380px !important;
}

.swal2-popup.edit-profile-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.ep-wrap {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════ */
/* ICON (Lebih kecil & simpel)                            */
/* ═══════════════════════════════════════════════════════ */

.ep-icon-hero {
    width: 64px;
    height: 64px;
    border-radius: 20px; /* Kotak membulat, bukan bulat */
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    position: relative;
}

.ep-icon-hero::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 18px 18px 50% 50%;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════ */
/* TITLE                                                  */
/* ═══════════════════════════════════════════════════════ */

.ep-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════ */
/* INPUT                                                  */
/* ═══════════════════════════════════════════════════════ */

.ep-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #faf9ff;
    border: 2px solid #ede9fe;
    border-radius: 14px;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.ep-input-wrap:focus-within {
    border-color: #7c3aed;
    background: white;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.ep-input-icon {
    position: absolute;
    left: 16px;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s;
}

.ep-input-wrap:focus-within .ep-input-icon {
    color: #7c3aed;
}

.ep-input {
    width: 100%;
    padding: 16px 16px 16px 44px;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1e1b4b;
    box-sizing: border-box;
}

.ep-input::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════ */
/* BUTTONS (Full width, stack vertikal)                   */
/* ═══════════════════════════════════════════════════════ */

.swal2-popup.edit-profile-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    box-sizing: border-box;
}

.ep-btn-confirm {
    width: 100% !important;
    padding: 15px 20px !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: 8px !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
    transition: all 0.25s !important;
    margin: 0 !important;
}

.ep-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.4) !important;
}

.ep-btn-confirm:active {
    transform: translateY(0) scale(0.98);
}

.ep-btn-cancel {
    width: 100% !important;
    padding: 14px 20px !important;
    border: none !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #64748b !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.ep-btn-cancel:hover {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* ================================================================ */
/* CHANGE PASSWORD RESULT POPUP (SUCCESS & ERROR)                   */
/* ================================================================ */

.cp-result-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 380px !important;
}

.swal2-popup.cp-result-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.cp-result-wrap {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon Hero */
.cp-result-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 12px 32px rgba(30, 27, 75, 0.2);
    animation: cpIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cp-result-icon.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
}

.cp-result-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.35);
}

.cp-result-icon::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;
}

@keyframes cpIconPop {
    0% { opacity: 0; transform: scale(0.3) rotate(-15deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Title & Subtitle */
.cp-result-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
    padding: 0 10px;
}

.cp-result-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 10px;
}

/* Info Box */
.cp-result-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.cp-result-info.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.cp-result-info.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.cp-result-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.cp-result-info.error .cp-result-info-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.cp-result-info.success .cp-result-info-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.cp-result-info-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.cp-result-info.error .cp-result-info-text {
    color: #991b1b;
}

.cp-result-info.success .cp-result-info-text {
    color: #166534;
}

/* Button */
.swal2-popup.cp-result-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.cp-result-btn {
    width: 100% !important;
    padding: 15px 20px !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s !important;
    margin: 0 !important;
    color: white !important;
}

.cp-result-btn.success {
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%) !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
}

.cp-result-btn.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3) !important;
}

.cp-result-btn:hover {
    transform: translateY(-2px);
}

.cp-result-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ================================================================ */
/* ABOUT POPUP — PREMIUM STYLE (WITH LOGO.PNG)                       */
/* ================================================================ */

.about-popup {
    border-radius: 28px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.about-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.about-wrap {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* ───────────────────────────────────────────── */
/* GRADIENT HEADER BACKGROUND                    */
/* ───────────────────────────────────────────── */

.about-header {
    position: relative;
    width: 100%;
    padding: 32px 24px 24px;   /* ← dari 40px 24px 32px jadi lebih ringkas */
    background: linear-gradient(135deg, 
        #7c3aed 0%, 
        #9333ea 40%, 
        #d946ef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Ambient glow */
.about-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-header::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Pattern dots */
.about-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    opacity: 0.6;
}

/* ───────────────────────────────────────────── */
/* LOGO PNG — DENGAN ANIMASI FLOAT & PULSE       */
/* ───────────────────────────────────────────── */

.about-logo {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 10px;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    z-index: 1;
    animation: aboutLogoFloat 3s ease-in-out infinite;
    box-sizing: border-box;
}

.about-logo::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: aboutLogoPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

.about-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes aboutLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes aboutLogoPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.4;
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.1;
    }
}

/* ───────────────────────────────────────────── */
/* BRAND NAME                                    */
/* ───────────────────────────────────────────── */

.about-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.about-brand-buku {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: white;
    letter-spacing: -1px;
    line-height: 1;
}

.about-brand-max {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: #fcd34d;
    letter-spacing: -1px;
    line-height: 1;
}

.about-tagline {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* BODY CONTENT                                  */
/* ───────────────────────────────────────────── */

.about-body {
    width: 100%;
    padding: 20px 24px 20px;    /* ← dari 24px 24px 20px */
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ───────────────────────────────────────────── */
/* INFO CARD                                     */
/* ───────────────────────────────────────────── */

.about-info-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.04) 0%, 
        rgba(217, 70, 239, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    padding: 14px;
}

.about-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.about-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
}

.about-info-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.about-info-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.about-info-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }

.about-info-label {
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
    min-width: 60px;
}

.about-info-value {
    font-weight: 800;
    color: #1e1b4b;
    flex: 1;
}

/* ───────────────────────────────────────────── */
/* DESCRIPTION                                   */
/* ───────────────────────────────────────────── */

.about-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.6;
    text-align: center;
    padding: 0 4px;
}

/* ───────────────────────────────────────────── */
/* FEATURES LIST                                 */
/* ───────────────────────────────────────────── */

.about-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-features-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #7c3aed;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

.about-feature-item i {
    font-size: 10px;
    color: #22c55e;
    flex-shrink: 0;
}

/* ───────────────────────────────────────────── */
/* FOOTER                                        */
/* ───────────────────────────────────────────── */

.about-footer {
    width: 100%;
    padding: 14px 24px 20px;
    border-top: 1px dashed rgba(124, 58, 237, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(248, 245, 255, 0.4) 100%);
}

.about-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-copyright i {
    color: #f43f5e;
    font-size: 10px;
    animation: aboutHeartBeat 1.5s ease-in-out infinite;
}

@keyframes aboutHeartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.about-maker {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.2px;
}

/* ───────────────────────────────────────────── */
/* BUTTON                                        */
/* ───────────────────────────────────────────── */

.swal2-popup.about-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.about-btn-close {
    width: 100% !important;
    padding: 14px 20px !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: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
    transition: all 0.25s !important;
    margin: 0 !important;
}

.about-btn-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4) !important;
}

.about-btn-close:active {
    transform: translateY(0) scale(0.98);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .about-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .about-header {
        padding: 32px 20px 26px;
    }
    
    .about-logo {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;        /* ← dari 18px jadi 14px */
    padding: 10px;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    z-index: 1;
    animation: aboutLogoFloat 3s ease-in-out infinite;
    box-sizing: border-box;
}
    
    .about-brand-buku,
    .about-brand-max {
        font-size: 24px;
    }
    
    .about-tagline {
        font-size: 10px;
    }
    
    .about-body {
        padding: 20px 20px 16px;
        gap: 14px;
    }
    
    .about-info-card {
        padding: 12px;
        gap: 8px;
    }
    
    .about-info-row {
        font-size: 11px;
    }
    
    .about-info-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .about-desc {
        font-size: 12px;
    }
    
    .about-feature-item {
        font-size: 11px;
    }
    
    .about-footer {
        padding: 12px 20px 16px;
    }
    
    .swal2-popup.about-popup .swal2-actions {
        padding: 0 20px 20px !important;
    }
    
    .about-btn-close {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* ================================================================ */
/* CLEAR CACHE POPUP — PREMIUM STYLE                                 */
/* ================================================================ */

.cc-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.cc-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.cc-wrap {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* ICON HERO                                     */
/* ───────────────────────────────────────────── */

.cc-icon-hero {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
    animation: ccIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cc-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: 20px 20px 50% 50%;
    pointer-events: none;
}

@keyframes ccIconPop {
    0% { opacity: 0; transform: scale(0.3) rotate(-15deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* ───────────────────────────────────────────── */
/* TITLE & SUBTITLE                              */
/* ───────────────────────────────────────────── */

.cc-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.cc-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

.cc-subtitle strong {
    color: #7c3aed;
    font-weight: 800;
}

/* ───────────────────────────────────────────── */
/* INFO CARD — Yang Dihapus & Yang Aman         */
/* ───────────────────────────────────────────── */

.cc-info-card {
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(254, 242, 242, 0.6) 0%, 
        rgba(254, 226, 226, 0.4) 100%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: left;
}

.cc-info-card.success {
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 0.6) 0%, 
        rgba(220, 252, 231, 0.4) 100%);
    border-color: rgba(34, 197, 94, 0.15);
}

.cc-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(239, 68, 68, 0.2);
}

.cc-info-header.success {
    color: #166534;
    border-bottom-color: rgba(34, 197, 94, 0.2);
}

.cc-info-header i {
    font-size: 12px;
}

.cc-info-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cc-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #7f1d1d;
    line-height: 1.3;
}

.cc-info-item.success {
    color: #14532d;
}

.cc-info-item i {
    font-size: 11px;
    flex-shrink: 0;
    opacity: 0.8;
}

.cc-info-item i.fa-times-circle {
    color: #dc2626;
}

.cc-info-item i.fa-check-circle {
    color: #16a34a;
}

/* ───────────────────────────────────────────── */
/* WARNING NOTE                                  */
/* ───────────────────────────────────────────── */

.cc-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.4;
    box-sizing: border-box;
    margin-top: 4px;
}

.cc-warning i {
    font-size: 12px;
    color: #f59e0b;
    flex-shrink: 0;
}

/* ───────────────────────────────────────────── */
/* BUTTONS                                       */
/* ───────────────────────────────────────────── */

.swal2-popup.cc-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
    box-sizing: border-box;
}

.cc-btn-confirm {
    flex: 1;
    padding: 14px 20px !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: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
    transition: all 0.25s !important;
    margin: 0 !important;
}

.cc-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4) !important;
}

.cc-btn-confirm:active {
    transform: translateY(0) scale(0.98);
}

.cc-btn-cancel {
    flex: 1;
    padding: 14px 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.cc-btn-cancel:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .cc-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .cc-wrap {
        padding: 26px 20px 16px;
    }
    
    .cc-icon-hero {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .cc-title {
        font-size: 18px;
    }
    
    .cc-subtitle {
        font-size: 11px;
    }
    
    .cc-info-card {
        padding: 10px 12px;
    }
    
    .cc-info-header {
        font-size: 10px;
    }
    
    .cc-info-item {
        font-size: 10px;
    }
    
    .swal2-popup.cc-popup .swal2-actions {
        padding: 0 20px 20px !important;
        flex-direction: column !important;
    }
    
    .cc-btn-confirm {
        order: 1;
        width: 100% !important;
        padding: 13px 16px !important;
        font-size: 13px !important;
    }
    
    .cc-btn-cancel {
        order: 2;
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* ================================================================ */
/* LOGOUT POPUP — PREMIUM STYLE                                      */
/* ================================================================ */

.logout-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.logout-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.lo-wrap {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* ICON HERO                                     */
/* ───────────────────────────────────────────── */

.lo-icon-hero {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
    animation: loIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lo-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: 20px 20px 50% 50%;
    pointer-events: none;
}

@keyframes loIconPop {
    0% { opacity: 0; transform: scale(0.3) rotate(-15deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* ───────────────────────────────────────────── */
/* TITLE & SUBTITLE                              */
/* ───────────────────────────────────────────── */

.lo-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.lo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* ───────────────────────────────────────────── */
/* USER CARD                                     */
/* ───────────────────────────────────────────── */

.lo-user-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.06) 0%, 
        rgba(217, 70, 239, 0.04) 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 14px;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.lo-user-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.lo-user-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
    position: relative;
    z-index: 1;
}

.lo-user-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: 10px 10px 50% 50%;
    pointer-events: none;
}

.lo-user-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.lo-user-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 800;
    color: #7c3aed;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 3px;
    line-height: 1.2;
}

.lo-user-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lo-user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

.lo-user-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.lo-user-meta-item i {
    font-size: 9px;
    opacity: 0.8;
}

.lo-user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.lo-user-role-badge.owner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.lo-user-role-badge.kasir {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ───────────────────────────────────────────── */
/* WARNING NOTE                                  */
/* ───────────────────────────────────────────── */

.lo-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.4;
    box-sizing: border-box;
    text-align: left;
}

.lo-warning i {
    font-size: 13px;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ───────────────────────────────────────────── */
/* BUTTONS                                       */
/* ───────────────────────────────────────────── */

.swal2-popup.logout-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
    box-sizing: border-box;
}

.lo-btn-cancel {
    flex: 1;
    padding: 14px 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.lo-btn-cancel:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.lo-btn-confirm {
    flex: 1;
    padding: 14px 20px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35) !important;
    transition: all 0.25s !important;
    margin: 0 !important;
}

.lo-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.45) !important;
}

.lo-btn-confirm:active {
    transform: translateY(0) scale(0.98);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .logout-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .lo-wrap {
        padding: 26px 20px 16px;
    }
    
    .lo-icon-hero {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .lo-title {
        font-size: 18px;
    }
    
    .lo-subtitle {
        font-size: 11px;
    }
    
    .lo-user-card {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .lo-user-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .lo-user-name {
        font-size: 13px;
    }
    
    .swal2-popup.logout-popup .swal2-actions {
        padding: 0 20px 20px !important;
        flex-direction: column !important;
    }
    
    .lo-btn-confirm {
        order: 1;
        width: 100% !important;
        padding: 13px 16px !important;
        font-size: 13px !important;
    }
    
    .lo-btn-cancel {
        order: 2;
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* ================================================================ */
/* SESSION EXPIRED POPUP — PREMIUM STYLE                             */
/* ================================================================ */

.se-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.se-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.se-wrap {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* ICON HERO                                     */
/* ───────────────────────────────────────────── */

.se-icon-hero {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
    animation: seIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.se-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;
}

.se-icon-hero::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.4);
    animation: seIconRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes seIconPop {
    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 seIconRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ───────────────────────────────────────────── */
/* TITLE & SUBTITLE                              */
/* ───────────────────────────────────────────── */

.se-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.se-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* ───────────────────────────────────────────── */
/* WARNING CARD                                  */
/* ───────────────────────────────────────────── */

.se-warning-card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
    text-align: left;
}

.se-warning-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.se-warning-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    line-height: 1.5;
    padding-top: 4px;
}

/* ───────────────────────────────────────────── */
/* INFO CARD                                     */
/* ───────────────────────────────────────────── */

.se-info-card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #93c5fd;
    border-radius: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: left;
}

.se-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.se-info-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1e40af;
    line-height: 1.5;
    padding-top: 4px;
}

.se-info-text strong {
    color: #1e3a8a;
    font-weight: 800;
}

/* ───────────────────────────────────────────── */
/* BUTTON                                        */
/* ───────────────────────────────────────────── */

.swal2-popup.se-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.se-btn-primary {
    width: 100% !important;
    padding: 15px 20px !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: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
    transition: all 0.25s !important;
    margin: 0 !important;
}

.se-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4) !important;
}

.se-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .se-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .se-wrap {
        padding: 26px 20px 16px;
    }
    
    .se-icon-hero {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .se-title {
        font-size: 18px;
    }
    
    .se-subtitle {
        font-size: 11px;
    }
    
    .swal2-popup.se-popup .swal2-actions {
        padding: 0 20px 20px !important;
    }
    
    .se-btn-primary {
        padding: 13px 16px !important;
        font-size: 13px !important;
    }
}

/* ================================================================ */
/* AUTH ALERT POPUP — PREMIUM STYLE                                  */
/* Untuk semua peringatan di halaman login / register / forgot       */
/* ================================================================ */

.auth-alert-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    width: 92vw !important;
    max-width: 400px !important;
}

.swal2-popup.auth-alert-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.aa-wrap {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* ICON HERO                                     */
/* ───────────────────────────────────────────── */

.aa-icon-hero {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    animation: aaIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Icon variants */
.aa-icon-hero.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

.aa-icon-hero.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.35);
}

.aa-icon-hero.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
}

.aa-icon-hero.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

.aa-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;
}

.aa-icon-hero::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: aaIconRing 2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes aaIconPop {
    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 aaIconRing {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ───────────────────────────────────────────── */
/* TITLE & MESSAGE                               */
/* ───────────────────────────────────────────── */

.aa-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.aa-message {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.6;
    padding: 0 10px;
    margin-bottom: 20px;
}

.aa-message strong {
    color: #1e1b4b;
    font-weight: 800;
}

/* ───────────────────────────────────────────── */
/* HINT BOX (opsional, untuk hint tambahan)      */
/* ───────────────────────────────────────────── */

.aa-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 4px;
}

.aa-hint.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    color: #92400e;
}

.aa-hint.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #991b1b;
}

.aa-hint.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    color: #166534;
}

.aa-hint.info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.aa-hint i {
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.aa-hint.warning i { color: #f59e0b; }
.aa-hint.error i { color: #dc2626; }
.aa-hint.success i { color: #16a34a; }
.aa-hint.info i { color: #3b82f6; }

/* ───────────────────────────────────────────── */
/* BUTTON                                        */
/* ───────────────────────────────────────────── */

.swal2-popup.auth-alert-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.aa-btn {
    width: 100% !important;
    padding: 15px 20px !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s !important;
    margin: 0 !important;
    color: white !important;
}

.aa-btn.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35) !important;
}

.aa-btn.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35) !important;
}

.aa-btn.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35) !important;
}

.aa-btn.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35) !important;
}

.aa-btn.primary {
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%) !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
}

.aa-btn:hover {
    transform: translateY(-2px);
}

.aa-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                    */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .auth-alert-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    
    .aa-wrap {
        padding: 26px 20px 16px;
    }
    
    .aa-icon-hero {
        width: 66px;
        height: 66px;
        font-size: 26px;
    }
    
    .aa-title {
        font-size: 18px;
    }
    
    .aa-message {
        font-size: 12px;
    }
    
    .swal2-popup.auth-alert-popup .swal2-actions {
        padding: 0 20px 20px !important;
    }
    
    .aa-btn {
        padding: 13px 16px !important;
        font-size: 13px !important;
    }
}

/* ================================================================ */
/* HERO EYE BUTTON — Toggle Masking Laba                           */
/* ================================================================ */

.hero-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hero-eye-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}

.hero-eye-btn::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: 50% 50% 50% 50% / 100% 100% 0 0;
    pointer-events: none;
}

.hero-eye-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
}

.hero-eye-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.hero-eye-btn:active {
    transform: scale(0.92);
}

/* Animasi saat toggle */
.hero-eye-btn.toggling i {
    animation: eyeBlink 0.3s ease;
}

@keyframes eyeBlink {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.7); }
}

/* Masked state — text jadi blur/asterisk */
.hero-value.laba-masked {
    letter-spacing: 4px;
    opacity: 0.75;
    user-select: none;
    cursor: pointer;
}

.hero-value.laba-masked::selection {
    background: transparent;
}

/* Responsive */
@media (max-width: 380px) {
    .hero-eye-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .hero-top-actions {
        gap: 6px;
    }
}

/* ================================================================ */
/* HERO VALUE ROW — Nominal Laba + Icon Mata Inline                */
/* ================================================================ */

.hero-value-row {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* Override hero-value default (sebelumnya margin-bottom: 12px) */
.hero-value-row .hero-value {
    margin-bottom: 0;
    flex: 0 1 auto;
    min-width: 0;
}

/* ───────────────────────────────────────────── */
/* ICON MATA INLINE — di samping nominal          */
/* ───────────────────────────────────────────── */

.hero-eye-inline {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    align-self: center;
    margin-top: -4px;  /* ✅ sedikit naik biar sejajar optik */
}

.hero-eye-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 100% 100% 0 0;
    pointer-events: none;
}

.hero-eye-inline i {
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
}

.hero-eye-inline:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-eye-inline:active {
    transform: scale(0.92);
}

/* Animasi blink saat toggle */
.hero-eye-inline.toggling i {
    animation: eyeBlink 0.3s ease;
}

@keyframes eyeBlink {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.7); }
}

/* Masked state — value jadi dot */
.hero-value.laba-masked {
    letter-spacing: 4px;
    opacity: 0.8;
    user-select: none;
    cursor: pointer;
}

.hero-value.laba-masked::selection {
    background: transparent;
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                     */
/* ───────────────────────────────────────────── */

@media (max-width: 480px) {
    .hero-value-row {
        gap: 10px;
    }
    
    .hero-eye-inline {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .hero-value-row {
        gap: 8px;
    }
    
    .hero-eye-inline {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-top: -3px;
    }
}

/* ================================================================ */
/* REMINDER TUTUP KASIR BEDA HARI — Swal Popup                     */
/* ================================================================ */

.swal2-popup.reminder-tutup-popup {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
}

.swal2-popup.reminder-tutup-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.reminder-wrap {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ───────────────────────────────────────────── */
/* ICON HERO                                      */
/* ───────────────────────────────────────────── */

.reminder-icon-hero {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
    animation: reminderIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reminder-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;
}

.reminder-icon-hero::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.4);
    animation: reminderIconRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes reminderIconPop {
    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 reminderIconRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ───────────────────────────────────────────── */
/* TITLE & SUBTITLE                               */
/* ───────────────────────────────────────────── */

.reminder-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.reminder-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* ───────────────────────────────────────────── */
/* INFO CARD                                      */
/* ───────────────────────────────────────────── */

.reminder-info-card {
    width: 100%;
    background: linear-gradient(135deg,
        rgba(254, 243, 199, 0.5) 0%,
        rgba(253, 230, 138, 0.3) 100%);
    border: 1px solid #fcd34d;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reminder-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.4;
    text-align: left;
}

.reminder-info-row i {
    font-size: 12px;
    color: #f59e0b;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.reminder-info-row strong {
    color: #78350f;
    font-weight: 800;
}

/* ───────────────────────────────────────────── */
/* WARNING                                        */
/* ───────────────────────────────────────────── */

.reminder-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #991b1b;
    line-height: 1.5;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 4px;
}

.reminder-warning i {
    font-size: 13px;
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ───────────────────────────────────────────── */
/* BUTTONS                                        */
/* ───────────────────────────────────────────── */

.swal2-popup.reminder-tutup-popup .swal2-actions {
    margin: 0 !important;
    padding: 0 24px 24px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    box-sizing: border-box;
}

.reminder-btn-primary {
    width: 100% !important;
    padding: 15px 20px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35) !important;
    transition: all 0.25s !important;
    margin: 0 !important;
}

.reminder-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.45) !important;
}

.reminder-btn-cancel {
    width: 100% !important;
    padding: 13px 20px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s !important;
    margin: 0 !important;
}

.reminder-btn-cancel:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

/* ================================================================ */
/* BANNER PERSISTENT — Sesi Beda Hari                              */
/* ================================================================ */

.banner-sesi-beda-hari {
    position: sticky;
    top: var(--header-height);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    animation: bannerSlideIn 0.4s ease-out;
}

@keyframes bannerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-sesi-beda-hari:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.banner-sesi-beda-hari:active {
    transform: translateY(0) scale(0.98);
}

.banner-sesi-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.banner-sesi-content {
    flex: 1;
    min-width: 0;
}

.banner-sesi-title {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #92400e;
    line-height: 1.2;
    margin-bottom: 2px;
}

.banner-sesi-desc {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #b45309;
    line-height: 1.3;
}

.banner-sesi-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 10px;
    flex-shrink: 0;
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE                                     */
/* ───────────────────────────────────────────── */

@media (max-width: 380px) {
    .reminder-wrap {
        padding: 26px 20px 16px;
    }
    
    .reminder-icon-hero {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .reminder-title {
        font-size: 18px;
    }
    
    .reminder-subtitle {
        font-size: 11px;
    }
    
    .reminder-info-card {
        padding: 12px 14px;
    }
    
    .reminder-info-row {
        font-size: 10px;
    }
    
    .swal2-popup.reminder-tutup-popup .swal2-actions {
        padding: 0 20px 20px !important;
    }
    
    .reminder-btn-primary {
        padding: 13px 16px !important;
        font-size: 13px !important;
    }
    
    .reminder-btn-cancel {
        padding: 12px 16px !important;
        font-size: 12px !important;
    }
}

.laba-masked {
    letter-spacing: 2px;
    opacity: 0.75;
    user-select: none;
    cursor: default;
}

/* ================================================================ */
/* PREMIUM TOP JENIS TRANSAKSI (LEADERBOARD STYLE)                  */
/* ================================================================ */

.lap-premium-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.lap-premium-item {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(30, 27, 75, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.lap-premium-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Medali / Peringkat */
.lap-premium-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 900;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Medali Emas (Rank 1) */
.lap-premium-rank.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}
/* Medali Perak (Rank 2) */
.lap-premium-rank.silver {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.4);
}
/* Medali Perunggu (Rank 3) */
.lap-premium-rank.bronze {
    background: linear-gradient(135deg, #d97706, #92400e);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
}

/* Ikon Transaksi */
.lap-premium-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Konten (Nama & Bar) */
.lap-premium-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.lap-premium-top {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Membuat nama di kiri, persen di kanan */
    gap: 10px;
}

.lap-premium-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.lap-premium-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.2px;
    line-height: 1.2;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lap-premium-stats {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
}

.lap-premium-count-center {
    display: flex;
    align-items: baseline;
    gap: 3px;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.lap-premium-count {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: #1e1b4b;
    line-height: 1;
}

.lap-premium-count-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1;
    text-transform: lowercase;
}

.lap-premium-persen {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    padding: 4px 8px;
    border-radius: 8px;
    line-height: 1;
    flex-shrink: 0;
}

/* Progress Bar Premium */
.lap-premium-bar-wrap {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.lap-premium-bar-fill {
    height: 100%;
    border-radius: 999px;
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efek Glossy pada Bar */
.lap-premium-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 999px;
    pointer-events: none;
}

/* ==========================================
   RESET PASSWORD SWAL (PREMIUM)
   ========================================== */

.reset-swal-popup {
    border-radius: 24px !important;
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

.reset-swal-wrap {
    padding: 24px 20px 10px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* Icon Utama */
.reset-swal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Teks */
.reset-swal-title {
    font-size: 20px;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.reset-swal-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Kartu Instruksi WhatsApp */
.reset-swal-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.02));
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 14px;
    padding: 14px;
    text-align: left;
    margin-bottom: 16px;
}

.reset-swal-card-icon {
    width: 36px;
    height: 36px;
    background: #25D366;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.reset-swal-card-title {
    font-size: 12px;
    font-weight: 800;
    color: #25D366;
    margin-bottom: 4px;
}

.reset-swal-card-desc {
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.5;
}

.reset-swal-card-desc strong {
    color: #f1f5f9;
}

/* Catatan Kecil */
.reset-swal-note {
    font-size: 10px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.reset-swal-note i {
    color: #d946ef;
}

/* Tombol Konfirmasi */
.reset-swal-btn {
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #7c3aed, #d946ef) !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
    margin: 0 20px 20px !important;
    width: calc(100% - 40px) !important;
    transition: all 0.2s !important;
}

.reset-swal-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.5) !important;
}