@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   MODERN SAAS DESIGN SYSTEM TOKENS (WHITE MINIMALIST, PREMIUM, ENTERPRISE)
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --primary-border: #BFDBFE;
    --primary-text: #1E40AF;

    --success: #16A34A;
    --success-light: #F0FDF4;
    --success-border: #BBF7D0;
    --success-text: #15803D;

    --warning: #F59E0B;
    --warning-light: #FFFBEB;
    --warning-border: #FDE68A;
    --warning-text: #B45309;

    --danger: #DC2626;
    --danger-light: #FEF2F2;
    --danger-border: #FECACA;
    --danger-text: #B91C1C;

    --info: #0284C7;
    --info-light: #F0F9FF;
    --info-border: #BAE6FD;
    --info-text: #0369A1;

    /* Clean White Minimal Surface Tokens */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-input: #FFFFFF;
    --bg-sidebar: #FFFFFF;
    --bg-subtle: #F1F5F9;

    /* Text Tokens */
    --text-main: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Borders & Dividers */
    --border-color: #E2E8F0;
    --border-subtle: #F1F5F9;

    /* Shadows (Subtle, Clean SaaS Depth) */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 9999px;

    /* Transition */
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Optional Dark Theme Variables (Preserved cleanly) */
[data-bs-theme="dark"],
[data-theme="dark"] {
    --bg-body: #090D16;
    --bg-card: #111827;
    --bg-surface: #111827;
    --bg-input: #0F172A;
    --bg-sidebar: #111827;
    --bg-subtle: #1E293B;

    --text-main: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-light: #64748B;

    --border-color: #1E293B;
    --border-subtle: #1E293B;

    --primary-light: rgba(37, 99, 235, 0.15);
    --primary-border: rgba(37, 99, 235, 0.3);
    --primary-text: #60A5FA;

    --success-light: rgba(22, 163, 74, 0.15);
    --success-border: rgba(22, 163, 74, 0.3);
    --success-text: #4ADE80;

    --warning-light: rgba(245, 158, 11, 0.15);
    --warning-border: rgba(245, 158, 11, 0.3);
    --warning-text: #FCD34D;

    --danger-light: rgba(220, 38, 38, 0.15);
    --danger-border: rgba(220, 38, 38, 0.3);
    --danger-text: #F87171;

    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==========================================================================
   LAYOUT STRUCTURE (MODERN SAAS SHELL)
   ========================================================================== */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

canvas {
    max-width: 100% !important;
}

/* Sidebar */
.app-sidebar {
    width: 270px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
    min-height: 72px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    font-weight: 700;
}

.sidebar-brand-img,
.kiosk-brand-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background-color: #FFFFFF;
    padding: 2px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.sidebar-brand-text-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-brand-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
    line-height: 1.3;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.sidebar-brand-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

.sidebar-toggle-inline {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.sidebar-toggle-inline:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-border);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: visible;
    padding: 16px 12px;
    scrollbar-width: thin;
}

.sidebar-heading {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    padding: 12px 10px 6px;
    margin-top: 6px;
    transition: var(--transition);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 2px;
    text-decoration: none;
    position: relative;
}

.sidebar-link i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-link:hover {
    color: var(--text-main);
    background-color: var(--bg-subtle);
}

.sidebar-link:hover i {
    color: var(--text-main);
}

.sidebar-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
    font-weight: 600;
}

.sidebar-link.active i {
    color: var(--primary);
}

.sidebar-link-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tooltip (Hidden in expanded state) */
.sidebar-tooltip {
    display: none;
}

.sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    transition: var(--transition);
}

/* Main Workspace */
.app-main {
    flex: 1;
    margin-left: 270px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    min-width: 0;
    width: calc(100% - 270px);
    max-width: 100%;
    background-color: var(--bg-body);
    transition: margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top Navbar */
.app-navbar {
    height: 64px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-pill);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.navbar-user-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-main);
}

.navbar-user-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.btn-theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-theme-toggle:hover {
    background-color: var(--bg-subtle);
    color: var(--text-main);
    border-color: var(--border-color);
}

