/* ==========================================================
   SISTEM PRESENSI & JURNAL PKL - MODERN DESIGN SYSTEM
   Palette: Slate / Deep Indigo / Emerald / Rose / Amber
   Aesthetics: Glassmorphism, Micro-animations, Mobile-First
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-glow: rgba(79, 70, 229, 0.25);
    
    --secondary: #0ea5e9;
    --secondary-hover: #0284c7;
    
    --success: #10b981;
    --success-bg: #ecfdf5;
    --success-border: #a7f3d0;
    --success-glow: rgba(16, 185, 129, 0.25);
    
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-glow: rgba(239, 68, 68, 0.25);
    
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;
    
    /* Neutrals & Dark Mode Ready */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(226, 232, 240, 0.8);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --divider: #f1f5f9;
    
    /* Elevation & Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Navbar Modern */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.brand-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-item a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item a:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

.nav-item a.active {
    color: var(--primary);
    background: #eef2ff;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.12);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--border-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    border: 2px solid #fff;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.user-role-badge {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-nav-logout {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-nav-logout:hover {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: var(--danger-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--danger-glow);
}

/* Layout Container */
.main-content {
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
}

/* Bento Grid Dashboard Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

.bento-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bento-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    padding: 1.5rem;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

/* Glass Card */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--divider);
}

.card-title {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Dashboard Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.primary { background: var(--primary-light); color: var(--primary); }
.stat-icon.success { background: var(--success-bg); color: var(--success); }
.stat-icon.danger  { background: var(--danger-bg); color: var(--danger); }
.stat-icon.warning { background: var(--warning-bg); color: var(--warning); }

.stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Top Welcome & HUD Clock Bar */
.hud-control-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(30, 27, 75, 0.4), 0 0 20px -5px rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.hud-control-bar::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* GPS Radar & Location Indicators */
.radar-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.radar-pulse {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    position: relative;
    color: #818cf8;
}

.radar-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 2px solid #818cf8;
    animation: radarRipple 2s infinite ease-out;
}

@keyframes radarRipple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.gps-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
}

.gps-status-badge.valid {
    background: var(--success);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--success-glow);
}

.gps-status-badge.invalid {
    background: var(--danger);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--danger-glow);
}

