/* 
========================================================================
   BOOTSTRAP 5 ADMIN TEMPLATE - FLARE ADMIN
   DESIGN SYSTEM & CUSTOM STYLESHEET
   Developed with premium UI/UX standards

   Template Name: Flare Admin
   Version: 1.0 
   Author: Flare Admin Team 
   URL: https://flareadmin.web.id
========================================================================
*/

/* ---------------------------------------------------------------------
   TABLE OF CONTENTS
   ---------------------------------------------------------------------
   1. Google Fonts CDN Import (Plus Jakarta Sans)
   2. Design System Variables
   3. Base Overrides & Typography
   4. Sidebar Component (.sidebar-wrapper)
   5. Main Wrapper Layout
   6. Custom Header / Navbar Component
   7. Page Title & Controls Row
   8. Cards & Styling Components
   9. Custom List (Transaction List Table replacement)
   10. Custom Progress & Bar Chart Custom Layouts
   11. Right Panel Component & Layout
   12. Responsive Adjustments
   13. Login Page Styles (.login-wrapper)
   14. Flatpickr Theme Customization (Flare Admin Styles)
   15. Dropdown Component Styles (Reusable)
   16. Footer Component Styles
   17. Navbar Profile Dropdown Styles
   18. Reusable Premium Table Component
   19. Custom Premium Form Elements Design System
   20. Reusable Custom Buttons & Alerts Design System
   21. Error 404 Page Styling Layout
   22. Keyframe Animations & Overlays
   23. Reusable Helper & Utility Classes (Zero Inline Style Policy)
   24. Transaction List Component
--------------------------------------------------------------------- */

/* ---------------------------------------------------------------------
   1. Google Fonts CDN Import (Plus Jakarta Sans)
--------------------------------------------------------------------- */

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

/* ---------------------------------------------------------------------
   2. Design System Variables (FLARE THEME)
--------------------------------------------------------------------- */
:root {
    /* Base Colors */
    --bs-body-bg: #F9F9F9;
    --bs-body-font-family: 'Plus Jakarta Sans', sans-serif;
    
    /* Core Brand Colors */
    --brand-text: #1C1C1E;
    --brand-surface: #FFFFFF;
    --brand-surface-soft: #F5F4F2;
    --brand-text-soft: #333333;
    --brand-text-muted: #6B7280;
    --brand-border: #E5E5E5;
    
    /* Flare Orange Accents */
    --flare-500: #F97316;
    --flare-600: #EA580C;
    --flare-700: #C2410C;
    --flare-amber: #F59E0B;
    --flare-ember: #DC2626;
    --flare-translucent: rgba(249, 115, 22, 0.15);
    
    /* System Colors */
    --sys-green: #10B981;
    --sys-green-bg: #D1FAE5;
    --sys-red: #DC2626;
    --sys-red-bg: #FEE2E2;
    --sys-orange: #F97316;
    --sys-orange-bg: #FFEDD5;
    
    /* Layout Configurations */
    --sidebar-width: 280px;
    --navbar-height: 80px;
    
    /* Border Radii */
    --radius-xxl: 24px;
    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------------------------------
   3. Base Overrides & Typography
--------------------------------------------------------------------- */
body {
    background-color: var(--bs-body-bg);
    color: var(--brand-text);
    font-family: var(--bs-body-font-family);
    font-size: 0.925rem;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--brand-text);
    font-weight: 700;
    letter-spacing: -0.025em;
}