/* App Page Content */
.app-content {
    flex: 1;
    padding: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Footer */
.app-footer {
    padding: 16px 28px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CARDS & PANELS (CLEAN WHITE MINIMAL WITH HOVER EFFECTS)
   ========================================================================== */
.card-modern {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -4px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    border-color: #CBD5E1;
}

[data-bs-theme="dark"] .card-modern:hover,
[data-theme="dark"] .card-modern:hover {
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.6);
    border-color: #334155;
}

.card-header-modern {
    padding: 18px 22px;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title-modern {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-body-modern {
    padding: 22px;
    color: var(--text-main);
}

/* Stat Cards (Modern SaaS Metrics with Interactive Hover) */
.stat-card {
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease;
    cursor: default;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    border-color: #93C5FD;
}

[data-bs-theme="dark"] .stat-card:hover,
[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.7);
    border-color: #3B82F6;
}

.stat-card .stat-icon {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.08);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

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

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

/* ==========================================================================
   BUTTONS (CLEAN SAAS STYLE)
   ========================================================================== */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.84rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1.4;
    text-decoration: none;
}

.btn-modern-primary {
    background-color: var(--primary);
    color: #FFFFFF !important;
    border-color: var(--primary);
}

.btn-modern-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #FFFFFF !important;
}

.btn-modern-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main) !important;
    border-color: var(--border-color);
}

.btn-modern-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: #CBD5E1;
    color: var(--text-main) !important;
}

.btn-modern-danger {
    background-color: var(--danger);
    color: #FFFFFF !important;
    border-color: var(--danger);
}

.btn-modern-danger:hover {
    background-color: #B91C1C;
    border-color: #B91C1C;
    color: #FFFFFF !important;
}

/* ==========================================================================
   FORM INPUTS & LABELS
   ========================================================================== */
.form-label-modern {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.form-control-modern, .form-select-modern {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    padding: 9px 13px !important;
    font-size: 0.86rem !important;
    color: var(--text-main) !important;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.form-control-modern:focus, .form-select-modern:focus {
    background-color: var(--bg-input) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    outline: none;
    color: var(--text-main) !important;
}

.form-control-modern::placeholder {
    color: var(--text-light);
}

.input-group-text {
    background-color: var(--bg-subtle);
    border-color: var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Modals */
.modal-content {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 14px 20px;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Dropdown */
.dropdown-menu {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
}

.dropdown-item {
    font-size: 0.84rem;
    color: var(--text-main);
    padding: 7px 12px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--bg-subtle);
    color: var(--text-main);
}

.dropdown-header {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 6px 12px;
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 4px 0;
}

/* ==========================================================================
   TABLES & DATATABLES (CLEAN MINIMALIST SAAS)
   ========================================================================== */
.table-modern {
    width: 100% !important;
    border-collapse: collapse;
    color: var(--text-main) !important;
}

.table-modern thead th {
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
}

.table-modern tbody td {
    padding: 12px 16px;
    font-size: 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    background-color: transparent;
}

.table-modern tbody tr:hover td {
    background-color: var(--bg-subtle);
}

/* Clean Pill Badges */
.badge-soft-primary {
    background-color: var(--primary-light);
    color: var(--primary-text);
    border: 1px solid var(--primary-border);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
}

.badge-soft-success {
    background-color: var(--success-light);
    color: var(--success-text);
    border: 1px solid var(--success-border);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
}

.badge-soft-warning {
    background-color: var(--warning-light);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
}

.badge-soft-danger {
    background-color: var(--danger-light);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
}

.badge-soft-secondary {
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
}

/* DataTables UI */
div.dataTables_wrapper div.dataTables_filter input {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    font-size: 0.84rem;
    margin-left: 8px;
    background-color: var(--bg-input);
    color: var(--text-main);
}

div.dataTables_wrapper div.dataTables_length select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    font-size: 0.84rem;
    background-color: var(--bg-input);
    color: var(--text-main);
}

div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
    color: var(--text-muted) !important;
    padding-top: 12px;
    font-size: 0.82rem;
}

.page-item .page-link {
    background-color: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    margin: 0 2px;
    font-size: 0.82rem;
    padding: 5px 10px;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Select2 SaaS Polish */
.select2-container--bootstrap-5 .select2-selection {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    min-height: 38px !important;
    color: var(--text-main) !important;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    color: var(--text-main) !important;
    font-size: 0.86rem !important;
}

.select2-dropdown {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--text-main) !important;
}

.select2-container--bootstrap-5 .select2-search__field {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xs) !important;
    color: var(--text-main) !important;
    font-size: 0.85rem !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
}