.gps-status-badge.loading {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Leaflet Map Styling */
#map {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    z-index: 10;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: #ffffff;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Reusable Password Input with Eye Toggle */
.input-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-password-wrapper .form-control {
    padding-right: 2.85rem;
}

.input-password-wrapper .btn-eye-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.05rem;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.input-password-wrapper .btn-eye-toggle:hover {
    color: var(--primary);
}

/* Camera & Photo Proof Preview */
.camera-container {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.camera-preview {
    max-width: 100%;
    max-height: 240px;
    border-radius: var(--radius-sm);
    display: none;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #4f46e5);
    box-shadow: 0 6px 16px var(--primary-glow);
    color: #ffffff;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--success-glow);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.badge-success {
    background: var(--success-bg);
    color: #065f46;
    border: 1px solid var(--success-border);
}

.badge-danger {
    background: var(--danger-bg);
    color: #991b1b;
    border: 1px solid var(--danger-border);
}

.badge-health-good {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-health-warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.92rem;
    text-align: left;
}

.table th {
    background: #f8fafc;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 1rem;
    border-bottom: 1.5px solid var(--border-color);
    white-space: nowrap;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--divider);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

/* Toasts / Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 300px;
    max-width: 420px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.toast-success { border-left: 5px solid var(--success); }
.toast.toast-danger  { border-left: 5px solid var(--danger); }
.toast.toast-warning { border-left: 5px solid var(--warning); }

/* ==========================================================
   AUTHENTICATION & LOGIN - WORLD CLASS MODERN SAAS DESIGN
   ========================================================== */
.login-page-body {
    background-color: #090d16;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    font-family: var(--font-body);
}

/* Ambient Animated Aurora Mesh Background */
.login-bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: 
        radial-gradient(circle at 12% 18%, rgba(79, 70, 229, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 88% 82%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        #090d16;
}

/* Floating Light Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.65;
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.glow-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #4f46e5 0%, rgba(79, 70, 229, 0) 70%);
    top: -120px;
    left: -100px;
}

.glow-orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #0ea5e9 0%, rgba(14, 165, 233, 0) 70%);
    bottom: -140px;
    right: -100px;
    animation-delay: -4s;
}

.glow-orb-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
    opacity: 0.35;
    animation-duration: 12s;
}

@keyframes orbPulse {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(15px, -15px); }
    100% { transform: scale(0.95) translate(-10px, 10px); }
}

/* Subtle Tech Grid Pattern Overlay */
.login-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}

/* Main Auth Container */
.auth-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
}

/* Hero Information Side */
.auth-hero-panel {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    color: #f8fafc;
}

.auth-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(79, 70, 229, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.auth-hero-badge .radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.auth-hero-title {
    font-family: var(--font-heading);
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.auth-hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-hero-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 520px;
}

/* Feature Showcase Cards */
.auth-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.25rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.auth-feature-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateX(4px);
}

.auth-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(14, 165, 233, 0.25) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auth-feature-text h4 {
    font-size: 0.95rem;
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.auth-feature-text p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

/* Institutional Partnership Tag */
.auth-partnership {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    color: #94a3b8;
}

.auth-partnership-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* Right Side: Auth Card */
.auth-card-panel {
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 2.5rem 2.25rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 40px rgba(79, 70, 229, 0.15);
    color: #0f172a;
    position: relative;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-brand-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.auth-card-header h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
}

.auth-card-header p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Alert Boxes in Card */
.auth-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.auth-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Form Elements with Internal Icons & Eye Toggle */
.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon-left {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.auth-input-wrapper:focus-within .auth-input-icon-left {
    color: #4f46e5;
}

/* Password Input With Eye Toggle */
.auth-input-password {
    padding-right: 3.25rem; /* Room for eye toggle */
}

.auth-password-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.auth-password-toggle:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
}

.auth-password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
}

/* Submit Button */
.auth-btn-submit {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-btn-submit:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.55);
}

.auth-btn-submit:active {
    transform: translateY(0);
}

/* Demo Accounts Quick Chips Section */
.auth-demo-box {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px dashed #e2e8f0;
}

.auth-demo-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.auth-demo-tabs {
    display: flex;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: 12px;
    margin-bottom: 0.85rem;
}

.auth-demo-tab {
    flex: 1;
    padding: 0.45rem 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.auth-demo-tab:hover {
    color: #4f46e5;
}

.auth-demo-tab.active {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-demo-panel {
    display: none;
}

.auth-demo-panel.active {
    display: block;
}

.auth-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.auth-demo-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
}

.auth-demo-chip:hover {
    background: #eef2ff;
    border-color: #a5b4fc;
    color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px -2px rgba(79, 70, 229, 0.15);
}

.auth-demo-chip:active, .auth-demo-chip.active {
    background: #e0e7ff;
    border-color: #6366f1;
    color: #3730a3;
}

.auth-demo-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.auth-demo-chip-info {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.auth-demo-chip-role {
    font-size: 0.68rem;
    color: #94a3b8;
    display: block;
    font-weight: 500;
}

.auth-demo-chip-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.1;
}

.auth-demo-hint {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.76rem;
    color: #64748b;
}

/* Developer Credit Footer */
.auth-footer-credit {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}

.auth-footer-credit b {
    color: #1e293b;
}

.auth-footer-credit .credit-dev {
    color: #4f46e5;
    font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
    .auth-split-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .auth-hero-panel {
        text-align: center;
        align-items: center;
        gap: 1.25rem;
    }
    
    .auth-hero-title {
        font-size: 2.1rem;
    }
    
    .auth-features-list {
        display: none; /* Clean and uncluttered on mobile */
    }
    
    .auth-partnership {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }
    
    .auth-demo-grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy Support Aliases */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.login-card {
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: auto;
}

/* Print Styling for Reports */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .navbar, .btn, .no-print, .radar-box, #map {
        display: none !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .table {
        border: 1px solid #000000 !important;
    }
    .table th, .table td {
        border: 1px solid #000000 !important;
        color: #000000 !important;
    }
    .print-header {
        display: block !important;
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Mobile Responsiveness */
.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .nav-container {
        padding: 0.75rem 1rem;
    }
    .nav-links {
        display: none; /* Can be toggled with hamburger */
    }
    .main-content {
        padding: 1rem 0.75rem;
    }
    .card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }
    .radar-box {
        padding: 1.5rem 1rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Modal Popup Component */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: var(--bg-card);
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

.modal-backdrop.show .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(248, 250, 252, 0.6);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease;
}

.modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(248, 250, 252, 0.6);
}

/* ========================================================
   KOMPONEN CANGGIH & FUTURISTIK (HUD, CAMERA, TELEMETRI)
   ======================================================== */

/* 1. HUD Jam Digital Real-Time */
.hud-clock-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3), 0 0 20px -5px rgba(79, 70, 229, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.hud-clock-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #06b6d4, #10b981);
}