a {
    color: var(--brand-text);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
a:hover {
    color: var(--flare-500);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ---------------------------------------------------------------------
   4. Sidebar Component (.sidebar-wrapper)
--------------------------------------------------------------------- */
.sidebar-wrapper {
    width: var(--sidebar-width);
    background-color: var(--brand-text);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
    padding-left: 0.5rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.sidebar-brand:hover { color: #FFFFFF; }

.sidebar-brand i {
    color: var(--flare-500);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.sidebar-brand:hover i {
    transform: scale(1.1) rotate(90deg);
    color: var(--flare-600);
}

.sidebar-menu-section { margin-bottom: 1.75rem; }

.sidebar-menu-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
    padding-left: 0.75rem;
    margin-bottom: 0.75rem;
}

.sidebar-menu-list { list-style: none; padding: 0; margin: 0; }
.sidebar-menu-item { margin-bottom: 0.35rem; }

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.sidebar-menu-link i { font-size: 1.15rem; transition: color 0.2s ease; }

.sidebar-menu-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-menu-link.active {
    color: #FFFFFF;
    background-color: rgba(249, 115, 22, 0.1);
    font-weight: 600;
}

.sidebar-menu-link.active::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 15%;
    height: 70%;
    width: 4px;
    background-color: var(--flare-500);
    border-radius: 0 4px 4px 0;
}

.sidebar-menu-link.active i { color: var(--flare-500); }

.sidebar-menu-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--flare-500);
    color: #FFFFFF;
    padding: 0.15rem 0.5rem;
    border-radius: 50rem;
}

.sidebar-submenu { list-style: none; padding-left: 2.5rem; margin: 0.25rem 0 0.5rem 0; }
.sidebar-submenu-link { display: block; padding: 0.45rem 0; color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.sidebar-submenu-link:hover { color: #FFFFFF; }

.sidebar-profile {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.85rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.sidebar-profile-img { width: 42px; height: 42px; border-radius: var(--radius-lg); object-fit: cover; background-color: var(--brand-surface-soft); }
.sidebar-profile-info { flex-grow: 1; min-width: 0; }
.sidebar-profile-name { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-profile-email { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Minimized Sidebar Adjustments */
body.sidebar-minimized { --sidebar-width: 80px; }
body.sidebar-minimized .sidebar-wrapper { padding: 2rem 0.75rem; align-items: center; }
body.sidebar-minimized .sidebar-brand span,
body.sidebar-minimized .sidebar-menu-title,
body.sidebar-minimized .sidebar-menu-link span,
body.sidebar-minimized .sidebar-menu-badge,
body.sidebar-minimized .dropdown-caret,
body.sidebar-minimized .sidebar-submenu,
body.sidebar-minimized .sidebar-profile-info { display: none !important; }
body.sidebar-minimized .sidebar-brand { padding-left: 0; justify-content: center; width: 100%; }
body.sidebar-minimized .sidebar-menu-link { justify-content: center; padding: 0.75rem; }
body.sidebar-minimized .sidebar-menu-link.active::before { left: -0.75rem; }
body.sidebar-minimized .sidebar-menu-link i { font-size: 1.35rem; }
body.sidebar-minimized .sidebar-profile { padding: 0.5rem; justify-content: center; border: none; background-color: transparent; }

/* ---------------------------------------------------------------------
   5. Main Wrapper Layout
--------------------------------------------------------------------- */
.main-wrapper {
    margin-left: var(--sidebar-width);
    padding: 2rem 2.5rem;
    min-height: 100vh;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------------------------
   6. Custom Header / Navbar Component
--------------------------------------------------------------------- */
.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(249, 249, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: -2rem -2.5rem 2rem -2.5rem;
    padding: 1.25rem 2.5rem;
    border-bottom: 1px solid var(--brand-border);
    display: grid !important;
    grid-template-columns: 1fr 480px 1fr !important;
    align-items: center;
    gap: 1.5rem;
}

.navbar-left { display: flex; align-items: center; gap: 0.75rem; }

.btn-quick-action {
    background-color: var(--brand-text);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.5rem 1.15rem;
    font-size: 0.825rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.btn-quick-action:hover {
    background-color: var(--flare-500);
    color: #FFFFFF;
    box-shadow: 0 4px 12px var(--flare-translucent);
}

.btn-quick-action:focus { outline: none; }
.btn-quick-action.dropdown-toggle::after { display: none !important; }
.btn-quick-action i { font-size: 0.85rem; transition: transform 0.25s ease; }
.btn-quick-action:hover i { transform: rotate(90deg); }

.dropdown-menu-quick-action {
    background-color: #FFFFFF !important;
    border: 1px solid var(--brand-border) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    animation: dropdownFadeIn 0.2s ease;
}

.dropdown-menu-quick-action .dropdown-header {
    font-size: 0.725rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-text-muted);
    padding: 0.5rem 1.25rem 0.25rem;
}

.dropdown-menu-quick-action .dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-text);
    padding: 0.55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu-quick-action .dropdown-item i { font-size: 0.95rem; color: var(--brand-text-muted); transition: color 0.2s; }
.dropdown-menu-quick-action .dropdown-item:hover { background-color: var(--bs-body-bg); color: var(--flare-500); }
.dropdown-menu-quick-action .dropdown-item:hover i { color: var(--flare-500); }
.dropdown-menu-quick-action .dropdown-divider { border-color: var(--brand-border); margin: 0.4rem 0; }

.navbar-search-wrapper { width: 480px; max-width: 100%; position: relative; margin: 0 auto; }

.navbar-search-input {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 50rem;
    padding: 0.65rem 1.25rem;
    padding-right: 2.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-text);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease-in-out;
}

.navbar-search-input:focus {
    border-color: var(--flare-500);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.navbar-search-btn {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--brand-text-muted);
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }

.navbar-action-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    background-color: #FFFFFF;
    border: 1px solid var(--brand-border);
    color: var(--brand-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.navbar-action-btn:hover { background-color: var(--brand-surface-soft); color: var(--flare-500); }

.navbar-action-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 11px;
    height: 11px;
    background-color: var(--flare-500);
    border-radius: 50rem;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
    animation: statusPulse 2s infinite;
}

.navbar-actions .dropdown-toggle::after { display: none !important; }

.dropdown-menu-notification {
    width: 320px;
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--brand-border) !important;
    box-shadow: var(--shadow-lg) !important;
    margin-top: 0.5rem !important;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn { from { opacity: 0; } to { opacity: 1; } }

.notification-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--brand-border); }
.notification-title { font-size: 0.9rem; font-weight: 700; color: var(--brand-text); margin: 0; }
.btn-clear-all { background: none; border: none; padding: 0; font-size: 0.75rem; font-weight: 700; color: var(--brand-text-muted); transition: color 0.2s; outline: none; }
.btn-clear-all:hover { color: var(--flare-500); }
.notification-list { max-height: 260px; overflow-y: auto; }
.notification-item { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--brand-border); transition: background-color 0.2s ease; text-decoration: none; }
.notification-item:hover { background-color: var(--bs-body-bg); }
.notification-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.notification-content { flex-grow: 1; min-width: 0; }
.notification-text { font-size: 0.8rem; color: var(--brand-text); margin-bottom: 0.15rem; line-height: 1.35; }
.notification-time { font-size: 0.725rem; color: var(--brand-text-muted); }
.notification-unread-dot { width: 6px; height: 6px; border-radius: 50rem; background-color: var(--flare-500); flex-shrink: 0; margin-top: 0.35rem; }
.notification-footer { display: block; text-align: center; padding: 0.85rem; font-size: 0.8rem; font-weight: 700; color: var(--flare-500); text-decoration: none; transition: all 0.25s ease-in-out; }
.notification-footer:hover { color: var(--flare-600); }

.sidebar-toggle-btn { display: none; width: 42px; height: 42px; border-radius: var(--radius-lg); background-color: #FFFFFF; border: 1px solid var(--brand-border); color: var(--brand-text); align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-sm); cursor: pointer; }
.btn-desktop-toggle { width: 42px; height: 42px; border-radius: var(--radius-lg); background-color: #FFFFFF; border: 1px solid var(--brand-border); color: var(--brand-text); cursor: pointer; box-shadow: var(--shadow-sm); transition: all 0.25s ease; }
.btn-desktop-toggle:hover { background-color: var(--brand-surface-soft); color: var(--flare-500); }

/* ---------------------------------------------------------------------
   7. Page Title & Controls Row
--------------------------------------------------------------------- */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1.5rem; }
.page-title { font-size: 1.75rem; margin-bottom: 0.25rem; }
.page-subtitle { font-size: 0.875rem; color: var(--brand-text-muted); margin-bottom: 0; }
.btn-date-picker { background-color: #FFFFFF; border: 1px solid var(--brand-border); border-radius: 50rem; padding: 0.55rem 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--brand-text); display: flex; align-items: center; gap: 0.75rem; box-shadow: var(--shadow-sm); }
.btn-date-picker:hover { background-color: var(--brand-surface-soft); }

/* ---------------------------------------------------------------------
   8. Cards & Styling Components
--------------------------------------------------------------------- */
.card { background-color: var(--brand-surface); border: none; border-radius: var(--radius-xxl); padding: 1.75rem; box-shadow: var(--shadow-md); margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; background: transparent !important; border: none !important; padding: 0 !important; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--brand-text); margin-bottom: 0; }
.card-more-btn { background: none; border: none; color: var(--brand-text-muted); font-size: 1.15rem; padding: 0; display: flex; align-items: center; }
.card-stat { height: 100%; }
.stat-label { font-size: 0.875rem; color: var(--brand-text-muted); margin-bottom: 0.75rem; font-weight: 500; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--brand-text); margin-bottom: 0.75rem; line-height: 1.1; letter-spacing: -0.03em; }
.trend-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.785rem; font-weight: 600; }
.trend-up { color: var(--flare-500); background-color: rgba(249, 115, 22, 0.1); padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); }
.trend-down { color: var(--flare-ember); background-color: rgba(220, 38, 38, 0.1); padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); }