/* SweetAlert2 Toast & Popup Polish */
.swal2-popup.swal2-toast {
    background-color: var(--bg-surface) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 12px 16px !important;
}

.swal2-popup.swal2-toast .swal2-title,
.app-swal2-toast-title {
    color: var(--text-main) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.swal2-popup:not(.swal2-toast) {
    background-color: var(--bg-surface) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
}

.swal2-popup:not(.swal2-toast) .swal2-title {
    color: var(--text-main) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

.swal2-popup:not(.swal2-toast) .swal2-html-container {
    color: var(--text-muted) !important;
    font-size: 0.88rem !important;
}

/* ==========================================================================
   AUTHENTICATION PAGE (CLEAN WHITE SAAS LOGIN)
   ========================================================================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8FAFC;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease;
}

.auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.auth-brand-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-card:hover .auth-brand-badge {
    transform: scale(1.06);
}

/* ==========================================================================
   SCAN KIOSK PAGE (MODERN ENTERPRISE SCANNER)
   ========================================================================== */
.kiosk-wrapper {
    min-height: 100vh;
    background-color: #F8FAFC;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.kiosk-header {
    height: 72px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
}

.kiosk-clock-display {
    font-family: 'Inter', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.kiosk-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease;
}

.kiosk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.09);
    border-color: #93C5FD;
}

.kiosk-rfid-input {
    background-color: #F8FAFC !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    text-align: center;
    border-radius: var(--radius-md) !important;
    letter-spacing: 3px;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* ==========================================================================
   MOBILE APP SHELL, PWA & WEBVIEW NATIVE EXPERIENCE (< 768px)
   ========================================================================== */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1045;
    transition: opacity 0.2s ease;
}

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
        width: 280px;
        max-width: 85vw;
        z-index: 1050;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    }

    .app-sidebar.show {
        transform: translateX(0);
    }

    .sidebar-backdrop.show {
        display: block;
    }

    .app-main {
        margin-left: 0 !important;
    }

    .app-navbar {
        padding: 0 16px;
        height: 56px;
        position: sticky;
        top: 0;
        z-index: 1030;
        padding-top: env(safe-area-inset-top);
    }
}