.hud-clock-display {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-family: 'Outfit', monospace, sans-serif;
}

.hud-clock-digits {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f8fafc;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.hud-clock-colon {
    font-size: 2.1rem;
    font-weight: 700;
    color: #38bdf8;
    animation: colonBlink 1s infinite;
}

@keyframes colonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hud-clock-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 2. Live Camera Viewfinder HUD */
/* 2. Live Camera Viewfinder HUD */
.camera-scanner-wrapper {
    background: #020617;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 0 1.25rem 0;
    box-shadow: 0 12px 25px -8px rgba(2, 6, 23, 0.6);
}

.camera-viewport {
    width: 100%;
    height: 250px;
    background: #020617;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Efek Cermin untuk kamera depan selfie */
    display: block;
}

.camera-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.camera-placeholder i {
    font-size: 2.75rem;
    color: #475569;
}

/* Frame Biometrik / Scanner HUD */
.camera-hud-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-face-frame {
    width: 160px;
    height: 190px;
    border: 2px dashed rgba(56, 189, 248, 0.5);
    border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.45);
}

.camera-bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #38bdf8;
    border-style: solid;
}
.camera-bracket.tl { top: -4px; left: -4px; border-width: 3px 0 0 3px; }
.camera-bracket.tr { top: -4px; right: -4px; border-width: 3px 3px 0 0; }
.camera-bracket.bl { bottom: -4px; left: -4px; border-width: 0 0 3px 3px; }
.camera-bracket.br { bottom: -4px; right: -4px; border-width: 0 3px 3px 0; }

/* Animasi Laser Pemindai Biometrik */
.camera-laser {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
    box-shadow: 0 0 10px #38bdf8;
    animation: laserScan 2.5s infinite ease-in-out;
}

@keyframes laserScan {
    0%, 100% { top: 20%; opacity: 0.3; }
    50% { top: 80%; opacity: 1; }
}

.camera-countdown-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.camera-countdown-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: #38bdf8;
    text-shadow: 0 0 25px rgba(56, 189, 248, 0.8);
    animation: countPulse 1s infinite;
}

@keyframes countPulse {
    0% { transform: scale(1.3); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.2; }
}

.camera-toolbar {
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

/* 3. Quick Chips Jurnal Praktik Percetakan */
.quick-chips-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.quick-chips-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.quick-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.quick-chip i {
    color: var(--primary);
    font-size: 0.75rem;
}

.quick-chip:hover {
    background: #eef2ff;
    color: var(--primary);
    border-color: #a5b4fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.18);
}

.quick-chip:active {
    transform: translateY(0) scale(0.97);
}

/* Tombol Presensi Mewah (Tactile Gradient Button) */
.btn-submit-premium {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-premium:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(79, 70, 229, 0.6);
}

.btn-submit-premium:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit-premium:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #94a3b8;
    box-shadow: none;
}

.quick-chip:active {
    transform: translateY(0);
}