/* Alert Orange Card */
.alert-green-card {
    background-color: var(--flare-500);
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 165px;
    position: relative;
    overflow: hidden;
}

.alert-green-bg-shape { position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px; opacity: 0.2; pointer-events: none; z-index: 1; transform: rotate(15deg); transition: transform 0.4s ease-in-out; }
.alert-green-card:hover .alert-green-bg-shape { transform: rotate(45deg) scale(1.05); }
.alert-green-card .stat-value { color: #FFFFFF; }
.alert-green-badge { display: inline-flex; align-items: center; gap: 0.35rem; background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 50rem; margin-bottom: 1.25rem; }
.alert-green-badge::before { content: ''; display: inline-block; width: 6px; height: 6px; background-color: #FFFFFF; border-radius: 50rem; animation: redPulse 2s infinite; }
@keyframes redPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); } 70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.alert-green-date { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 0.35rem; }
.alert-green-text { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.alert-green-link { color: #FFFFFF; font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.25rem; margin-top: auto; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.alert-green-link:hover { color: var(--brand-text); }
.alert-green-link i { transition: transform 0.25s ease; }
.alert-green-link:hover i { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   9. Custom List (Transaction List Table replacement)
--------------------------------------------------------------------- */
.custom-list { display: flex; flex-direction: column; gap: 0.85rem; }
.custom-list-item { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem; background-color: #FFFFFF; border-radius: var(--radius-xl); transition: background-color 0.2s ease-in-out; }
.custom-list-item:hover { background-color: var(--bs-body-bg); }
.item-left { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.item-icon-wrapper { width: 44px; height: 44px; border-radius: 50rem; background-color: var(--bs-body-bg); color: var(--brand-text); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.item-info { min-width: 0; }
.item-name { font-size: 0.875rem; font-weight: 700; color: var(--brand-text); margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-sub { font-size: 0.75rem; color: var(--brand-text-muted); margin-bottom: 0; }
.item-status-wrapper { text-align: right; flex-shrink: 0; }
.item-status { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.15rem; }
.item-status.completed { color: var(--flare-500); }
.item-status.pending { color: var(--brand-text-muted); opacity: 0.8; }
.item-hash { font-size: 0.75rem; font-family: monospace; color: var(--brand-text-muted); opacity: 0.7; margin-bottom: 0; }

/* ---------------------------------------------------------------------
   10. Custom Progress & Bar Chart Custom Layouts
--------------------------------------------------------------------- */
.progress-container { margin-bottom: 1.25rem; }
.progress-label-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.progress-label { color: var(--brand-text); }
.progress-value { color: var(--brand-text-muted); }
.progress { height: 10px !important; background-color: var(--bs-body-bg) !important; border-radius: 50rem !important; overflow: hidden !important; }
.progress-bar { height: 100% !important; border-radius: 50rem !important; transition: width 0.6s ease !important; }
.bg-forest-medium, .bg-lime-accent { background-color: var(--flare-500); }
.bg-brand-orange { background-color: var(--flare-amber); }

/* ---------------------------------------------------------------------
   11. Right Panel Component & Layout
--------------------------------------------------------------------- */
.right-panel-wrapper { height: auto; }
.chart-legends-container { display: flex; align-items: center; justify-content: space-between; background-color: var(--bs-body-bg); padding: 0.75rem; border-radius: var(--radius-lg); margin-top: 1.5rem; gap: 0.5rem; }
.chart-legend-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 700; }
.legend-dot { width: 8px; height: 8px; border-radius: 50rem; display: inline-block; }

.promo-banner-card { background-color: var(--flare-500); border-radius: var(--radius-xxl); padding: 1.75rem; position: relative; overflow: hidden; display: flex; flex-direction: column; margin-bottom: 1.5rem; min-height: 250px; }
.promo-banner-bg-shape { position: absolute; bottom: -15px; right: -15px; width: 140px; height: 140px; opacity: 0.2; pointer-events: none; }
.promo-title { font-size: 1.5rem; font-weight: 800; line-height: 1.25; color: #FFFFFF; margin-bottom: 0.75rem; max-width: 80%; z-index: 2; }
.promo-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); line-height: 1.4; margin-bottom: auto; max-width: 80%; z-index: 2; }
.btn-promo { background-color: var(--brand-text); color: #FFFFFF; font-weight: 700; font-size: 0.85rem; padding: 0.75rem 1.25rem; border-radius: 50rem; text-align: center; border: none; width: 100%; margin-top: 1.5rem; z-index: 2; transition: all 0.25s ease; }
.btn-promo:hover { background-color: var(--flare-600); color: #FFFFFF; }

/* ---------------------------------------------------------------------
   12. Responsive Adjustments
--------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .sidebar-wrapper { transform: translateX(-100%); }
    .sidebar-wrapper.show { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .main-wrapper { margin-left: 0; padding: 1.5rem 1.5rem; }
    .sidebar-toggle-btn { display: flex; }
    .navbar-search-wrapper { order: 3; max-width: 100%; width: 100%; margin-top: 0.5rem; }
    .navbar-custom { display: flex !important; margin: -1.5rem -1.5rem 1.5rem -1.5rem; padding: 1rem 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
}

@media (max-width: 768px) {
    .page-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .btn-date-picker { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------
   14. Flatpickr Theme Customization (Flare Admin Styles)
--------------------------------------------------------------------- */
.flatpickr-calendar { background: #FFFFFF !important; border: 1px solid var(--brand-border) !important; border-radius: 20px !important; box-shadow: var(--shadow-lg) !important; font-family: 'Plus Jakarta Sans', sans-serif !important; width: 324px !important; padding: 16px 14px 10px 14px !important; }
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after { border-bottom-color: #FFFFFF !important; }
.flatpickr-months { position: relative !important; height: 40px !important; align-items: center !important; }
.flatpickr-month { height: 40px !important; color: var(--brand-text) !important; }
.flatpickr-current-month { font-size: 1.05rem !important; font-weight: 700 !important; color: var(--brand-text) !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.25rem !important; height: 40px !important; }
.flatpickr-current-month select.flatpickr-monthDropdown-months { font-weight: 700 !important; color: var(--brand-text) !important; background: transparent !important; border: none !important; border-radius: var(--radius-md) !important; padding: 4px 8px !important; font-size: 1.05rem !important; cursor: pointer !important; appearance: none !important; -webkit-appearance: none !important; }
.flatpickr-current-month select.flatpickr-monthDropdown-months:hover { background: var(--bs-body-bg) !important; }
.flatpickr-current-month input.cur-year { font-weight: 700 !important; color: var(--brand-text) !important; font-size: 1.05rem !important; padding: 4px 6px !important; border-radius: var(--radius-md) !important; width: 55px !important; cursor: pointer !important; }
.flatpickr-current-month input.cur-year:hover { background: var(--bs-body-bg) !important; }
.numInputWrapper span { display: none !important; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { display: flex !important; align-items: center !important; justify-content: center !important; width: 32px !important; height: 32px !important; border-radius: 50rem !important; top: 50% !important; transform: translateY(-50%) !important; background: transparent !important; transition: all 0.2s ease !important; color: var(--brand-text) !important; fill: var(--brand-text) !important; }
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { background-color: var(--bs-body-bg) !important; }
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg { width: 12px !important; height: 12px !important; }
.flatpickr-weekdays { height: 30px !important; margin-top: 10px !important; margin-bottom: 6px !important; }
span.flatpickr-weekday { font-weight: 700 !important; color: var(--brand-text-muted) !important; font-size: 0.8rem !important; opacity: 0.85; }
.flatpickr-innerContainer { margin-top: 6px !important; }
.flatpickr-days { width: 294px !important; }
.dayContainer { width: 294px !important; min-width: 294px !important; max-width: 294px !important; gap: 2px 0px !important; }
.flatpickr-day { font-weight: 600 !important; color: var(--brand-text) !important; border-radius: 50rem !important; height: 38px !important; line-height: 38px !important; max-width: 38px !important; font-size: 0.85rem !important; transition: all 0.15s ease !important; border: none !important; margin: 0 auto !important; }
.flatpickr-day:hover, .flatpickr-day:focus { background-color: var(--bs-body-bg) !important; color: var(--flare-500) !important; border-radius: 50rem !important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background-color: var(--flare-500) !important; color: #FFFFFF !important; box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25) !important; }
.flatpickr-day.startRange { border-radius: 50rem 0 0 50rem !important; }
.flatpickr-day.endRange { border-radius: 0 50rem 50rem 0 !important; }
.flatpickr-day.startRange.endRange { border-radius: 50rem !important; }
.flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange { background-color: rgba(249, 115, 22, 0.1) !important; color: var(--flare-700) !important; border-radius: 0 !important; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #CBD5E1 !important; background: transparent !important; }

/* ---------------------------------------------------------------------
   15. Dropdown Component Styles (Reusable)
--------------------------------------------------------------------- */
.dropdown-menu-custom { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.05) !important; border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-lg) !important; padding: 8px 6px !important; min-width: 170px !important; margin-top: 6px !important; transition: all 0.2s ease !important; z-index: 1050 !important; }
.dropdown-menu-custom .dropdown-item { font-family: 'Plus Jakarta Sans', sans-serif !important; font-size: 0.85rem !important; font-weight: 600 !important; color: var(--brand-text-muted) !important; padding: 8px 12px !important; border-radius: var(--radius-md) !important; display: flex !important; align-items: center !important; gap: 8px !important; transition: all 0.15s ease !important; }
.dropdown-menu-custom .dropdown-item i { font-size: 1rem !important; }
.dropdown-menu-custom .dropdown-item:hover, .dropdown-menu-custom .dropdown-item:focus { background-color: var(--bs-body-bg) !important; color: var(--brand-text) !important; }
.dropdown-menu-custom .dropdown-item.text-danger:hover { background-color: var(--sys-red-bg) !important; color: var(--sys-red) !important; }
.dropdown-menu-custom .dropdown-divider { border-top: 1px solid var(--brand-border) !important; margin: 6px 0 !important; opacity: 1 !important; }

/* Custom ApexCharts Hover Overrides for Flare Orange (#F97316) */
.apexcharts-bar-area[fill="#F97316"]:hover, .apexcharts-bar-area[fill="#f97316"]:hover, .apexcharts-pie-area[fill="#F97316"]:hover, .apexcharts-pie-area[fill="#f97316"]:hover { fill: var(--flare-600) !important; }

/* ---------------------------------------------------------------------
   16. Footer Component Styles
--------------------------------------------------------------------- */
.footer-custom { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(0, 0, 0, 0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; font-size: 0.85rem; color: var(--brand-text-muted); transition: all 0.3s ease; }
.footer-left { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.footer-logo { font-weight: 700; color: var(--brand-text); display: flex; align-items: center; gap: 0.35rem; }
.footer-logo i { color: var(--flare-500); font-size: 0.95rem; display: inline-block; animation: rotateLogo 12s linear infinite; }
@keyframes rotateLogo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.footer-separator { color: var(--brand-border); opacity: 0.6; user-select: none; }
.footer-copy { display: flex; align-items: center; gap: 0.35rem; }
.footer-heart { color: var(--flare-500); font-size: 0.75rem; display: inline-block; animation: heartBeat 1.5s ease infinite; }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.footer-right { display: flex; align-items: center; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 1.5rem; }
.footer-link { color: var(--brand-text-muted); font-weight: 600; transition: color 0.25s ease-in-out; text-decoration: none; }
.footer-link:hover { color: var(--flare-500); text-decoration: none; }
.footer-link .status-dot { display: inline-block; width: 6px; height: 6px; background-color: var(--flare-500); border-radius: 50%; margin-left: 0.35rem; vertical-align: middle; box-shadow: 0 0 6px var(--flare-500); animation: statusPulse 2s infinite; }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(249, 115, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); } }

@media (max-width: 768px) {
    .footer-custom { flex-direction: column; align-items: center; text-align: center; margin-top: 1.5rem; gap: 1rem; }
    .footer-left { flex-direction: column; gap: 0.5rem; align-items: center; }
    .footer-separator { display: none; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}

/* ---------------------------------------------------------------------
   13. Login Page Styles (.login-wrapper)
--------------------------------------------------------------------- */
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--bs-body-bg); padding: 1.5rem; position: relative; overflow: hidden; }
.login-bg-shape { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, var(--flare-translucent) 0%, rgba(249, 115, 22, 0) 70%); border-radius: 50%; pointer-events: none; z-index: 0; }
.login-bg-shape-1 { top: -50px; left: -50px; }
.login-bg-shape-2 { bottom: -100px; right: -50px; width: 400px; height: 400px; }
.login-card { background-color: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--radius-xxl); padding: 2.5rem; width: 100%; max-width: 450px; box-shadow: var(--shadow-lg); z-index: 1; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.login-card:hover { transform: translateY(-2px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12); }
.login-brand { display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 800; color: var(--brand-text); margin-bottom: 1.5rem; text-decoration: none; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.login-brand i { color: var(--flare-500); font-size: 1.75rem; animation: rotateLogo 15s linear infinite; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.login-brand:hover, .login-brand:hover i { color: var(--flare-600); }
.login-title { font-size: 1.5rem; font-weight: 800; color: var(--brand-text); text-align: center; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.login-subtitle { font-size: 0.875rem; color: var(--brand-text-muted); text-align: center; margin-bottom: 2rem; }
.login-form-group { margin-bottom: 1.25rem; position: relative; }
.login-form-label { font-size: 0.8rem; font-weight: 700; color: var(--brand-text); margin-bottom: 0.5rem; display: block; }
.login-input-group { position: relative; display: flex; align-items: center; }
.login-input-group i.input-icon { position: absolute; left: 1.25rem; color: var(--brand-text-muted); font-size: 1.1rem; pointer-events: none; transition: color 0.25s ease; }
.login-input { width: 100%; background-color: var(--bs-body-bg); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 0.8rem 1.25rem 0.8rem 2.85rem; font-size: 0.9rem; font-weight: 600; color: var(--brand-text); outline: none; transition: all 0.25s ease-in-out; }
.login-input-password { padding-right: 2.85rem; }
.login-input:focus { background-color: #FFFFFF; border-color: var(--flare-500); box-shadow: 0 0 0 4px var(--flare-translucent); }
.login-input:focus + i.input-icon { color: var(--flare-500); }
.password-toggle-btn { position: absolute; right: 1.25rem; background: none; border: none; color: var(--brand-text-muted); cursor: pointer; padding: 0; display: flex; align-items: center; font-size: 1.1rem; transition: color 0.2s; }
.password-toggle-btn:hover { color: var(--flare-500); }
.login-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; font-size: 0.825rem; }
.custom-control-label { cursor: pointer; font-weight: 600; color: var(--brand-text-muted); display: flex; align-items: center; gap: 0.5rem; user-select: none; }
.custom-checkbox-input { width: 18px; height: 18px; border-radius: var(--radius-sm); border: 2px solid var(--brand-text-muted); appearance: none; outline: none; cursor: pointer; position: relative; transition: all 0.2s ease; background-color: transparent; }
.custom-checkbox-input:checked { background-color: var(--flare-500); border-color: var(--flare-500); }
.custom-checkbox-input:checked::before { content: "\f272"; font-family: "bootstrap-icons"; font-weight: 900; font-size: 0.7rem; color: #FFFFFF; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.forgot-password-link { color: var(--flare-500); font-weight: 600; text-decoration: none; }
.forgot-password-link:hover { color: var(--flare-600); text-decoration: underline; }
.btn-login { background-color: var(--flare-500); color: #FFFFFF; border: none; border-radius: var(--radius-lg); padding: 0.85rem; font-weight: 700; font-size: 0.95rem; width: 100%; box-shadow: var(--shadow-sm); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-login:hover { background-color: var(--flare-600); color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 4px 12px var(--flare-translucent); }
.btn-login i { font-size: 1rem; transition: transform 0.25s ease; }
.btn-login:hover i { transform: translateX(3px); }
.login-divider { display: flex; align-items: center; text-align: center; color: var(--brand-text-muted); margin: 1.75rem 0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--brand-border); }
.login-divider:not(:empty)::before { margin-right: .75rem; }
.login-divider:not(:empty)::after { margin-left: .75rem; }
.social-login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.75rem; }
.btn-social { background-color: #FFFFFF; border: 1px solid var(--brand-border); color: var(--brand-text); border-radius: var(--radius-lg); padding: 0.7rem; font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.btn-social:hover { background-color: var(--bs-body-bg); border-color: var(--flare-500); }
.btn-social i { font-size: 1.1rem; }
.login-footer-text { text-align: center; font-size: 0.85rem; color: var(--brand-text-muted); font-weight: 600; margin-bottom: 0; }
.login-footer-text a { color: var(--flare-500); font-weight: 700; }
.login-footer-text a:hover { color: var(--flare-600); text-decoration: underline; }

/* ---------------------------------------------------------------------
   17. Navbar Profile Dropdown Styles
--------------------------------------------------------------------- */
.navbar-profile-btn { background: transparent; border: none; padding: 0.25rem 0; display: flex; align-items: center; gap: 0.65rem; border-radius: var(--radius-lg); transition: all 0.2s ease-in-out; cursor: pointer; }
.navbar-profile-btn:hover { background-color: var(--bs-body-bg); }
.navbar-profile-btn:focus { outline: none; }
.navbar-profile-btn.dropdown-toggle::after { display: none !important; }
.navbar-profile-img { width: 38px; height: 38px; border-radius: var(--radius-lg); object-fit: cover; transition: border-color 0.2s; }
.navbar-profile-btn:hover .navbar-profile-img { border-color: var(--flare-500); }
.navbar-profile-name { font-size: 0.875rem; font-weight: 700; color: var(--brand-text); transition: color 0.2s; }
.navbar-profile-btn:hover .navbar-profile-name { color: var(--flare-500); }
.navbar-profile-caret { font-size: 0.75rem; color: var(--brand-text-muted); transition: transform 0.2s, color 0.2s; }
.navbar-profile-btn:hover .navbar-profile-caret { color: var(--flare-500); }
.navbar-profile-btn[aria-expanded="true"] .navbar-profile-caret { transform: rotate(180deg); }
.dropdown-menu-profile { width: 200px; background-color: #FFFFFF !important; border: 1px solid var(--brand-border) !important; border-radius: var(--radius-xl) !important; box-shadow: var(--shadow-lg) !important; padding: 0.5rem 0 !important; margin-top: 0.5rem !important; animation: dropdownFadeIn 0.2s ease; }
.dropdown-menu-profile .dropdown-header { font-size: 0.725rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-text-muted); padding: 0.65rem 1.25rem 0.35rem; }
.dropdown-menu-profile .dropdown-item { font-size: 0.85rem; font-weight: 600; color: var(--brand-text); padding: 0.65rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; transition: all 0.2s ease-in-out; }
.dropdown-menu-profile .dropdown-item i { font-size: 1.05rem; color: var(--brand-text-muted); transition: color 0.2s; }
.dropdown-menu-profile .dropdown-item:hover { background-color: var(--bs-body-bg); color: var(--flare-500); }
.dropdown-menu-profile .dropdown-item:hover i { color: var(--flare-500); }
.dropdown-menu-profile .dropdown-divider { border-color: var(--brand-border); margin: 0.4rem 0; }

/* ---------------------------------------------------------------------
   18. Reusable Premium Table Component
--------------------------------------------------------------------- */
.table-card-custom { background-color: #FFFFFF; border-radius: var(--radius-xl); border: 1px solid rgba(0, 0, 0, 0.06) !important; box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 1.25rem !important; width: 100%; }
.table-custom { width: 100%; margin-bottom: 0; vertical-align: middle; border-collapse: collapse; }
.table-custom th, .table-custom td { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(0, 0, 0, 0.05); white-space: nowrap; }
.table-custom th { background-color: #F8FAF9; color: var(--brand-text-muted); font-size: 0.75rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.table-custom tbody tr { transition: background-color 0.2s ease-in-out; }
.table-custom tbody tr:hover { background-color: rgba(249, 115, 22, 0.03); }
.table-custom tbody tr:last-child td { border-bottom: none; }
.table-user-cell { display: flex; align-items: center; gap: 0.75rem; }
.table-user-avatar { width: 38px; height: 38px; border-radius: var(--radius-lg); object-fit: cover; background-color: var(--brand-surface-soft); }
.table-user-name { font-weight: 700; color: var(--brand-text); font-size: 0.875rem; }
.table-user-sub { font-size: 0.75rem; color: var(--brand-text-muted); }
.badge-table { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.65rem; font-size: 0.75rem; font-weight: 700; border-radius: 50rem; }
.badge-table::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50rem; }
.badge-table.success { background-color: rgba(249, 115, 22, 0.1); color: var(--flare-500); }
.badge-table.success::before { background-color: var(--flare-500); }
.badge-table.pending { background-color: rgba(245, 158, 11, 0.1); color: var(--flare-amber); }
.badge-table.pending::before { background-color: var(--flare-amber); }
.badge-table.failed { background-color: rgba(220, 38, 38, 0.1); color: var(--sys-red); }
.badge-table.failed::before { background-color: var(--sys-red); }
.table-header-control { background-color: #FFFFFF; padding: 1.25rem; border-bottom: 1px solid rgba(0, 0, 0, 0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.table-search-box { position: relative; max-width: 320px; flex-grow: 1; }
.table-search-input { width: 100%; padding: 0.5rem 1rem 0.5rem 2.25rem; font-size: 0.85rem; border-radius: var(--radius-lg); border: 1px solid rgba(0, 0, 0, 0.1); background-color: #FDFDFD; transition: all 0.2s ease-in-out; }
.table-search-input:focus { outline: none; border-color: var(--flare-500); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08); }
.table-search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--brand-text-muted); font-size: 0.85rem; }
.table-filter-group { display: flex; align-items: center; gap: 0.75rem; }
.btn-table-action { background-color: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.1); color: var(--brand-text); font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--radius-lg); display: inline-flex; align-items: center; gap: 0.35rem; transition: all 0.2s ease-in-out; }
.btn-table-action:hover { background-color: #F8FAF9; border-color: var(--flare-500); }
.table-btn-action { width: 32px; height: 32px; border-radius: var(--radius-md); border: 1px solid rgba(0, 0, 0, 0.08); background-color: #FFFFFF; color: var(--brand-text); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all 0.2s ease-in-out; text-decoration: none; }
.table-btn-action:hover { background-color: var(--flare-500); color: #FFFFFF; border-color: var(--flare-500); }
.table-btn-action.delete:hover { background-color: var(--sys-red); color: #FFFFFF; border-color: var(--sys-red); }
.table-footer-control { background-color: #FFFFFF; padding: 1.25rem; border-top: 1px solid rgba(0, 0, 0, 0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.table-pagination-info { font-size: 0.85rem; color: var(--brand-text-muted); }
.table-order-id { font-weight: 700; color: var(--brand-text); }
.table-product-name { font-weight: 600; color: var(--brand-text); }
.table-amount { font-weight: 700; color: var(--brand-text); }
.table-footer-control .pagination .page-link { border-radius: var(--radius-md); color: var(--brand-text); background-color: transparent; transition: all 0.25s ease-in-out; }
.table-footer-control .pagination .page-link:hover { background-color: #F8FAF9; color: var(--flare-500); }
.table-footer-control .pagination .page-item.active .page-link { background-color: var(--flare-500) !important; color: #FFFFFF !important; }
.table-footer-control .pagination .page-item.disabled .page-link { opacity: 0.5; color: var(--brand-text-muted); pointer-events: none; }

/* ---------------------------------------------------------------------
   19. Custom Premium Form Elements Design System
--------------------------------------------------------------------- */
.form-label-custom { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--brand-text); margin-bottom: 0.5rem; }
.form-control-custom { display: block; width: 100%; padding: 0.6rem 1rem; font-size: 0.875rem; font-weight: 500; line-height: 1.5; color: var(--brand-text); background-color: #FFFFFF; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: var(--radius-lg); transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.form-control-custom:focus { color: var(--brand-text); background-color: #FFFFFF; border-color: var(--flare-500); outline: 0; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08); }
.form-control-custom::placeholder { color: var(--brand-text-muted); opacity: 0.5; }
.form-control-custom:disabled, .form-control-custom[readonly] { background-color: #F8FAF9; border-color: rgba(0, 0, 0, 0.06); color: var(--brand-text-muted); opacity: 0.8; cursor: not-allowed; }
.form-control-custom-sm { padding: 0.35rem 0.75rem; font-size: 0.75rem; border-radius: var(--radius-md); }
.form-control-custom-lg { padding: 0.75rem 1.25rem; font-size: 1rem; border-radius: var(--radius-xl); }
.form-select-custom { display: block; width: 100%; padding: 0.6rem 2.25rem 0.6rem 1rem; font-size: 0.875rem; font-weight: 500; line-height: 1.5; color: var(--brand-text); background-color: #FFFFFF; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231C1C1E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 10px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: var(--radius-lg); transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; appearance: none; }
.form-select-custom:focus { border-color: var(--flare-500); outline: 0; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08); }
.form-select-custom:disabled { background-color: #F8FAF9; border-color: rgba(0, 0, 0, 0.06); color: var(--brand-text-muted); opacity: 0.8; cursor: not-allowed; }
.form-check-custom { display: flex; align-items: center; gap: 0.5rem; min-height: 1.5rem; margin-bottom: 0.5rem; }
.form-check-input-custom { appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 18px; height: 18px; margin-top: 0; vertical-align: top; background-color: #FFFFFF; background-repeat: no-repeat; background-position: center; background-size: contain; border: 1px solid rgba(0, 0, 0, 0.15); transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; cursor: pointer; }
.form-check-input-custom[type="checkbox"] { border-radius: var(--radius-md); }
.form-check-input-custom[type="radio"] { border-radius: 50rem; }
.form-check-input-custom:focus { outline: 0; border-color: var(--flare-500); box-shadow: 0 0 0 3px var(--flare-translucent); }
.form-check-input-custom:checked { background-color: var(--flare-500); border-color: var(--flare-500); }
.form-check-input-custom[type="checkbox"]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }
.form-check-input-custom[type="radio"]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='3.5' fill='%23FFFFFF'/%3e%3c/svg%3e"); }
.form-check-input-custom:disabled { background-color: #F8FAF9; border-color: rgba(0, 0, 0, 0.06); opacity: 0.8; cursor: not-allowed; }
.form-switch-custom { display: flex; align-items: center; gap: 0.65rem; min-height: 1.5rem; margin-bottom: 0.5rem; }
.form-switch-input-custom { width: 38px; height: 20px; border-radius: 50rem; background-color: rgba(0, 0, 0, 0.1); position: relative; border: 1px solid rgba(0, 0, 0, 0.08); transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; appearance: none; outline: none; }
.form-switch-input-custom::before { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50rem; left: 1px; top: 1px; background-color: #FFFFFF; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.form-switch-input-custom:checked { background-color: var(--flare-500); border-color: var(--flare-500); }
.form-switch-input-custom:checked::before { transform: translateX(18px); }
.form-switch-input-custom:focus { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08); }
.form-switch-input-custom:disabled { background-color: #F8FAF9; border-color: rgba(0, 0, 0, 0.06); opacity: 0.8; cursor: not-allowed; }
.input-group-custom { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; border-radius: var(--radius-lg); border: 1px solid rgba(0, 0, 0, 0.12); background-color: #FFFFFF; overflow: hidden; transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.input-group-custom:focus-within { border-color: var(--flare-500); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08); }
.input-group-text-custom { display: flex; align-items: center; padding: 0.375rem 0.85rem; font-size: 0.875rem; font-weight: 500; line-height: 1.5; color: var(--brand-text-muted); text-align: center; white-space: nowrap; background-color: #F8FAF9; }
.input-group-custom .form-control-custom { border: none !important; border-radius: 0 !important; flex: 1 1 auto; width: 1%; min-width: 0; padding-left: 0.75rem; }
.input-group-custom .form-control-custom:focus { box-shadow: none !important; }
.form-control-custom.is-invalid-custom { border-color: var(--sys-red) !important; }
.form-control-custom.is-invalid-custom:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important; }
.form-control-custom.is-valid-custom { border-color: var(--sys-green) !important; }
.form-control-custom.is-valid-custom:focus { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08) !important; }
.form-feedback-custom { display: block; width: 100%; margin-top: 0.35rem; font-size: 0.75rem; font-weight: 700; }
.form-feedback-custom.invalid-custom { color: var(--sys-red); }
.form-feedback-custom.valid-custom { color: var(--sys-green); }

/* ---------------------------------------------------------------------
   20. Reusable Custom Buttons & Alerts Design System
--------------------------------------------------------------------- */
.btn-custom { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; padding: 0.6rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid transparent; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; text-decoration: none; line-height: 1.5; }
.btn-custom:active { transform: scale(0.97); }
.btn-custom:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15); }
.btn-custom-sm { padding: 0.35rem 0.75rem; font-size: 0.75rem; border-radius: var(--radius-md); }
.btn-custom-lg { padding: 0.75rem 1.75rem; font-size: 1rem; border-radius: var(--radius-xl); }
.btn-custom-primary { background-color: var(--flare-500); border-color: var(--flare-500); color: #FFFFFF; }
.btn-custom-primary:hover { background-color: var(--flare-600); border-color: var(--flare-600); color: #FFFFFF; }
.btn-custom-secondary { background-color: var(--brand-text); border-color: var(--brand-text); color: #FFFFFF; }
.btn-custom-secondary:hover { background-color: #000000; border-color: #000000; color: #FFFFFF; }
.btn-custom-light { background-color: #F8FAF9; border-color: rgba(0, 0, 0, 0.08); color: var(--brand-text); }
.btn-custom-light:hover { background-color: #EEF2F0; border-color: rgba(0, 0, 0, 0.12); color: var(--brand-text); }
.btn-custom-danger { background-color: var(--sys-red); border-color: var(--sys-red); color: #FFFFFF; }
.btn-custom-danger:hover { background-color: #b91c1c; border-color: #b91c1c; color: #FFFFFF; }
.btn-custom-warning { background-color: var(--flare-amber); border-color: var(--flare-amber); color: #FFFFFF; }
.btn-custom-warning:hover { background-color: #d97706; border-color: #d97706; color: #FFFFFF; }
.btn-custom-outline-primary { background-color: transparent; border-color: var(--flare-500); color: var(--flare-500); }
.btn-custom-outline-primary:hover { background-color: var(--flare-500); color: #FFFFFF; }
.btn-custom-outline-secondary { background-color: transparent; border-color: var(--brand-text); color: var(--brand-text); }
.btn-custom-outline-secondary:hover { background-color: var(--brand-text); border-color: var(--brand-text); color: #FFFFFF; }
.btn-custom-outline-danger { background-color: transparent; border-color: var(--sys-red); color: var(--sys-red); }
.btn-custom-outline-danger:hover { background-color: var(--sys-red); color: #FFFFFF; }
.alert-custom { padding: 1rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid transparent; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; position: relative; font-size: 0.875rem; font-weight: 500; }
.alert-custom-icon { font-size: 1.15rem; flex-shrink: 0; }
.alert-custom-content { flex-grow: 1; }
.alert-custom-close { background: none; border: none; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem; border-radius: var(--radius-md); transition: all 0.2s ease; opacity: 0.5; }
.alert-custom-close:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.05); }
.alert-custom-primary { background-color: rgba(249, 115, 22, 0.05); border-color: rgba(249, 115, 22, 0.1); color: var(--flare-700); }
.alert-custom-success { background-color: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-custom-danger { background-color: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-custom-warning { background-color: #fffbeb; border-color: #fef3c7; color: #92400e; }
.alert-custom-info { background-color: rgba(249, 115, 22, 0.05); border-color: rgba(249, 115, 22, 0.1); color: var(--flare-700); }

/* ---------------------------------------------------------------------
   21. Error 404 Page Styling Layout
--------------------------------------------------------------------- */
.error-card-custom { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 2rem; min-height: 480px; background-color: #FFFFFF; border-radius: var(--radius-xl); border: 1px solid rgba(0, 0, 0, 0.06) !important; box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.error-title-huge { font-size: 7.5rem; font-weight: 800; line-height: 1; color: var(--brand-text); margin-bottom: 1.5rem; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.15em; font-family: 'Plus Jakarta Sans', sans-serif; }
.error-title-huge .bi-asterisk { font-size: 5.5rem; color: var(--flare-500); display: inline-block; animation: asteriskSpin 20s infinite linear; }
.error-subtitle { font-size: 1.75rem; font-weight: 700; color: var(--brand-text); margin-bottom: 1rem; }
.error-desc { max-width: 480px; font-size: 0.95rem; color: var(--brand-text-muted); margin-bottom: 2.25rem; line-height: 1.6; }
.error-actions-group { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
@keyframes asteriskSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   23. Reusable Helper & Utility Classes (Zero Inline Style Policy)
--------------------------------------------------------------------- */
.z-index-2 { z-index: 2 !important; }
.sparkline-card-footer { margin-left: -1.75rem; margin-right: -1.75rem; margin-bottom: -1.75rem; margin-top: 1.25rem; overflow: hidden; border-bottom-left-radius: var(--radius-xxl); border-bottom-right-radius: var(--radius-xxl); }
.chart-legend-label { font-size: 0.75rem; font-weight: 600; color: var(--brand-text-muted); }
.stat-value-amount { font-size: 1.6rem; font-weight: 800; color: var(--brand-text); }
.fs-xs { font-size: 0.75rem !important; }
.w-38 { width: 38% !important; }
.w-45 { width: 45% !important; }
.w-50 { width: 50% !important; }
.w-65 { width: 65% !important; }
.w-75 { width: 75% !important; }
.w-85 { width: 85% !important; }
.empty-state-icon { font-size: 3.5rem; opacity: 0.25; }
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); z-index: 1025; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.sidebar-overlay.show { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------
   24. Transaction List Component
--------------------------------------------------------------------- */
.transaction-list { display: flex; flex-direction: column; gap: 0.75rem; }
.transaction-item { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1rem; background-color: var(--bs-body-bg); border-radius: var(--radius-lg); transition: all 0.2s ease-in-out; }
.transaction-item:hover { background-color: rgba(249, 115, 22, 0.04); }
.transaction-icon { width: 44px; height: 44px; border-radius: 50rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; margin-right: 0.85rem; }
.transaction-info { flex-grow: 1; min-width: 0; }
.transaction-name { font-size: 0.875rem; font-weight: 700; color: var(--brand-text); margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transaction-date { font-size: 0.75rem; color: var(--brand-text-muted); margin-bottom: 0; }
.transaction-amount { font-size: 0.875rem; font-weight: 700; text-align: right; flex-shrink: 0; margin-left: 0.85rem; }
.bg-forest-light { background-color: rgba(249, 115, 22, 0.1) !important; color: var(--flare-500) !important; }
.text-lime { color: var(--flare-500) !important; }