@media (max-width: 767.98px) {
    /* Mobile App Shell Content Spacing (Safe Area Bottom + 90px) */
    .app-content {
        padding: 14px 12px calc(90px + env(safe-area-inset-bottom)) 12px !important;
    }

    /* Mobile Typography */
    h1, .h1 { font-size: 1.35rem !important; }
    h2, .h2 { font-size: 1.2rem !important; }
    h3, .h3 { font-size: 1.15rem !important; }
    h4, .h4 { font-size: 1.05rem !important; }
    h5, .h5 { font-size: 0.95rem !important; }
    h6, .h6 { font-size: 0.85rem !important; }

    /* Page Header Stack */
    .d-flex.justify-content-between.align-items-md-center.mb-4,
    .d-flex.justify-content-between.align-items-center.mb-4 {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    /* Mobile Action Buttons Bar */
    .d-flex.gap-2,
    .d-flex.flex-wrap.gap-2 {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .d-flex.gap-2 .btn,
    .d-flex.flex-wrap.gap-2 .btn {
        flex: 1 1 auto;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 0.85rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        user-select: none;
    }

    .d-flex.gap-2 .btn:active,
    .d-flex.flex-wrap.gap-2 .btn:active {
        transform: scale(0.97);
    }

    /* Mobile Cards */
    .card-modern,
    .mobile-card {
        background-color: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        margin-bottom: 14px;
        box-shadow: var(--shadow-xs);
    }

    .card-header-modern {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-bottom: 1px solid #E2E8F0;
    }

    .card-body-modern {
        padding: 14px;
    }

    /* Stat Cards in Mobile Grid (2x2 Grid) */
    .stat-card {
        padding: 12px 14px;
        margin-bottom: 0px;
        border-radius: 14px;
        border: 1px solid #E2E8F0;
    }

    .stat-number {
        font-size: 1.35rem !important;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .stat-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        border-radius: var(--radius-xs) !important;
    }

    /* Mobile DataTables Polish */
    div.dataTables_wrapper {
        width: 100%;
    }

    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter {
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    div.dataTables_wrapper div.dataTables_filter label {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        font-size: 0.82rem;
        font-weight: 500;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 4px !important;
        min-height: 44px !important;
        padding: 10px 14px !important;
        font-size: 0.875rem !important;
        border-radius: 12px !important;
        border: 1px solid #E2E8F0 !important;
    }

    div.dataTables_wrapper div.dataTables_info {
        text-align: center !important;
        font-size: 0.78rem;
        padding-top: 8px !important;
    }

    div.dataTables_wrapper div.dataTables_paginate {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        padding-top: 8px !important;
    }

    .table-responsive {
        width: 100%;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        margin-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        background-color: #FFFFFF;
    }

    .table th, .table td {
        padding: 10px 12px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    /* Form Controls on Mobile (Touch Friendly 44-48px) */
    .form-control, .form-select {
        min-height: 46px;
        font-size: 0.9rem;
        border-radius: 12px;
        border: 1px solid #E2E8F0;
        padding: 10px 14px;
    }

    .form-label-modern {
        font-size: 0.82rem;
        font-weight: 600;
        margin-bottom: 6px;
    }

    /* Mobile Modals (Bottom Sheet Animation) */
    .modal.fade .modal-dialog {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        max-width: 100% !important;
        transform: translateY(100%);
        transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .modal-content {
        border-radius: 20px 20px 0 0 !important;
        max-height: 88dvh;
        overflow-y: auto;
        border: 1px solid var(--border-color);
        border-bottom: none;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .modal-header, .modal-body, .modal-footer {
        padding: 14px 16px;
    }

    /* Auth & Scanner on Mobile */
    .auth-wrapper {
        min-height: 100dvh;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 18px;
        width: 100%;
        max-width: 100%;
    }

    .kiosk-header {
        height: auto;
        padding: 12px 14px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .kiosk-hero-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .kiosk-clock-display {
        font-size: 1.35rem;
    }
}

/* ==========================================================================
   KIOSK & RFID SCANNER MODERN REDESIGN SUITE
   ========================================================================== */
.kiosk-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    background: radial-gradient(circle at top, #EFF6FF 0%, #F8FAFC 60%, #F1F5F9 100%);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

[data-bs-theme="dark"] .kiosk-wrapper,
[data-theme="dark"] .kiosk-wrapper {
    background: radial-gradient(circle at top, #0F172A 0%, #090D16 70%, #020617 100%);
}

.kiosk-header {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-xs);
}

[data-bs-theme="dark"] .kiosk-header,
[data-theme="dark"] .kiosk-header {
    background-color: rgba(17, 24, 39, 0.94);
}

.kiosk-clock-display {
    font-family: 'Inter', system-ui, monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.04em;
    line-height: 1;
}

.kiosk-date-display {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Big Centered Clock & Date Above Scan Area */
.kiosk-clock-main {
    font-family: 'Inter', system-ui, -apple-system, monospace;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 2px;
}

.kiosk-date-main {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: -0.01em;
}

@media (max-width: 767.98px) {
    .kiosk-clock-main {
        font-size: 2.1rem;
    }
    .kiosk-date-main {
        font-size: 0.85rem;
    }
}

/* Marquee Announcement Bar */
.kiosk-marquee-bar {
    background: linear-gradient(90deg, #EFF6FF 0%, #F0FDF4 50%, #EFF6FF 100%);
    border-bottom: 1px solid #BFDBFE;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: #1E40AF;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
}

[data-bs-theme="dark"] .kiosk-marquee-bar,
[data-theme="dark"] .kiosk-marquee-bar {
    background: linear-gradient(90deg, #1E293B 0%, #0F172A 100%);
    border-bottom-color: #334155;
    color: #93C5FD;
}

.kiosk-marquee-text {
    display: inline-block;
    animation: kioskMarquee 24s linear infinite;
}

@keyframes kioskMarquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Kiosk Main Card */
.kiosk-hero-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

/* Radar & Pulse Animation Box */
.kiosk-radar-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiosk-radar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: rfidWave 2.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.kiosk-radar-ring:nth-child(2) {
    animation-delay: 0.9s;
}

.kiosk-radar-ring:nth-child(3) {
    animation-delay: 1.8s;
}

.kiosk-radar-center {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    z-index: 2;
    animation: rfidPulse 2.8s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.kiosk-radar-center:hover {
    transform: scale(1.06);
}

@keyframes rfidWave {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes rfidPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 32px 10px rgba(37, 99, 235, 0.3);
    }
}

/* Status Indicator Pill */
.kiosk-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    background-color: var(--success-light);
    border: 1px solid var(--success-border);
    color: var(--success-text);
    margin-bottom: 16px;
    transition: var(--transition);
}

.kiosk-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* RFID Scan Input Styling */
.kiosk-input-wrapper {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.kiosk-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.kiosk-input-field {
    width: 100%;
    height: 50px;
    padding-left: 48px;
    padding-right: 16px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-color);
    background-color: var(--bg-input);
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    transition: var(--transition);
}

.kiosk-input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.kiosk-input-field:focus + .kiosk-input-icon {
    color: var(--primary);
}

/* Recent Attendance List Card */
.kiosk-recent-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recent-attendance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    margin-bottom: 8px;
    transition: var(--transition);
    animation: recentSlideIn 0.35s ease-out;
}

.recent-attendance-item:hover {
    transform: translateX(4px);
    background-color: #FFFFFF;
    border-color: var(--border-color);
    box-shadow: var(--shadow-xs);
}

[data-bs-theme="dark"] .recent-attendance-item:hover {
    background-color: #1E293B;
}

@keyframes recentSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recent-item-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    object-fit: cover;
    border: 1px solid var(--border-color);
    background-color: #FFFFFF;
    flex-shrink: 0;
}

/* Scan Result Modal Styling */
.modal-scan-profile {
    border-radius: 24px !important;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.modal-scan-header-banner {
    padding: 24px 20px 16px;
    text-align: center;
    position: relative;
    color: #FFFFFF;
}

.modal-scan-header-banner.success {
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
}

.modal-scan-header-banner.warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.modal-scan-header-banner.danger {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.modal-scan-header-banner.pulang {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

.scan-profile-photo-wrapper {
    width: 110px;
    height: 110px;
    margin: -55px auto 14px;
    border-radius: 50%;
    padding: 4px;
    background-color: var(--bg-card);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.scan-profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background-color: #FFFFFF;
}

.scan-status-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
    margin: 10px 0;
}

.scan-status-hero.hadir {
    background-color: #F0FDF4;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

.scan-status-hero.terlambat {
    background-color: #FFFBEB;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.scan-status-hero.pulang {
    background-color: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
}

.scan-status-hero.danger {
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* Modal Auto-dismiss Progress Bar */
.modal-countdown-bar {
    height: 4px;
    background-color: var(--primary);
    width: 100%;
    transform-origin: left;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (ANDROID / IOS NATIVE FEEL)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.05);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    min-height: 44px;
    min-width: 44px;
    color: #64748B;
    font-size: 0.68rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    padding: 2px 0;
    gap: 2px;
    user-select: none;
    -webkit-user-select: none;
}

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

.mobile-nav-icon {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

.mobile-nav-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: var(--primary);
}

.mobile-nav-item.active {
    color: #2563EB;
    font-weight: 700;
}

.mobile-nav-item.active .mobile-nav-icon {
    transform: scale(1.1);
    color: #2563EB;
}

/* Dark Mode Support for Mobile PWA */
[data-bs-theme="dark"] .mobile-bottom-nav,
[data-theme="dark"] .mobile-bottom-nav {
    background-color: rgba(30, 41, 59, 0.97);
    border-top-color: #334155;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .mobile-nav-item,
[data-theme="dark"] .mobile-nav-item {
    color: #94A3B8;
}

[data-bs-theme="dark"] .mobile-nav-item.active,
[data-theme="dark"] .mobile-nav-item.active {
    color: #3B82F6;
}

[data-bs-theme="dark"] .mobile-card,
[data-theme="dark"] .card-modern,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .table-responsive {
    background-color: #1E293B;
    border-color: #334155;
}

[data-bs-theme="dark"] .card-header-modern {
    border-bottom-color: #334155;
}

/* PWA Install Banner */
.pwa-install-banner {
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    animation: fadeInDown 0.3s ease-out;
}

.pwa-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .pwa-install-banner,
[data-theme="dark"] .pwa-install-banner {
    background-color: #1E293B;
    border-color: #3B82F6;
}

[data-bs-theme="dark"] .pwa-install-banner .text-dark,
[data-theme="dark"] .pwa-install-banner .text-dark {
    color: #F8FAFC !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