/* 4. Telemetri GPS & Bar Akurasi */
.gps-telemetry-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 5. Progress Bar Metrik Kehadiran */
.progress-container {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 6. Lightbox Viewer */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

.lightbox-img-wrapper {
    width: 100%;
    max-height: 380px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================================
   7. MOBILE-FIRST RESPONSIVE DOCK, DRAWER & PWA ENHANCEMENTS
   ======================================================== */

.brand-logo-img {
    height: 38px;
    max-width: 140px;
    object-fit: contain;
}

/* Tombol Toggle Drawer Hamburger Mobile */
.btn-mobile-drawer-toggle {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    margin-left: 0.25rem;
}

.btn-mobile-drawer-toggle:hover {
    background: #f1f5f9;
    color: var(--primary);
}

/* Mobile Slide-Out Drawer Panel */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.show {
    display: block;
    opacity: 1;
}

.mobile-drawer-panel {
    position: fixed;
    top: 0;
    right: -340px;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: linear-gradient(180deg, #0b0f19 0%, #111827 100%);
    color: #f8fafc;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-drawer-panel.show {
    right: 0;
}

.drawer-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
}

.drawer-user-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    overflow: hidden;
}

.drawer-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
}

.drawer-user-meta {
    overflow: hidden;
}

.drawer-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-badges {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.drawer-user-school {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-btn-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.drawer-btn-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.drawer-body {
    padding: 1.25rem;
    flex: 1;
}

.drawer-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 0.65rem;
}

.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.drawer-nav-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.drawer-nav-list a:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #38bdf8;
    transform: translateX(3px);
}

.drawer-nav-list a.active {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.25), rgba(6, 182, 212, 0.15));
    border-color: #6366f1;
    color: #38bdf8;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.drawer-nav-list a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #818cf8;
}

.btn-drawer-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-drawer-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Card PWA Install Banner */
.pwa-install-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    margin-top: 1rem;
}

/* Mobile Bottom Navigation Dock */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1040;
    padding: 0.35rem 0.65rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.dock-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

.dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: #94a3b8;
    text-decoration: none;
    padding: 0.35rem 0.25rem;
    border-radius: var(--radius-md);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.dock-item .dock-icon {
    font-size: 1.25rem;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item .dock-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.dock-item:active {
    transform: scale(0.92);
}

.dock-item.active {
    color: #38bdf8;
}

.dock-item.active .dock-icon {
    transform: translateY(-2px);
    color: #38bdf8;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.dock-item.active .dock-label {
    font-weight: 700;
    color: #f8fafc;
}

.dock-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 16px;
    height: 3px;
    background: #38bdf8;
    border-radius: 9999px;
    box-shadow: 0 0 8px #38bdf8;
}

/* Floating Network Status Toast */
.network-status-badge {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2100;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease;
}

.network-status-badge.online {
    background: #065f46;
    color: #ecfdf5;
    border: 1px solid #34d399;
}

.network-status-badge.offline {
    background: #991b1b;
    color: #fef2f2;
    border: 1px solid #f87171;
}

@keyframes slideDown {
    from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* 8. ATTENDANCE MODE SELECTOR (Hadir / Izin / Sakit) */
.attendance-mode-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.mode-chip {
    flex: 1;
    min-width: 100px;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    user-select: none;
}

.mode-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.mode-chip.active {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.mode-chip.active.mode-izin {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #b45309;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.mode-chip.active.mode-sakit {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* 9. STUDENT STATS GRID (Riwayat Siswa KPI Cards) */
.student-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .student-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .student-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.stat-kpi-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.85);
    padding: 1.15rem 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.stat-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-kpi-val {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-kpi-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 0.15rem;
}

/* 10. MOBILE CARD VIEW UNTUK TABEL RIWAYAT */
.mobile-history-cards {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
}

.history-card-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.85);
    padding: 1.15rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.65rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.history-card-body {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.history-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Breakpoint Responsif Smartphone $\le$ 768px */
@media (max-width: 768px) {
    .btn-mobile-drawer-toggle {
        display: inline-flex;
    }
    
    .mobile-bottom-dock {
        display: block;
    }
    
    body.has-bottom-dock .main-content {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    body.has-bottom-dock .footer {
        margin-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    .table-desktop-view {
        display: none !important;
    }
    
    .mobile-history-cards {
        display: flex;
    }

    .hud-control-bar {
        padding: 1rem 1.15rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .hud-clock-display {
        align-self: flex-start;
    }

    .hud-clock-digits {
        font-size: 1.85rem;
    }

    .hud-clock-colon {
        font-size: 1.7rem;
    }

    .camera-viewport {
        height: 230px;
    }

    .btn-submit-premium {
        font-size: 0.95rem;
        padding: 0.85rem 1.25rem;
    }
}

/* ==========================================================
   8. LUXURY EXECUTIVE SAAS CONTROL CENTER (SUPER ADMIN & GURU)
   ========================================================== */

/* Executive Hero Banner */
.exec-hero-panel {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 45%, #1e1b4b 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 1.6rem 2rem;
    color: #ffffff;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.45), 0 0 30px -5px rgba(99, 102, 241, 0.22);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.exec-hero-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.exec-hero-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(30px);
}

.exec-hero-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.exec-avatar-ring {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(79, 70, 229, 0.5);
    flex-shrink: 0;
}

.exec-meta-title {
    font-size: 1.55rem;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.3px;
}

.exec-meta-subtitle {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.4;
}

.exec-badges-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    flex-wrap: wrap;
}

.exec-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.exec-hero-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.btn-exec-action {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-exec-action:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-exec-action.btn-accent {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-exec-action.btn-accent:hover {
    background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
    color: #ffffff;
}

/* Luxury KPI Cards Grid */
.luxury-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 1100px) {
    .luxury-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .luxury-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.luxury-kpi-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.35rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.luxury-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border-color: rgba(99, 102, 241, 0.3);
}

.luxury-kpi-watermark {
    position: absolute;
    right: 12px;
    bottom: -6px;
    font-size: 4.5rem;
    opacity: 0.05;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.luxury-kpi-card:hover .luxury-kpi-watermark {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.09;
}

.luxury-kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.luxury-kpi-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.luxury-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.luxury-kpi-value {
    font-size: 2.3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.5px;
}

.luxury-kpi-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.luxury-kpi-bar {
    height: 3px;
    width: 100%;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    margin-top: 1rem;
    overflow: hidden;
}

.luxury-kpi-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
}

/* School Bento Cards Grid */
.school-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.school-bento-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.35rem 1.5rem;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.school-bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.07);
    border-color: rgba(99, 102, 241, 0.25);
}

.school-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.school-bento-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.school-bento-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.school-bento-pct {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

/* Luxury Interactive Table */
.luxury-table-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.luxury-table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(248, 250, 252, 0.75);
}

.table-luxury {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
}

.table-luxury th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}

.table-luxury td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
    transition: background 0.15s ease;
}

.table-luxury tbody tr:hover td {
    background: rgba(99, 102, 241, 0.025);
}

.table-luxury tbody tr:last-child td {
    border-bottom: none;
}

/* Student Identity Stack */
.student-id-stack {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.student-avatar-pill {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.student-id-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.2;
}

.student-id-sub {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Status Location Pill */
.status-pill-luxury {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.status-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-pill-valid {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.status-pill-valid .status-dot-pulse {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.status-pill-invalid {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.status-pill-invalid .status-dot-pulse {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.status-pill-izin {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.status-pill-izin .status-dot-pulse {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

.status-pill-sakit {
    background: #fdf2f8;
    color: #9d174d;
    border: 1px solid #fbcfe8;
}
.status-pill-sakit .status-dot-pulse {
    background: #ec4899;
    box-shadow: 0 0 8px #ec4899;
}

/* Map Luxury Frame */
.map-luxury-frame {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.map-luxury-header {
    padding: 1.15rem 1.5rem;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Filter Bar Luxury */
.filter-card-luxury {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}




