/*
========================================================================
   BOOTSTRAP 5 ADMIN TEMPLATE - SPARK ADMIN
   DESIGN SYSTEM & CUSTOM STYLESHEET
   Developed with premium UI/UX standards
   main.css — Master design system: CSS variables, typography, layout,
   sidebar, navbar, cards, forms, tables, charts, and all UI components.

   Template Name: Spark Admin
   Version: 1.0
   Author: Spark Admin Team
   Email: hello.sparkadmin@gmail.com
   URL: https://sparkadmin.web.id
========================================================================

   TABLE OF CONTENTS
   ─────────────────────────────────────────────────────────────────────
    1.  Google Fonts CDN Import
    2.  Design System Variables (CSS Custom Properties)
    3.  Base Overrides & Typography
    4.  Sidebar Component
    5.  Main Wrapper Layout
    6.  Navbar / Top Header Component
    7.  Page Header & Breadcrumb
    8.  Cards & KPI Components
    9.  Custom List Component
   10.  Progress & Bar Chart Layouts
   11.  Right Panel Component
   12.  Responsive Adjustments
   13.  Login & Auth Page Styles
   14.  Flatpickr Date Picker Theme
   15.  Dropdown Component
   16.  Footer Component
   17.  Navbar Profile Dropdown
   18.  Reusable Table Component
   19.  Form Elements Design System
   20.  Buttons & Alerts Design System
   21.  Error 404 Page Layout
   22.  DataTables Custom Theme
   23.  FullCalendar Theme Overrides
   24.  Form Controls & Checkbox Styles
   25.  Custom Buttons (Brand Palette)
   26.  Custom Alert Components
   27.  General UI Components (Badges, Pagination, Status)
   28.  Premium Forms Component Suite
   29.  Chat Application Component Suite
   30.  User Contacts Grid Component
   31.  Email Application Component Suite
   32.  Invoice Application Component Suite
   33.  Maintenance & Coming Soon Pages
   34.  jQuery Sparkline Tooltip Styles
   35.  Utility & Helper Classes
   ─────────────────────────────────────────────────────────────────────
*/

/* ---------------------------------------------------------------------
   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
--------------------------------------------------------------------- */
:root {
    /* Colors */
    --bs-body-bg: #F4F6F5; /* Canvas background: light, warm grayish-green */
    --bs-body-font-family: 'Plus Jakarta Sans', sans-serif;
    
    --brand-forest-dark: #051C12;     /* Core sidebar/brand background */
    --brand-forest-medium: #072F1F;   /* Alert banner / dark card BG */
    --brand-forest-light: #1A3E30;    /* Interactive elements in dark mode */
    --brand-lime: #B4F105;            /* Lime-yellow accent highlight */
    --brand-lime-hover: #c1f824;      
    --brand-lime-translucent: rgba(180, 241, 5, 0.15);
    
    --text-main: #0B130F;             /* Dark headers, main labels */
    --text-muted-green: #6C7E75;      /* Secondary labels, muted details */
    --text-sidebar-muted: #879A91;    /* Sidebar inactive link labels */
    
    --card-background: #FFFFFF;
    --border-light: #E9EFEF;
    --border-dark-green: rgba(255, 255, 255, 0.1);
    
    /* System Colors */
    --sys-green: #22C55E;
    --sys-green-bg: #DCFCE7;
    --sys-red: #EF4444;
    --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(11, 19, 15, 0.02);
    --shadow-md: 0 10px 30px rgba(11, 19, 15, 0.04);
    --shadow-lg: 0 20px 50px rgba(11, 19, 15, 0.08);
}

/* ---------------------------------------------------------------------
   3. Base Overrides & Typography
--------------------------------------------------------------------- */
body {
    background-color: var(--bs-body-bg);
    color: var(--text-main);
    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(--text-main);
    font-weight: 700;
    letter-spacing: -0.025em;
}

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

::-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)
   Extremely dark sidebar layout
--------------------------------------------------------------------- */
.sidebar-wrapper {
    width: var(--sidebar-width);
    background-color: var(--brand-forest-dark);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--border-dark-green);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar Auto-Hiding Scrollbar (Hidden when idle, visible on scroll / hover) */
.sidebar-wrapper .overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.sidebar-wrapper .overflow-y-auto::-webkit-scrollbar {
    width: 5px;
}

.sidebar-wrapper .overflow-y-auto::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-wrapper .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

/* Show scrollbar thumb when hovering over sidebar OR when scrolling */
.sidebar-wrapper:hover .overflow-y-auto::-webkit-scrollbar-thumb,
.sidebar-wrapper .overflow-y-auto:hover::-webkit-scrollbar-thumb,
.sidebar-wrapper .overflow-y-auto.scrolling::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
}

.sidebar-wrapper:hover .overflow-y-auto::-webkit-scrollbar-thumb:hover,
.sidebar-wrapper .overflow-y-auto:hover::-webkit-scrollbar-thumb:hover {
    background-color: var(--brand-lime, #9FE870);
}

.sidebar-wrapper:hover .overflow-y-auto {
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

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

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

.sidebar-brand i {
    color: var(--brand-lime);
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.sidebar-brand-badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--brand-lime);
    color: var(--brand-forest-dark);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm, 6px);
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(193, 240, 56, 0.25);
}

.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: var(--text-sidebar-muted);
    padding-left: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.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: var(--text-sidebar-muted);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.sidebar-menu-link i,
.sidebar-menu-link svg {
    font-size: 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    stroke-width: 2;
    color: var(--text-sidebar-muted);
    stroke: var(--text-sidebar-muted);
    transition: color 0.2s ease, stroke 0.2s ease;
    display: inline-block;
    flex-shrink: 0;
}

/* Active State & Hover States */
.sidebar-menu-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.03);
}

.sidebar-menu-link:hover i,
.sidebar-menu-link:hover svg {
    color: #FFFFFF;
    stroke: #FFFFFF;
}

.sidebar-menu-link.active {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

/* Vertical indicator border on left edge */
.sidebar-menu-link.active::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 15%;
    height: 70%;
    width: 4px;
    background-color: var(--brand-lime);
    border-radius: 0 4px 4px 0;
}

.sidebar-menu-link.active i,
.sidebar-menu-link.active svg {
    color: var(--brand-lime);
    stroke: var(--brand-lime);
}

.sidebar-menu-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--brand-lime);
    color: var(--brand-forest-dark);
    padding: 0.15rem 0.5rem;
    border-radius: 50rem;
}

/* Dropdown Caret Styling */
.sidebar-menu-link .dropdown-caret {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.sidebar-menu-link[aria-expanded="true"] .dropdown-caret {
    transform: rotate(180deg);
}

/* Submenu layout */
.sidebar-submenu {
    list-style: none;
    padding-left: 2.25rem;
    margin: 0.25rem 0 0.5rem 0;
}

.sidebar-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    color: var(--text-sidebar-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.sidebar-submenu-link::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--text-sidebar-muted);
    opacity: 0.4;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-submenu-link:hover {
    color: #FFFFFF;
}

.sidebar-submenu-link:hover::before {
    background-color: #FFFFFF;
    opacity: 0.8;
}

.sidebar-submenu-link.active {
    color: var(--brand-lime);
    font-weight: 600;
}

.sidebar-submenu-link.active::before {
    background-color: var(--brand-lime);
    opacity: 1;
}

.sidebar-submenu-link:hover i,
.sidebar-submenu-link.active i {
    color: var(--brand-lime);
}

/* Bottom Profile Card in Sidebar */
.sidebar-profile {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.85rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-dark-green);
    color: #FFFFFF;
}

.sidebar-profile-img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    background-color: var(--brand-forest-medium);
}

.sidebar-profile-info {
    flex-grow: 1;
    min-width: 0; /* allows text truncation */
}

.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: var(--text-sidebar-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

/* 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(244, 246, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: -2rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding: 1.25rem 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: grid !important;
    grid-template-columns: 1fr 480px 1fr !important;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

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

/* Quick Actions Dropdown Button */
.btn-quick-action {
    background-color: var(--brand-forest-medium);
    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(--brand-forest-dark);
    color: #FFFFFF;
    box-shadow: 0 4px 12px var(--brand-lime-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);
}

/* Custom Dropdown Menu styles */
.dropdown-menu-quick-action {
    background-color: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    border: none !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(--text-muted-green);
    padding: 0.5rem 1.25rem 0.25rem;
}

.dropdown-menu-quick-action .dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    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(--text-muted-green);
    transition: color 0.2s;
}

.dropdown-menu-quick-action .dropdown-item:hover {
    background-color: var(--bs-body-bg);
    color: var(--brand-forest-medium);
}

.dropdown-menu-quick-action .dropdown-item:hover i {
    color: var(--brand-forest-medium);
}

.dropdown-menu-quick-action .dropdown-divider {
    border-color: var(--border-light);
    margin: 0.4rem 0;
}

.navbar-title-dropdown {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 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(--border-light);
    border-radius: 50rem;
    padding: 0.65rem 1.25rem;
    padding-right: 2.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease-in-out;
}

.navbar-search-input:focus {
    border-color: rgba(5, 28, 18, 0.25);
    box-shadow: 0 4px 12px rgba(11, 19, 15, 0.05);
}

.navbar-search-btn {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted-green);
    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(--border-light);
    color: var(--text-main);
    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(--border-light);
    color: var(--brand-forest-medium);
}

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

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

/* Custom Dropdown Notifications */
.dropdown-menu-notification {
    width: 320px;
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-lg) !important;
    margin-top: 0.5rem !important;
    border: none !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(--border-light);
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.btn-clear-all {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-forest-medium);
    transition: color 0.2s;
    outline: none;
}

.btn-clear-all:hover {
    color: var(--brand-lime-hover);
}

.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(--border-light);
    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(--text-main);
    margin-bottom: 0.15rem;
    line-height: 1.35;
}

.notification-time {
    font-size: 0.725rem;
    color: var(--text-muted-green);
}

.notification-unread-dot {
    width: 6px;
    height: 6px;
    border-radius: 50rem;
    background-color: var(--sys-green);
    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(--brand-forest-medium);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.notification-footer:hover {
    color: var(--brand-lime-hover);
}

.btn-dark-custom {
    background-color: var(--text-main);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease-in-out;
}

.btn-dark-custom:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-dark-custom .icon-wrap {
    width: 20px;
    height: 20px;
    border-radius: 50rem;
    background-color: #FFFFFF;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Mobile Sidebar Toggle Button */
.sidebar-toggle-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

/* Desktop Sidebar Toggle Button */
.btn-desktop-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.btn-desktop-toggle:hover {
    background-color: var(--border-light);
    color: var(--brand-forest-medium);
}

/* ---------------------------------------------------------------------
   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(--text-muted-green);
    margin-bottom: 0;
}

.btn-date-picker {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 50rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.btn-date-picker:hover {
    background-color: var(--border-light);
}

/* ---------------------------------------------------------------------
   8. Cards & Styling Components
--------------------------------------------------------------------- */
.card {
    background-color: var(--card-background);
    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(--text-main);
    margin-bottom: 0;
}

.card-more-btn {
    background: none;
    border: none;
    color: var(--text-muted-green);
    font-size: 1.15rem;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Stat-specific cards */
.card-stat {
    height: 100%;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted-green);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    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(--sys-green);
}

.trend-down {
    color: var(--sys-red);
}

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

/* Geometric green visual element in bottom right of Alert Card */
.alert-green-bg-shape {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    opacity: 0.95;
    pointer-events: none;
    z-index: 1;
    transform: rotate(15deg);
    transition: transform 0.4s ease-in-out;
}

/* Subtle micro-animation on hover */
.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.1);
    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: var(--sys-red);
    border-radius: 50rem;
    animation: redPulse 2s infinite;
}

@keyframes redPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.alert-green-date {
    font-size: 0.75rem;
    color: var(--text-sidebar-muted);
    opacity: 0.8;
    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: var(--brand-lime);
    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: #FFFFFF;
}

.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(--text-main);
    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(--text-main);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-sub {
    font-size: 0.75rem;
    color: var(--text-muted-green);
    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(--brand-forest-medium);
}

.item-status.pending {
    color: var(--text-muted-green);
    opacity: 0.8;
}

.item-hash {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-muted-green);
    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(--text-main);
}

.progress-value {
    color: var(--text-muted-green);
}

.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 {
    background-color: var(--brand-forest-medium);
}

.bg-lime-accent {
    background-color: var(--brand-lime);
}

.bg-brand-orange {
    background-color: var(--sys-orange);
}

/* ---------------------------------------------------------------------
   11. Right Panel Component & Layout
--------------------------------------------------------------------- */
.right-panel-wrapper {
    height: auto;
}

/* Donut Chart legend styling */
.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 */
.promo-banner-card {
    background-color: #E2E8DF; /* Soft light olive-sage */
    border-radius: var(--radius-xxl);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.promo-banner-card {
    min-height: 250px;
}

/* Geometric green visual element in bottom right */
.promo-banner-bg-shape {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 140px;
    height: 140px;
    opacity: 0.95;
    pointer-events: none;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--brand-forest-dark);
    margin-bottom: 0.75rem;
    max-width: 80%;
    z-index: 2;
}

.promo-desc {
    font-size: 0.85rem;
    color: var(--brand-forest-medium);
    opacity: 0.85;
    line-height: 1.4;
    margin-bottom: auto;
    max-width: 80%;
    z-index: 2;
}

.btn-promo {
    background-color: var(--brand-forest-dark);
    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: #000000;
    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-top: -1.5rem;
        margin-left: -1.5rem;
        margin-right: -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 (Spark Admin Styles)
--------------------------------------------------------------------- */
.flatpickr-calendar {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light) !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;
}

/* Month and Year navigation banner */
.flatpickr-months {
    position: relative !important;
    height: 40px !important;
    align-items: center !important;
}

.flatpickr-month {
    height: 40px !important;
    color: var(--text-main) !important;
}

.flatpickr-current-month {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !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(--text-main) !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(--text-main) !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;
}

/* Hide default numeric scroll spinner arrows */
.numInputWrapper span {
    display: none !important;
}

/* Center navigation chevrons and style with hover circle */
.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(--text-main) !important;
    fill: var(--text-main) !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;
}

/* Weekday labels row */
.flatpickr-weekdays {
    height: 30px !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
}

span.flatpickr-weekday {
    font-weight: 700 !important;
    color: var(--text-sidebar-muted) !important;
    font-size: 0.8rem !important;
    opacity: 0.85;
}

/* Days container layout */
.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;
}

/* Day grid cell elements */
.flatpickr-day {
    font-weight: 600 !important;
    color: var(--text-main) !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(--brand-forest-medium) !important;
    border-radius: 50rem !important;
}

/* Selected endpoints styling */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: var(--brand-forest-medium) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(5, 28, 18, 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;
}

/* Selected in-range days styling */
.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: #E1FCD2 !important;
    color: var(--brand-forest-medium) !important;
    border-radius: 0 !important;
}

/* Disabled and adjacent month days */
.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(11, 19, 15, 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;
    border: 1px solid var(--border-light) !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(--text-muted-green) !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(--text-main) !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(--border-light) !important;
    margin: 6px 0 !important;
    opacity: 1 !important;
}

/* Custom ApexCharts Hover Overrides for Lime-Yellow Color (#B4F105) */
.apexcharts-bar-area[fill="#B4F105"]:hover,
.apexcharts-bar-area[fill="#b4f105"]:hover,
.apexcharts-pie-area[fill="#B4F105"]:hover,
.apexcharts-pie-area[fill="#b4f105"]:hover {
    fill: #c1f824 !important;
}

/* ---------------------------------------------------------------------
   16. Footer Component Styles
--------------------------------------------------------------------- */
.footer-custom {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(11, 19, 15, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted-green);
    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(--text-main);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-logo i {
    color: var(--brand-forest-medium);
    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(--border-light);
    opacity: 0.6;
    user-select: none;
}

.footer-copy {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-heart {
    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(--text-muted-green);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--brand-forest-medium);
    transition: width 0.25s ease-in-out;
}

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

.footer-link:hover::after {
    width: 100%;
}

.footer-link .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--sys-green);
    border-radius: 50%;
    margin-left: 0.35rem;
    vertical-align: middle;
    box-shadow: 0 0 6px var(--sys-green);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 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;
}

/* Geometric background decoration */
.login-bg-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--brand-lime-translucent) 0%, rgba(180, 241, 5, 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(--card-background);
    border: 1px solid var(--border-light);
    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(11, 19, 15, 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-forest-dark);
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-brand i {
    color: var(--brand-forest-medium);
    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(--brand-lime-hover);
}

.login-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted-green);
    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(--text-main);
    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(--text-muted-green);
    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(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.8rem 1.25rem 0.8rem 2.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    transition: all 0.25s ease-in-out;
}

/* Adjust padding for password field to fit eye toggle */
.login-input-password {
    padding-right: 2.85rem;
}

.login-input:focus {
    background-color: #FFFFFF;
    border-color: var(--brand-forest-medium);
    box-shadow: 0 0 0 4px var(--brand-lime-translucent);
}

.login-input:focus + i.input-icon {
    color: var(--brand-forest-medium);
}

.password-toggle-btn {
    position: absolute;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted-green);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: var(--brand-forest-medium);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    font-size: 0.825rem;
}

/* Custom Checkbox Styling */
.custom-control-label {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted-green);
    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(--text-muted-green);
    appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background-color: transparent;
}

.custom-checkbox-input:checked {
    background-color: var(--brand-forest-medium);
    border-color: var(--brand-forest-medium);
}

.custom-checkbox-input:checked::before {
    content: "\f272"; /* check icon in bootstrap-icons font */
    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(--brand-forest-medium);
    font-weight: 600;
    text-decoration: none;
}

.forgot-password-link:hover {
    color: var(--brand-lime-hover);
    text-decoration: underline;
}

.btn-login {
    background-color: var(--brand-forest-medium);
    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(--brand-forest-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--brand-lime-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(--text-muted-green);
    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(--border-light);
}

.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(--border-light);
    color: var(--text-main);
    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: rgba(0, 0, 0, 0.1);
}

.btn-social i {
    font-size: 1.1rem;
}

.login-footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted-green);
    font-weight: 600;
    margin-bottom: 0;
}

.login-footer-text a {
    color: var(--brand-forest-medium);
    font-weight: 700;
}

.login-footer-text a:hover {
    color: var(--brand-lime-hover);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------
   17. Navbar Profile Dropdown
--------------------------------------------------------------------- */
.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(--brand-lime-hover);
}

.navbar-profile-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.2s;
}

.navbar-profile-btn:hover .navbar-profile-name {
    color: var(--brand-forest-medium);
}

.navbar-profile-caret {
    font-size: 0.75rem;
    color: var(--text-muted-green);
    transition: transform 0.2s, color 0.2s;
}

.navbar-profile-btn:hover .navbar-profile-caret {
    color: var(--brand-forest-medium);
}

.navbar-profile-btn[aria-expanded="true"] .navbar-profile-caret {
    transform: rotate(180deg);
}

/* Custom Dropdown Menu for Profile */
.dropdown-menu-profile {
    width: 200px;
    background-color: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    border: none !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(--text-muted-green);
    padding: 0.65rem 1.25rem 0.35rem;
}

.dropdown-menu-profile .dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    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(--text-muted-green);
    transition: color 0.2s;
}

.dropdown-menu-profile .dropdown-item:hover {
    background-color: var(--bs-body-bg);
    color: var(--brand-forest-medium);
}

.dropdown-menu-profile .dropdown-item:hover i {
    color: var(--brand-forest-medium);
}

.dropdown-menu-profile .dropdown-divider {
    border-color: var(--border-light);
    margin: 0.4rem 0;
}

/* ---------------------------------------------------------------------
   18. Reusable Premium Table Component
--------------------------------------------------------------------- */
.table-card-custom {
    background-color: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 19, 15, 0.06) !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.25rem !important; /* Pushes the main footer down to create breathing space */
    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(11, 19, 15, 0.05);
    white-space: nowrap;
}

.table-custom th {
    background-color: #F8FAF9;
    color: var(--text-muted-green);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(11, 19, 15, 0.08);
}

.table-custom tbody tr {
    transition: background-color 0.2s ease-in-out;
}

.table-custom tbody tr:hover {
    background-color: rgba(180, 241, 5, 0.03); /* Soft brand-lime-glow transparent hover */
}

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

/* User/Product visual info cell */
.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-forest-medium);
}

.table-user-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.875rem;
}

.table-user-sub {
    font-size: 0.75rem;
    color: var(--text-muted-green);
}

/* Badge styles */
.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(34, 197, 94, 0.1);
    color: var(--sys-green);
}
.badge-table.success::before {
    background-color: var(--sys-green);
}

.badge-table.pending {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--sys-orange);
}
.badge-table.pending::before {
    background-color: var(--sys-orange);
}

.badge-table.failed {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--sys-red);
}
.badge-table.failed::before {
    background-color: var(--sys-red);
}

/* Table Controls Top bar */
.table-header-control {
    background-color: #FFFFFF;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(11, 19, 15, 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(11, 19, 15, 0.1);
    background-color: #FDFDFD;
    transition: all 0.2s ease-in-out;
}

.table-search-input:focus {
    outline: none;
    border-color: var(--brand-forest-medium);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.table-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-green);
    font-size: 0.85rem;
}

/* Table Actions dropdown/filters */
.table-filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-table-action {
    background-color: #FFFFFF;
    border: 1px solid rgba(11, 19, 15, 0.1);
    color: var(--brand-forest-dark);
    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(--brand-forest-medium);
}

/* Action button items in table cell */
.table-btn-action {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    color: var(--brand-forest-dark);
    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(--brand-forest-medium);
    color: #FFFFFF;
    border-color: var(--brand-forest-medium);
}

.table-btn-action.delete:hover {
    background-color: var(--sys-red);
    color: #FFFFFF;
    border-color: var(--sys-red);
}

/* Table Footer Pagination */
.table-footer-control {
    background-color: #FFFFFF;
    padding: 1.25rem;
    border-top: 1px solid rgba(11, 19, 15, 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(--text-muted-green);
}

/* Custom column styles */
.table-order-id {
    font-weight: 700;
    color: var(--text-main);
}

.table-product-name {
    font-weight: 600;
    color: var(--text-main);
}

.table-amount {
    font-weight: 700;
    color: var(--text-main);
}

/* Custom Table pagination overrides */
.table-footer-control .pagination .page-link {
    border-radius: var(--radius-md);
    color: var(--brand-forest-dark);
    background-color: transparent;
    transition: all 0.25s ease-in-out;
}

.table-footer-control .pagination .page-link:hover {
    background-color: #F8FAF9;
    color: var(--brand-forest-medium);
}

.table-footer-control .pagination .page-item.active .page-link {
    background-color: var(--brand-forest-medium) !important;
    color: #FFFFFF !important;
}

.table-footer-control .pagination .page-item.disabled .page-link {
    opacity: 0.5;
    color: var(--text-muted-green);
    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(--text-main);
    margin-bottom: 0.5rem;
}

.form-control-custom,
.form-control {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-main);
    background-color: #FFFFFF;
    background-clip: padding-box;
    border: 1px solid rgba(11, 19, 15, 0.12);
    border-radius: var(--radius-lg, 0.75rem);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control-custom:focus,
.form-control:focus {
    color: var(--text-main);
    background-color: #FFFFFF;
    border-color: var(--brand-forest-medium);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.form-control-custom::placeholder {
    color: var(--text-muted-green);
    opacity: 0.5;
}

.form-control-custom:disabled,
.form-control-custom[readonly] {
    background-color: #F8FAF9;
    border-color: rgba(11, 19, 15, 0.06);
    color: var(--text-muted-green);
    opacity: 0.8;
    cursor: not-allowed;
}

/* Sizing overrides */
.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);
}

/* Select overrides */
.form-select-custom,
.form-select {
    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(--text-main);
    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='%23072F1F' 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(11, 19, 15, 0.12);
    border-radius: var(--radius-lg, 0.75rem);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    appearance: none;
}

.form-select-custom:focus,
.form-select:focus {
    border-color: var(--brand-forest-medium);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.form-select-custom:disabled {
    background-color: #F8FAF9;
    border-color: rgba(11, 19, 15, 0.06);
    color: var(--text-muted-green);
    opacity: 0.8;
    cursor: not-allowed;
}

/* Custom Checkbox & Radios */
.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(11, 19, 15, 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(--brand-lime-hover);
    box-shadow: 0 0 0 3px var(--brand-lime-translucent);
}

.form-check-input-custom:checked {
    background-color: var(--brand-lime);
    border-color: var(--brand-lime);
}

.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='%23072F1F' 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='%23072F1F'/%3e%3c/svg%3e");
}

.form-check-input-custom:disabled {
    background-color: #F8FAF9;
    border-color: rgba(11, 19, 15, 0.06);
    opacity: 0.8;
    cursor: not-allowed;
}

/* Custom switch button style */
.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(11, 19, 15, 0.1);
    position: relative;
    border: 1px solid rgba(11, 19, 15, 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(11, 19, 15, 0.15);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-switch-input-custom:checked {
    background-color: var(--brand-forest-medium);
    border-color: var(--brand-forest-medium);
}

.form-switch-input-custom:checked::before {
    transform: translateX(18px);
}

.form-switch-input-custom:focus {
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.form-switch-input-custom:disabled {
    background-color: #F8FAF9;
    border-color: rgba(11, 19, 15, 0.06);
    opacity: 0.8;
    cursor: not-allowed;
}

/* Input group styles */
.input-group-custom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 19, 15, 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(--brand-forest-medium);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 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(--text-muted-green);
    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;
}

/* Validation styles */
.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(239, 68, 68, 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(34, 197, 94, 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
--------------------------------------------------------------------- */
/* Custom Buttons base style */
.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(7, 47, 31, 0.15);
}

/* Custom Buttons sizing variants */
.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);
}

/* Custom Buttons color variants */
.btn-custom-primary {
    background-color: var(--brand-forest-medium);
    border-color: var(--brand-forest-medium);
    color: #FFFFFF;
}

.btn-custom-primary:hover {
    background-color: var(--brand-forest-dark);
    border-color: var(--brand-forest-dark);
    color: #FFFFFF;
}

.btn-custom-secondary {
    background-color: var(--brand-lime);
    border-color: var(--brand-lime);
    color: #072F1F;
}

.btn-custom-secondary:hover {
    background-color: var(--brand-lime-hover);
    border-color: var(--brand-lime-hover);
    color: #072F1F;
}

.btn-custom-light {
    background-color: #F8FAF9;
    border-color: rgba(11, 19, 15, 0.08);
    color: var(--brand-forest-dark);
}

.btn-custom-light:hover {
    background-color: #EEF2F0;
    border-color: rgba(11, 19, 15, 0.12);
    color: var(--brand-forest-dark);
}

.btn-custom-danger {
    background-color: var(--sys-red);
    border-color: var(--sys-red);
    color: #FFFFFF;
}

.btn-custom-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #FFFFFF;
}

.btn-custom-warning {
    background-color: #F59E0B;
    border-color: #F59E0B;
    color: #FFFFFF;
}

.btn-custom-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #FFFFFF;
}

/* Custom Buttons outline variants */
.btn-custom-outline-primary {
    background-color: transparent;
    border-color: var(--brand-forest-medium);
    color: var(--brand-forest-medium);
}

.btn-custom-outline-primary:hover {
    background-color: var(--brand-forest-medium);
    color: #FFFFFF;
}

.btn-custom-outline-secondary {
    background-color: transparent;
    border-color: var(--brand-lime-hover);
    color: var(--brand-forest-dark);
}

.btn-custom-outline-secondary:hover {
    background-color: var(--brand-lime);
    border-color: var(--brand-lime);
    color: #072F1F;
}

.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;
}

/* Custom alert components */
.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(11, 19, 15, 0.05);
}

/* Alert theme variations */
.alert-custom-primary {
    background-color: rgba(7, 47, 31, 0.04);
    border-color: rgba(7, 47, 31, 0.08);
    color: var(--brand-forest-dark);
}

.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: #f0f9ff;
    border-color: #bae6fd;
    color: #075985;
}

/* ---------------------------------------------------------------------
   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(11, 19, 15, 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-forest-dark);
    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(--brand-lime);
    display: inline-block;
    animation: asteriskSpin 20s infinite linear;
}

.error-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.error-desc {
    max-width: 480px;
    font-size: 0.95rem;
    color: var(--text-muted-green);
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.error-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Spinner Keyframes for Star/Asterisk Rotation */
@keyframes asteriskSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------------------
   22. DataTables Custom Theme Integration
--------------------------------------------------------------------- */
.dataTables_wrapper {
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1.25rem;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    font-weight: 500;
    color: var(--text-muted-green);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.45rem 2.25rem 0.45rem 0.85rem !important;
    min-width: 85px;
    background-color: #FFFFFF;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    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='%23072F1F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 12px;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--brand-forest-medium);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.45rem 0.85rem;
    background-color: #FFFFFF;
    color: var(--text-main);
    font-size: 0.875rem;
    outline: none;
    min-width: 220px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-left: 0.5rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--brand-forest-medium);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.dataTables_wrapper table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.dataTables_wrapper table.dataTable thead th {
    background-color: #F8FAF9;
    color: var(--text-muted-green);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-light) !important;
}

.dataTables_wrapper table.dataTable tbody td {
    padding: 0.85rem 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

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

.dataTables_wrapper table.dataTable tbody tr:hover {
    background-color: rgba(7, 47, 31, 0.035);
}

/* DataTables Striped Rows Custom Styling */
.table-striped > tbody > tr:nth-of-type(odd) > *,
table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    box-shadow: inset 0 0 0 9999px #F4F7F5 !important;
    background-color: #F4F7F5 !important;
}

.table-striped > tbody > tr:nth-of-type(even) > *,
table.dataTable.table-striped > tbody > tr:nth-of-type(even) > *,
table.dataTable.table-striped > tbody > tr:nth-of-type(2n) > * {
    box-shadow: inset 0 0 0 9999px #FFFFFF !important;
    background-color: #FFFFFF !important;
}

/* Table Hover Effect (overrides striped rows on hover) */
.table-hover > tbody > tr:hover > *,
table.dataTable.table-hover > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px #E2EBE6 !important;
    background-color: #E2EBE6 !important;
    color: var(--brand-forest-dark) !important;
}

/* Pagination & Info Styling */
.dataTables_wrapper .dataTables_info {
    color: var(--text-muted-green);
    font-size: 0.825rem;
    font-weight: 500;
    padding-top: 0.5rem;
}

.dataTables_wrapper .pagination {
    margin-bottom: 0;
    gap: 0.25rem;
}

.dataTables_wrapper .pagination .page-item .page-link {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.375rem 0.75rem;
    transition: all 0.2s ease;
}

.dataTables_wrapper .pagination .page-item:not(.active) .page-link:hover {
    background-color: #F8FAF9;
    color: var(--brand-forest-medium);
    border-color: rgba(7, 47, 31, 0.15);
}

.dataTables_wrapper .pagination .page-item.active .page-link {
    background-color: var(--brand-forest-medium);
    border-color: var(--brand-forest-medium);
    color: #FFFFFF;
}

.dataTables_wrapper .pagination .page-item.disabled .page-link {
    background-color: #F8FAF9;
    color: var(--text-sidebar-muted);
    opacity: 0.6;
}

/* DataTables Buttons Custom Styling */
.dt-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.dt-buttons .btn,
.dt-buttons .dt-button {
    border-radius: var(--radius-md) !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    padding: 0.45rem 0.9rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: none !important;
    background-color: #F8FAF9 !important;
    border: 1px solid rgba(11, 19, 15, 0.1) !important;
    color: var(--brand-forest-dark) !important;
}

.dt-buttons .btn:hover,
.dt-buttons .dt-button:hover {
    background-color: var(--brand-forest-medium) !important;
    border-color: var(--brand-forest-medium) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.dt-button-collection {
    background-color: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem !important;
    margin-top: 0.35rem !important;
}

.dt-button-collection .dt-button {
    border-radius: var(--radius-md) !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.825rem !important;
    color: var(--text-main) !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dt-button-collection .dt-button:hover {
    background-color: rgba(7, 47, 31, 0.05) !important;
    color: var(--brand-forest-dark) !important;
}

.dt-button-collection .dt-button.active {
    background-color: var(--brand-forest-medium) !important;
    color: #FFFFFF !important;
}

/* DataTables Selection Custom Styling (Spark Brand Lime) */
:root {
    --dt-row-selected: 180, 241, 5;
    --dt-row-selected-text: 5, 28, 18;
    --dt-row-selected-link: 5, 28, 18;
}

table.dataTable > tbody > tr.selected > *,
table.dataTable > tbody > tr > td.selected,
table.dataTable > tbody > tr > th.selected,
table.dataTable > tbody > tr > .selected,
table.dataTable > tbody > tr.selected,
table.dataTable.display > tbody > tr > .selected,
table.dataTable.display > tbody > tr > td.selected,
table.dataTable.display > tbody > tr.selected > td,
table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1).selected > *,
table.dataTable.table-hover > tbody > tr > .selected,
table.dataTable.table-hover > tbody > tr > td.selected,
table.dataTable.table-hover > tbody > tr.selected:hover,
table.dataTable.table-hover > tbody > tr.selected:hover > *,
table.dataTable.table-hover > tbody > tr.selected:hover > td {
    box-shadow: inset 0 0 0 9999px #B4F105 !important;
    background-color: #B4F105 !important;
    color: #051C12 !important;
    font-weight: 700 !important;
    border-color: rgba(7, 47, 31, 0.1) !important;
}

table.dataTable > tbody > tr.selected a,
table.dataTable > tbody > tr > .selected a,
table.dataTable > tbody > tr.selected td,
table.dataTable > tbody > tr.selected th,
table.dataTable > tbody > tr.selected td a {
    color: #051C12 !important;
}

/* Custom scrollbar styling for DataTables ScrollBody */
.dataTables_scrollBody::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #F8FAF9;
    border-radius: 10px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.dataTables_scrollHeadInner,
.dataTables_scrollHeadInner table.dataTable {
    width: 100% !important;
}

/* Icon Gallery Custom Styling (Boxicons / Bootstrap Icons style) */
.icon-demo-card {
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 1.25rem 0.5rem;
    text-align: center;
    background-color: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-demo-card:hover {
    border-color: rgba(7, 47, 31, 0.1);
    background-color: #F4F7F5;
    transform: translateY(-2px);
}

.icon-demo-card i,
.icon-demo-card svg {
    font-size: 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    stroke-width: 1.75;
    color: var(--brand-forest-dark);
    stroke: var(--brand-forest-dark);
    transition: transform 0.2s ease, color 0.2s ease, stroke 0.2s ease;
}

.icon-demo-card:hover i,
.icon-demo-card:hover svg {
    transform: scale(1.15);
    color: var(--brand-forest-medium);
    stroke: var(--brand-forest-medium);
}

.icon-demo-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    margin-top: 0.75rem;
    word-break: break-word;
}

/* Footer Heart Custom Icon Styling */
.footer-heart {
    color: #EF4444 !important;
}

/* ---------------------------------------------------------------------
   23. FullCalendar Theme Overrides
--------------------------------------------------------------------- */
.fc {
    --fc-border-color: rgba(7, 47, 31, 0.08);
    --fc-button-bg-color: #072F1F;
    --fc-button-border-color: #072F1F;
    --fc-button-hover-bg-color: #0B3B26;
    --fc-button-hover-border-color: #0B3B26;
    --fc-button-active-bg-color: #C1F038;
    --fc-button-active-border-color: #C1F038;
    --fc-event-bg-color: #072F1F;
    --fc-event-border-color: #072F1F;
    --fc-today-bg-color: rgba(193, 240, 56, 0.12);
    font-family: inherit;
}

.fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.fc .fc-toolbar-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--brand-forest-dark, #072F1F);
    text-transform: uppercase;
}

.fc .fc-button {
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md, 0.5rem);
    box-shadow: none !important;
    text-transform: capitalize;
    transition: all 0.2s ease;
}

.fc .fc-button-primary:not(:disabled).fc-button-active, 
.fc .fc-button-primary:not(:disabled):active {
    background-color: var(--brand-lime, #C1F038) !important;
    border-color: var(--brand-lime, #C1F038) !important;
    color: var(--brand-forest-dark, #072F1F) !important;
}

.fc-theme-standard td, .fc-theme-standard th {
    border-color: rgba(7, 47, 31, 0.06);
}

.fc .fc-col-header-cell-cushion {
    padding: 0.75rem 0;
    font-weight: 700;
    color: var(--brand-forest-dark, #072F1F);
    text-decoration: none;
}

.fc .fc-daygrid-day-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748B;
    padding: 0.4rem 0.5rem;
    text-decoration: none;
}

.fc-day-today {
    background-color: rgba(193, 240, 56, 0.15) !important;
}

/* Event Badges */
.fc-event {
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none !important;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Draggable External Events Card */
.external-event-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    cursor: grab;
    user-select: none;
    transition: all 0.2s ease;
}

.external-event-item:active {
    cursor: grabbing;
}

.external-event-item:hover {
    opacity: 0.92;
    transform: translateX(3px);
}

.external-event-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: inline-block;
    flex-shrink: 0;
}

.bg-event-lime {
    background-color: var(--brand-lime, #B4F105) !important;
    color: var(--brand-forest-dark, #051C12) !important;
}

.bg-event-lime .external-event-dot {
    background-color: var(--brand-forest-dark, #051C12) !important;
}

.bg-event-forest {
    background-color: #072F1F !important;
    color: #FFFFFF !important;
}

.bg-event-mint {
    background-color: #10B981 !important;
    color: #FFFFFF !important;
}

.bg-event-warning {
    background-color: #D97706 !important;
    color: #FFFFFF !important;
}

.bg-event-danger {
    background-color: #DC2626 !important;
    color: #FFFFFF !important;
}

.bg-event-primary {
    background-color: #1E513B !important;
    color: #FFFFFF !important;
}

/* ---------------------------------------------------------------------
   24. Form Controls & Checkbox Styles
--------------------------------------------------------------------- */
.form-check-input {
    width: 1.15em;
    height: 1.15em;
    border-color: rgba(7, 47, 31, 0.25);
    border-radius: 0.35em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    border-color: var(--brand-forest-medium, #072F1F) !important;
}

.form-check-input:focus {
    border-color: var(--brand-forest-light, #1A3E30) !important;
    box-shadow: 0 0 0 0.2rem rgba(7, 47, 31, 0.15) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-forest-medium, #072F1F) !important;
    box-shadow: 0 0 0 0.2rem rgba(7, 47, 31, 0.12) !important;
}

/* ---------------------------------------------------------------------
   25. Custom Buttons (Brand Palette)
--------------------------------------------------------------------- */
.btn-forest-primary {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--brand-forest-medium, #072F1F) !important;
    border-radius: var(--radius-md, 0.5rem) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-forest-primary:hover, .btn-forest-primary:focus {
    background-color: var(--brand-forest-light, #1A3E30) !important;
    border-color: var(--brand-forest-light, #1A3E30) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(7, 47, 31, 0.2) !important;
}

.btn-lime-primary {
    background-color: var(--brand-lime, #B4F105) !important;
    color: var(--brand-forest-dark, #051C12) !important;
    border: 1px solid var(--brand-lime, #B4F105) !important;
    border-radius: var(--radius-md, 0.5rem) !important;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-lime-primary:hover, .btn-lime-primary:focus {
    background-color: #c1f824 !important;
    border-color: #c1f824 !important;
    color: var(--brand-forest-dark, #051C12) !important;
    box-shadow: 0 4px 12px rgba(180, 241, 5, 0.3) !important;
}

.btn-light-cancel {
    background-color: #F1F5F3 !important;
    color: #334155 !important;
    border: 1px solid rgba(7, 47, 31, 0.08) !important;
    border-radius: var(--radius-md, 0.5rem) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-light-cancel:hover, .btn-light-cancel:focus {
    background-color: #E2ECE8 !important;
    color: #0F291E !important;
}

/* Outline Button Variants */
.btn-outline-forest {
    background-color: transparent !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    border: 1.5px solid var(--brand-forest-medium, #072F1F) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-forest:hover, .btn-outline-forest:focus {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
}

.btn-outline-lime {
    background-color: transparent !important;
    color: #051C12 !important;
    border: 1.5px solid var(--brand-lime, #B4F105) !important;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-outline-lime:hover, .btn-outline-lime:focus {
    background-color: var(--brand-lime, #B4F105) !important;
    color: #051C12 !important;
}

/* Soft Translucent Buttons */
.btn-soft-forest {
    background-color: rgba(7, 47, 31, 0.1) !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-soft-forest:hover {
    background-color: rgba(7, 47, 31, 0.2) !important;
}

.btn-soft-lime {
    background-color: rgba(180, 241, 5, 0.2) !important;
    color: #051C12 !important;
    border: none !important;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-soft-lime:hover {
    background-color: rgba(180, 241, 5, 0.35) !important;
}

.btn-soft-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
    border: none !important;
    font-weight: 600;
}

.btn-soft-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    border: none !important;
    font-weight: 600;
}

.btn-soft-danger {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: none !important;
    font-weight: 600;
}

.btn-soft-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
    border: none !important;
    font-weight: 600;
}

/* Icon Buttons */
.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md, 0.5rem);
}

.btn-icon-sm {
    width: 2rem;
    height: 2rem;
    padding: 0 !important;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

/* ---------------------------------------------------------------------
   26. Custom Alert Components
--------------------------------------------------------------------- */
.alert {
    border-radius: var(--radius-md, 0.5rem);
    border: 1px solid transparent;
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Custom Brand Alerts */
.alert-lime {
    background-color: var(--brand-lime, #B4F105);
    color: var(--brand-forest-dark, #051C12);
    border-color: var(--brand-lime, #B4F105);
    font-weight: 600;
}

.alert-forest {
    background-color: var(--brand-forest-medium, #072F1F);
    color: #FFFFFF;
    border-color: var(--brand-forest-medium, #072F1F);
}

/* Soft Translucent Alerts with Accent Borders */
.alert-soft-primary {
    background-color: rgba(13, 110, 253, 0.08);
    color: #084298;
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-left: 4px solid #0d6efd;
}

.alert-soft-success {
    background-color: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid #10b981;
}

.alert-soft-danger {
    background-color: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 4px solid #ef4444;
}

.alert-soft-warning {
    background-color: rgba(245, 158, 11, 0.08);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 4px solid #f59e0b;
}

.alert-soft-info {
    background-color: rgba(6, 182, 212, 0.08);
    color: #155e75;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-left: 4px solid #06b6d4;
}

.alert-soft-forest {
    background-color: rgba(7, 47, 31, 0.08);
    color: #072F1F;
    border: 1px solid rgba(7, 47, 31, 0.15);
    border-left: 4px solid #072F1F;
}

.alert-soft-lime {
    background-color: rgba(180, 241, 5, 0.18);
    color: #051C12;
    border: 1px solid rgba(180, 241, 5, 0.35);
    border-left: 4px solid #B4F105;
}

/* Alert Icon Layout Helper */
.alert-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Code Snippet Box */
.code-preview-box {
    background-color: #051C12;
    color: #A3E635;
    border-radius: var(--radius-md, 0.5rem);
    padding: 1rem 1.25rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.825rem;
    position: relative;
    overflow-x: auto;
}

.btn-copy-code {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.35rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: none;
    transition: all 0.2s ease;
}

.btn-copy-code:hover,
.btn-copy-code.copied {
    background-color: var(--brand-lime, #B4F105);
    color: #051C12;
}

/* Card Component Utilities */
.card-rounded {
    border-radius: var(--radius-xl, 1rem) !important;
}

.kpi-icon-box {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sparkline-wave-container {
    margin-left: -1.75rem;
    margin-right: -1.75rem;
    margin-bottom: -1.75rem;
    margin-top: 1.25rem;
    overflow: hidden;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.card-cover-img {
    height: 160px;
    object-fit: cover;
}

.card-cover-img-sm {
    height: 140px;
    object-fit: cover;
    border-radius: 0;
}

.letter-spacing-sm {
    letter-spacing: 0.5px;
}

.progress-xs {
    height: 6px;
}

.progress-bar-75 {
    width: 75%;
}

.z-index-2 {
    z-index: 2 !important;
}

/* Additional Helper & Component Utility Classes */
.modal-rounded {
    border-radius: var(--radius-lg, 0.75rem) !important;
}

.toast-container-pos {
    z-index: 1100 !important;
}

.blank-icon-watermark {
    font-size: 3.5rem;
    opacity: 0.25;
}

.legend-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6C7E75;
}

.revenue-hero-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
}

.w-38, .w-38-pct { width: 38% !important; }
.w-45, .w-45-pct { width: 45% !important; }
.w-50, .w-50-pct { width: 50% !important; }
.w-65, .w-65-pct { width: 65% !important; }
.w-75, .w-75-pct { width: 75% !important; }
.w-85, .w-85-pct { width: 85% !important; }

/* Card Action Button & Transaction List Component Styles */
.btn-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-forest-medium, #072F1F);
    background-color: rgba(7, 47, 31, 0.06);
    border: none !important;
    outline: none !important;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-card-action:hover, .btn-card-action:focus {
    background-color: var(--brand-forest-medium, #072F1F);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(7, 47, 31, 0.15);
}

.btn-card-action i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn-card-action:hover i {
    transform: translateX(3px);
}

.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(5, 28, 18, 0.06);
}

.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(--text-main);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transaction-date {
    font-size: 0.75rem;
    color: var(--text-muted-green);
    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: var(--brand-forest-dark) !important;
}

.text-lime {
    color: var(--brand-lime) !important;
}

.text-main {
    color: var(--text-main) !important;
}

.transaction-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md, 10px);
    background-color: rgba(7, 47, 31, 0.06);
    color: var(--brand-forest-medium, #072F1F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.transaction-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main, #0B130F);
    margin-bottom: 0.15rem;
}

.transaction-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
}

.transaction-status.completed {
    color: #10B981;
}

.transaction-status.pending {
    color: #F59E0B;
}

/* ---------------------------------------------------------------------
   27. General UI Components (Badges, Pagination, Status)
--------------------------------------------------------------------- */

/* Custom Badges */
.badge-forest {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
}

.badge-lime {
    background-color: var(--brand-lime, #B4F105) !important;
    color: #051C12 !important;
    font-weight: 700;
}

.badge-soft-forest {
    background-color: rgba(7, 47, 31, 0.1) !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    font-weight: 600;
}

.badge-soft-lime {
    background-color: rgba(180, 241, 5, 0.2) !important;
    color: #051C12 !important;
    font-weight: 700;
}

.badge-soft-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
    font-weight: 600;
}

.badge-soft-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    font-weight: 600;
}

.badge-soft-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
    font-weight: 600;
}

.badge-soft-danger {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    font-weight: 600;
}

.badge-soft-info {
    background-color: rgba(6, 182, 212, 0.1) !important;
    color: #0891b2 !important;
    font-weight: 600;
}

.badge-outline-forest {
    background-color: transparent !important;
    border: 1px solid var(--brand-forest-medium, #072F1F) !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    font-weight: 600;
}

.badge-outline-lime {
    background-color: transparent !important;
    border: 1px solid #84B100 !important;
    color: #051C12 !important;
    font-weight: 700;
}

.badge-outline-primary {
    background-color: transparent !important;
    border: 1px solid #0d6efd !important;
    color: #0d6efd !important;
}

.badge-outline-success {
    background-color: transparent !important;
    border: 1px solid #10b981 !important;
    color: #10b981 !important;
}

.badge-outline-warning {
    background-color: transparent !important;
    border: 1px solid #f59e0b !important;
    color: #d97706 !important;
}

.badge-outline-danger {
    background-color: transparent !important;
    border: 1px solid #ef4444 !important;
    color: #ef4444 !important;
}

/* Pagination Customizations */
.pagination {
    gap: 0.35rem;
}

.pagination .page-item .page-link {
    color: var(--brand-forest-medium, #072F1F);
    background-color: #FFFFFF;
    border: 1px solid var(--border-light, #E9EFEF);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-forest-medium, #072F1F);
    border-color: var(--brand-forest-medium, #072F1F);
    color: var(--brand-lime, #B4F105);
    box-shadow: 0 4px 10px rgba(7, 47, 31, 0.2);
}

.pagination .page-item .page-link:hover {
    background-color: rgba(7, 47, 31, 0.08);
    color: var(--brand-forest-medium, #072F1F);
}

.pagination-rounded .page-link {
    border-radius: 50rem !important;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

/* Status Indicator Dot */
.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
}

.status-indicator-dot.active {
    background-color: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.status-indicator-dot.busy {
    background-color: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.status-indicator-dot.away {
    background-color: #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

/* Custom Premium Blockquote Styles */
.blockquote-custom {
    background-color: #F8FAFA;
    border-left: 4px solid var(--brand-forest-medium, #072F1F);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md, 0.75rem);
    position: relative;
}

.blockquote-custom-lime {
    background-color: rgba(180, 241, 5, 0.08);
    border-left: 4px solid var(--brand-lime, #B4F105);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md, 0.75rem);
    position: relative;
}

.blockquote-custom p,
.blockquote-custom-lime p {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-main, #0B130F);
    margin-bottom: 0.75rem !important;
    font-style: italic;
}

.blockquote-custom .blockquote-footer,
.blockquote-custom-lime .blockquote-footer {
    font-size: 0.825rem;
    color: var(--text-muted-green, #6C7E75);
    margin-top: 0.5rem;
    margin-bottom: 0 !important;
}

/* Custom Brand Tooltips & Popovers */
.tooltip-forest .tooltip-inner {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: var(--brand-lime, #B4F105) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(7, 47, 31, 0.25);
}

.tooltip-forest.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--brand-forest-medium, #072F1F) !important;
}

.tooltip-forest.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--brand-forest-medium, #072F1F) !important;
}

.tooltip-forest.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--brand-forest-medium, #072F1F) !important;
}

.tooltip-forest.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--brand-forest-medium, #072F1F) !important;
}

.tooltip-lime .tooltip-inner {
    background-color: var(--brand-lime, #B4F105) !important;
    color: var(--brand-forest-deep, #051C12) !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(180, 241, 5, 0.3);
}

.tooltip-lime.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--brand-lime, #B4F105) !important;
}

.tooltip-lime.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--brand-lime, #B4F105) !important;
}

.tooltip-lime.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--brand-lime, #B4F105) !important;
}

.tooltip-lime.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--brand-lime, #B4F105) !important;
}

/* Custom Brand Modals */
.modal-content-forest {
    background-color: var(--brand-forest-medium, #072F1F);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-lg, 1rem);
}

.modal-content-forest .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-content-forest .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-content-forest .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-content-lime {
    background-color: var(--brand-lime, #B4F105);
    color: var(--brand-forest-deep, #051C12);
    border: none;
    border-radius: var(--radius-lg, 1rem);
}

.modal-content-lime .modal-header {
    border-bottom: 1px solid rgba(5, 28, 18, 0.15);
}

.modal-content-lime .modal-footer {
    border-top: 1px solid rgba(5, 28, 18, 0.15);
}

/* Avatar Image Utility Sizes */
.avatar-xs {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: cover;
}

.avatar-sm {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: cover;
}

.avatar-md {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
}

.avatar-lg {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
}

.avatar-xl {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
}

.img-cover-preview {
    height: 140px;
    object-fit: cover;
    width: 100%;
}

/* Progress Bar Utility Sizing & Brand Styles */
.progress {
    background-color: #EEF2F2;
    border-radius: var(--radius-md, 0.5rem);
    overflow: hidden;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.725rem;
    font-weight: 700;
    line-height: 1;
    transition: width 0.6s ease;
}

.progress-xs {
    height: 4px;
    border-radius: 2px;
}

.progress-sm {
    height: 8px;
    border-radius: 4px;
}

.progress-md {
    height: 14px;
    border-radius: 6px;
}

.progress-lg {
    height: 22px;
    border-radius: 8px;
}

.bg-forest {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
}

.bg-lime {
    background-color: var(--brand-lime, #B4F105) !important;
    color: var(--brand-forest-deep, #051C12) !important;
}

/* Percentage Width Utilities */
.w-10-pct { width: 10% !important; }
.w-15-pct { width: 15% !important; }
.w-20-pct { width: 20% !important; }
.w-25-pct { width: 25% !important; }
.w-30-pct { width: 30% !important; }
.w-35-pct { width: 35% !important; }
.w-40-pct { width: 40% !important; }
.w-45-pct { width: 45% !important; }
.w-50-pct { width: 50% !important; }
.w-55-pct { width: 55% !important; }
.w-60-pct { width: 60% !important; }
.w-65-pct { width: 65% !important; }
.w-70-pct { width: 70% !important; }
.w-75-pct { width: 75% !important; }
.w-80-pct { width: 80% !important; }
.w-85-pct { width: 85% !important; }
.w-90-pct { width: 90% !important; }
.w-95-pct { width: 95% !important; }
.w-100-pct { width: 100% !important; }

/* Custom Brand Tabs & Accordions Styles */
.nav-tabs .nav-link {
    color: var(--text-muted-green, #6C7E75);
    font-weight: 600;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.65rem 1.25rem;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link.active {
    color: var(--brand-forest-medium, #072F1F);
    background-color: transparent;
    border-bottom: 2px solid var(--brand-forest-medium, #072F1F);
}

.nav-tabs .nav-link:hover:not(.active) {
    color: var(--brand-forest-medium, #072F1F);
    border-bottom: 2px solid rgba(7, 47, 31, 0.2);
}

.nav-pills .nav-link {
    color: var(--text-muted-green, #6C7E75);
    font-weight: 600;
    border-radius: var(--radius-md, 0.5rem);
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--brand-forest-medium, #072F1F);
    color: var(--brand-lime, #B4F105);
}

.accordion-item {
    border-color: var(--border-light, #E9EFEF);
    border-radius: var(--radius-md, 0.5rem);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-main, #0B130F);
    background-color: #FFFFFF;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-forest-medium, #072F1F);
    background-color: rgba(7, 47, 31, 0.04);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(7, 47, 31, 0.25);
}

/* User Profile Component Styles */
.profile-header-card {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: var(--radius-xl, 1rem) !important;
}

.profile-cover-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.profile-avatar-wrapper {
    margin-top: -50px;
    position: relative;
    display: inline-block;
}

.profile-avatar-img {
    width: 110px;
    height: 110px;
    border: 4px solid #FFFFFF;
    box-shadow: 0 6px 18px rgba(5, 28, 18, 0.15);
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-status {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background-color: var(--sys-green, #22C55E);
    border: 3px solid #FFFFFF;
    border-radius: 50%;
}

.profile-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted-green, #6C7E75);
    background-color: #F4F7F5;
    border: 1px solid #E5ECE8;
    border-radius: 50rem;
    transition: all 0.2s ease;
}

.profile-meta-pill:hover {
    background-color: #EBF2EE;
    color: var(--text-main, #0B130F);
}

.profile-stat-box {
    background-color: #F6F9F8;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg, 0.75rem);
    text-align: center;
    border: 1px solid #E9EFEF;
    transition: all 0.2s ease;
}

.profile-stat-box:hover {
    border-color: var(--brand-forest-medium, #072F1F);
    transform: translateY(-2px);
}

.profile-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.profile-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-color: #E2ECE8;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--brand-forest-medium, #072F1F);
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 1px var(--brand-forest-medium, #072F1F);
}

.timeline-marker-lime {
    background-color: var(--brand-lime, #B4F105);
    box-shadow: 0 0 0 1px #051C12;
}

.text-muted-green {
    color: var(--text-muted-green, #4A6356) !important;
}

.badge-timeline {
    background-color: #E8F0EC !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    border: 1px solid rgba(7, 47, 31, 0.15) !important;
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-md, 0.375rem);
}

/* Brand Custom Buttons */
.btn-forest-primary,
.btn-forest {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--brand-forest-medium, #072F1F) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-forest-primary:hover,
.btn-forest:hover {
    background-color: var(--brand-forest-deep, #051C12) !important;
    border-color: var(--brand-forest-deep, #051C12) !important;
    color: var(--brand-lime, #B4F105) !important;
    box-shadow: 0 4px 12px rgba(7, 47, 31, 0.25);
}

.btn-lime-primary,
.btn-lime {
    background-color: var(--brand-lime, #B4F105) !important;
    color: var(--brand-forest-deep, #051C12) !important;
    border: 1px solid var(--brand-lime, #B4F105) !important;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-lime-primary:hover,
.btn-lime:hover {
    background-color: #9EE000 !important;
    border-color: #9EE000 !important;
    color: #051C12 !important;
    box-shadow: 0 4px 12px rgba(180, 241, 5, 0.35);
}

.btn-outline-forest {
    background-color: transparent !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    border: 1px solid var(--brand-forest-medium, #072F1F) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-outline-forest:hover {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: var(--brand-lime, #B4F105) !important;
}

.btn-outline-secondary-custom {
    background-color: #FFFFFF !important;
    color: #6C7E75 !important;
    border: 1px solid #D6E2DD !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-outline-secondary-custom:hover {
    background-color: #F0F4F2 !important;
    color: #0B130F !important;
    border-color: #B5C9C0 !important;
}

.btn-soft-forest {
    background-color: rgba(7, 47, 31, 0.08) !important;
    color: var(--brand-forest-medium, #072F1F) !important;
    border: 1px solid transparent !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md, 0.5rem);
}

.btn-soft-forest:hover {
    background-color: rgba(7, 47, 31, 0.16) !important;
}

/* Pricing Table Component Styles */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--radius-md, 0.75rem);
    border: 1px solid #E9EFEF;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(7, 47, 31, 0.08) !important;
}

.pricing-card-popular {
    border: 2px solid var(--brand-forest-medium, #072F1F) !important;
    background-color: #FFFFFF;
}

.pricing-ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    transform: rotate(45deg);
    background-color: var(--brand-lime, #B4F105);
    color: var(--brand-forest-deep, #051C12);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pricing-amount {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-forest-medium, #072F1F);
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--text-muted-green, #6C7E75);
}

.pricing-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.pricing-features-list li {
    padding: 0.45rem 0;
    font-size: 0.875rem;
    color: var(--text-main, #0B130F);
    display: flex;
    align-items: center;
}

.pricing-features-list li.disabled {
    color: #A0B2A9;
    text-decoration: line-through;
}

.pricing-switch-wrapper {
    background-color: #EEF3F0;
    padding: 0.35rem 0.5rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---------------------------------------------------------------------
   28. Premium Forms Component Suite
--------------------------------------------------------------------- */
/* Input Group Extensions & Seamless Layout Fixes */
.input-group > .form-control-custom,
.input-group > .form-select-custom,
.input-group > .form-control,
.input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group-text-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8FAF9;
    border: 1px solid rgba(11, 19, 15, 0.12);
    color: var(--text-muted-green, #6C7E75);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 0.85rem;
    white-space: nowrap;
}

/* Outer left border radius for the first control */
.input-group > :first-child:not(.dropdown-menu),
.input-group > .form-control:first-child,
.input-group > .form-control-custom:first-child,
.input-group > .input-group-text:first-child,
.input-group > .input-group-text-custom:first-child,
.input-group > .btn:first-child {
    border-top-left-radius: var(--radius-lg, 0.75rem) !important;
    border-bottom-left-radius: var(--radius-lg, 0.75rem) !important;
}

/* Reset left radius & overlap border for non-first controls */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback):not(.valid-feedback-custom):not(.invalid-feedback-custom) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-left: -1px;
}

/* Outer right border radius for last control in standard input groups */
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group:not(.has-validation) > :last-child:not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: var(--radius-lg, 0.75rem) !important;
    border-bottom-right-radius: var(--radius-lg, 0.75rem) !important;
}

/* Outer right border radius for input groups with validation feedback */
.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group.has-validation > :nth-last-child(2):not(.dropdown-toggle):not(.dropdown-menu),
.input-group > :nth-last-child(2):is(.input-group > :has(+ .invalid-feedback), .input-group > :has(+ .valid-feedback), .input-group > :has(+ .invalid-feedback-custom), .input-group > :has(+ .valid-feedback-custom)) {
    border-top-right-radius: var(--radius-lg, 0.75rem) !important;
    border-bottom-right-radius: var(--radius-lg, 0.75rem) !important;
}

.input-group .form-control-custom:focus,
.input-group .form-select-custom:focus,
.input-group .form-control:focus,
.input-group .form-select:focus,
.input-group .btn:focus {
    z-index: 5;
}

/* Icon Inside Input Field Component */
.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-group .input-icon-start {
    position: absolute;
    left: 1rem;
    color: var(--text-muted-green, #6C7E75);
    font-size: 1rem;
    pointer-events: none;
    z-index: 4;
    display: flex;
    align-items: center;
}

.input-icon-group .input-icon-end {
    position: absolute;
    right: 1rem;
    color: var(--text-muted-green, #6C7E75);
    font-size: 1rem;
    pointer-events: none;
    z-index: 4;
    display: flex;
    align-items: center;
}

.input-icon-group .form-control-custom.has-icon-start {
    padding-left: 2.75rem;
}

.input-icon-group .form-control-custom.has-icon-end {
    padding-right: 2.75rem;
}

/* Floating Labels Styling */
.form-floating-custom > .form-control,
.form-floating-custom > .form-select {
    border: 1px solid rgba(11, 19, 15, 0.12);
    border-radius: var(--radius-lg, 8px);
    background-color: #FFFFFF;
    color: var(--text-main, #0B130F);
    font-size: 0.875rem;
    font-weight: 500;

}

.form-floating-custom > .form-control:focus,
.form-floating-custom > .form-select:focus {
    border-color: var(--brand-forest-medium, #072F1F);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.form-floating-custom > label {
    color: var(--text-muted-green, #6C7E75);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Custom Switches & Radios Extensions */
.form-switch-custom .form-check-input-custom {
    width: 2.5em;
    height: 1.35em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236C7E75'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em;
    transition: background-position 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.form-switch-custom .form-check-input-custom:checked {
    background-position: right center;
    background-color: var(--brand-forest-medium, #072F1F);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%239FE870'/%3e%3c/svg%3e");
    border-color: var(--brand-forest-medium, #072F1F);
}

/* Range Slider Styling */
.form-range-custom {
    width: 100%;
    height: 0.5rem;
    padding: 0;
    background-color: #E2E8E4;
    border-radius: 1rem;
    appearance: none;
}

.form-range-custom::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--brand-forest-medium, #072F1F);
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.form-range-custom::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background-color: var(--brand-lime, #9FE870);
}

/* Validation Custom Feedback */
.form-control-custom.is-valid,
.was-validated .form-control-custom:valid {
    border-color: #10B981 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310B981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.7c-.43.5-1.1.5-1.5 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control-custom.is-invalid,
.was-validated .form-control-custom:invalid {
    border-color: #EF4444 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23EF4444' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23EF4444'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.valid-feedback-custom {
    display: none;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.785rem;
    color: #10B981;
    font-weight: 500;
}

.invalid-feedback-custom {
    display: none;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.785rem;
    color: #EF4444;
    font-weight: 500;
}

.was-validated :valid ~ .valid-feedback-custom,
.was-validated :valid ~ .valid-tooltip,
.is-valid ~ .valid-feedback-custom,
.is-valid ~ .valid-tooltip {
    display: block;
}

.was-validated :invalid ~ .invalid-feedback-custom,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback-custom,
.is-invalid ~ .invalid-tooltip {
    display: block;
}

/* Password Strength Indicator */
.password-strength-meter {
    height: 5px;
    background-color: #E2E8E4;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Drag and Drop File Upload Zone */
.dropzone-box {
    border: 2px dashed rgba(7, 47, 31, 0.2);
    border-radius: var(--radius-xl, 12px);
    background-color: #F8FAF9;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.dropzone-box:hover,
.dropzone-box.drag-over {
    border-color: var(--brand-forest-medium, #072F1F);
    background-color: rgba(7, 47, 31, 0.03);
    transform: translateY(-2px);
}

.dropzone-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(7, 47, 31, 0.06);
    color: var(--brand-forest-medium, #072F1F);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.dropzone-box:hover .dropzone-icon-box {
    background-color: var(--brand-forest-medium, #072F1F);
    color: var(--brand-lime, #9FE870);
}

.file-preview-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(11, 19, 15, 0.1);
    border-radius: var(--radius-lg, 8px);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.file-preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(7, 47, 31, 0.06);
    color: var(--brand-forest-medium, #072F1F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Quill Editor Overrides */
.quill-editor-wrapper {
    background: #FFFFFF;
    border: 1px solid rgba(11, 19, 15, 0.15);
    border-radius: var(--radius-lg, 8px);
    overflow: hidden;
}

.ql-toolbar.ql-snow {
    border: none !important;
    border-bottom: 1px solid rgba(11, 19, 15, 0.12) !important;
    background-color: #F8FAF9;
    font-family: inherit !important;
    border-radius: 0 !important;
}

.ql-container.ql-snow {
    border: none !important;
    min-height: 220px;
    font-family: inherit !important;
    font-size: 0.9rem !important;
    color: var(--text-main, #0B130F) !important;
    border-radius: 0 !important;
}

.ql-container.ql-bubble {
    border: 1px solid rgba(11, 19, 15, 0.15) !important;
    border-radius: var(--radius-lg, 8px) !important;
    min-height: 180px;
    font-family: inherit !important;
    background-color: #FFFFFF;
}

.ql-snow .ql-stroke {
    stroke: var(--text-main, #0B130F) !important;
}

.ql-snow .ql-fill {
    fill: var(--text-main, #0B130F) !important;
}

.ql-snow .ql-picker-label {
    color: var(--text-main, #0B130F) !important;
}

/* Reusable Form Utilities */
.progress-xs {
    height: 4px;
}

.min-h-250 {
    min-height: 250px;
}

.text-lime {
    color: var(--brand-lime, #9FE870) !important;
}

.text-forest {
    color: var(--brand-forest-medium, #072F1F) !important;
}

.bg-forest {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
}

.bg-lime {
    background-color: var(--brand-lime, #9FE870) !important;
    color: var(--brand-forest-deep, #051C12) !important;
}

.code-output-box {
    background-color: #051C12 !important;
    color: #9FE870 !important;
    border: 1px solid rgba(159, 232, 112, 0.2);
    border-radius: var(--radius-lg, 8px);
    padding: 1rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.825rem;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Helper Layout Utilities for Rich Content Components */
.chat-contacts-scroll {
    max-height: 520px;
}

.chat-main-panel {
    min-height: 520px;
}

.invoice-summary-box {
    min-width: 240px;
}

.mw-280 {
    max-width: 280px;
}

.mw-160 {
    max-width: 160px;
}

.w-45p {
    width: 45%;
}

.w-30p {
    width: 30%;
}

.w-15p {
    width: 15%;
}

.w-10p {
    width: 10%;
}

/* Auth Centered Icon Box & OTP Grid Extensions */
.auth-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.otp-input-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-lg, 0.75rem);
    border: 1px solid rgba(11, 19, 15, 0.15);
    background-color: #FFFFFF;
    color: var(--text-main, #0B130F);
    transition: all 0.2s ease;
}

.otp-input:focus {
    border-color: var(--brand-forest-medium, #072F1F);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
    outline: none;
}

/* ---------------------------------------------------------------------
   29. Chat Application Component Suite
--------------------------------------------------------------------- */
.chat-app-wrapper,
.chat-sidebar-card,
.chat-main-card {
    border-radius: var(--radius-xl, 1rem);
    border: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    overflow: hidden;
    height: 100%;
}

.chat-sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #F8FAF9;
}

.chat-nav-tabs .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted-green, #4A6356);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md, 0.5rem);
    transition: all 0.2s ease;
}

.chat-nav-tabs .nav-link:hover {
    color: var(--brand-forest-medium, #072F1F);
    background-color: rgba(7, 47, 31, 0.04);
}

.chat-nav-tabs .nav-link.active {
    color: var(--brand-forest-medium, #072F1F);
    background-color: rgba(159, 232, 112, 0.25);
}

.chat-contact-list {
    max-height: 540px;
    overflow-y: auto;
}

.chat-contact-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(11, 19, 15, 0.04);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color: var(--text-main, #0B130F);
}

.chat-contact-item:hover {
    background-color: #F4F7F5;
}

.chat-contact-item.active {
    background-color: var(--brand-forest-medium, #072F1F) !important;
    color: #FFFFFF !important;
}

.chat-contact-item.active h1,
.chat-contact-item.active h2,
.chat-contact-item.active h3,
.chat-contact-item.active h4,
.chat-contact-item.active h5,
.chat-contact-item.active h6,
.chat-contact-item.active .chat-contact-name,
.chat-contact-item.active .text-main {
    color: #FFFFFF !important;
}

.chat-contact-item.active .text-muted-green,
.chat-contact-item.active .chat-last-msg,
.chat-contact-item.active p,
.chat-contact-item.active small {
    color: rgba(255, 255, 255, 0.85) !important;
}

.chat-contact-item.active .chat-time {
    color: var(--brand-lime, #9FE870) !important;
}


.chat-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-right: 0.85rem;
}

.chat-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.chat-avatar-status.online {
    background-color: #10B981;
}

.chat-avatar-status.busy {
    background-color: #EF4444;
}

.chat-avatar-status.away {
    background-color: #F59E0B;
}

.chat-avatar-status.offline {
    background-color: #9CA3AF;
}

.chat-main-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 680px;
}

.chat-header-bar {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-messages-body {
    flex-grow: 1;
    padding: 1.5rem;
    background-color: #F5F7F6;
    overflow-y: auto;
    max-height: 520px;
}

.chat-date-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem 0;
    position: relative;
}

.chat-date-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: rgba(11, 19, 15, 0.08);
    z-index: 1;
}

.chat-date-badge {
    position: relative;
    z-index: 2;
    background-color: #FFFFFF;
    color: var(--text-muted-green, #4A6356);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 50rem;
    border: 1px solid rgba(11, 19, 15, 0.08);
}

.chat-message-row {
    display: flex;
    margin-bottom: 1.25rem;
}

.chat-message-row.incoming {
    justify-content: flex-start;
}

.chat-message-row.outgoing {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 70%;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-lg, 0.75rem);
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-bubble.incoming {
    background-color: #FFFFFF;
    color: var(--text-main, #0B130F);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 6px rgba(11, 19, 15, 0.04);
}

.chat-bubble.outgoing {
    background-color: var(--brand-forest-medium, #072F1F);
    color: #FFFFFF;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 12px rgba(7, 47, 31, 0.15);
}

.chat-meta-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 0.4rem;
    font-size: 0.725rem;
}

.chat-bubble.incoming .chat-meta-info {
    color: var(--text-muted-green, #4A6356);
}

.chat-bubble.outgoing .chat-meta-info {
    color: rgba(255, 255, 255, 0.7);
}

.chat-meta-info .check-read {
    color: var(--brand-lime, #9FE870);
}

.chat-attachment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md, 0.5rem);
    background-color: rgba(7, 47, 31, 0.05);
    margin-top: 0.5rem;
    border: 1px solid rgba(7, 47, 31, 0.1);
}

.chat-bubble.outgoing .chat-attachment-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.chat-audio-play-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 !important;
    border: none;
}

.chat-composer-bar {
    padding: 1rem 1.5rem;
    background-color: #FFFFFF;
    border-top: 1px solid rgba(11, 19, 15, 0.08);
}

.chat-composer-input {
    border-radius: var(--radius-lg, 0.75rem);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Typing Indicator Animation */
.typing-indicator-bubble {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.6rem 0.85rem;
    background-color: #FFFFFF;
    border-radius: var(--radius-lg, 0.75rem);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 6px rgba(11, 19, 15, 0.04);
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted-green, #4A6356);
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Contact Detail Right Offcanvas / Drawer Panel */
.chat-detail-panel {
    border-left: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    padding: 1.5rem;
}

/* ---------------------------------------------------------------------
   30. User Contacts Grid Component
--------------------------------------------------------------------- */
.user-grid-card {
    border-radius: var(--radius-xl, 1rem);
    border: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.user-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(7, 47, 31, 0.12) !important;
    border-color: var(--brand-forest-medium, #072F1F);
}

.user-card-header-bg {
    height: 90px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.user-card-header-bg.bg-cover-1 {
    background-image: url('../images/card-cover-1.jpg');
}

.user-card-header-bg.bg-cover-2 {
    background-image: url('../images/card-cover-2.jpg');
}

.user-card-header-bg.bg-cover-3 {
    background-image: url('../images/card-cover-3.jpg');
}

.user-card-header-bg.bg-cover-4 {
    background-image: url('../images/card-cover-4.jpg');
}

.user-card-header-bg.bg-gradient-forest {
    background: linear-gradient(135deg, #051C12 0%, #072F1F 50%, #124D35 100%);
}

.user-card-header-bg.bg-gradient-lime {
    background: linear-gradient(135deg, #072F1F 0%, #16563C 60%, #9FE870 100%);
}

.user-card-avatar-wrapper {
    position: relative;
    margin-top: -45px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.user-card-avatar-img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(11, 19, 15, 0.15);
}

.user-card-status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.user-card-status-badge.online { background-color: #10B981; }
.user-card-status-badge.away { background-color: #F59E0B; }
.user-card-status-badge.busy { background-color: #EF4444; }
.user-card-status-badge.offline { background-color: #9CA3AF; }

.user-card-stat-box {
    background-color: #F8FAF9;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-md, 0.5rem);
    text-align: center;
    border: 1px solid rgba(11, 19, 15, 0.05);
}

.user-card-stat-value {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main, #0B130F);
}

.user-card-stat-label {
    font-size: 0.725rem;
    color: var(--text-muted-green, #4A6356);
}

/* Seamless Search Pill Input & Social Mini Pill System */
.search-input-pill-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-pill-wrapper .search-icon {
    position: absolute;
    left: 1.15rem;
    color: var(--text-muted-green, #4A6356);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 5;
}

.search-input-pill {
    padding-left: 2.65rem !important;
    border-radius: 50rem !important;
    height: 42px;
    background-color: #FFFFFF;
    border: 1px solid rgba(11, 19, 15, 0.12);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.search-input-pill:focus {
    border-color: var(--brand-forest-medium, #072F1F);
    box-shadow: 0 0 0 3px rgba(7, 47, 31, 0.08);
}

.form-select-pill {
    border-radius: 50rem !important;
    height: 42px;
    padding-left: 1.25rem !important;
    padding-right: 2.25rem !important;
    border: 1px solid rgba(11, 19, 15, 0.12);
    font-size: 0.875rem;
    background-color: #FFFFFF;
}

.user-card-action-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--brand-forest-dark, #051C12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.user-card-action-btn:hover {
    background-color: #FFFFFF;
    color: var(--brand-forest-medium, #072F1F);
    transform: scale(1.08);
}

.user-social-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F4F7F5;
    color: var(--brand-forest-medium, #072F1F);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(11, 19, 15, 0.06);
}

.user-social-pill:hover {
    background-color: var(--brand-forest-medium, #072F1F);
    color: var(--brand-lime, #9FE870);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------
   31. Email Application Component Suite
--------------------------------------------------------------------- */
.email-app-card,
.email-sidebar-card,
.email-main-card {
    border-radius: var(--radius-xl, 1rem);
    border: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    overflow: hidden;
}

.email-sidebar {
    padding: 1.25rem;
    background-color: #FFFFFF;
    height: 100%;
}

.email-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md, 0.5rem);
    color: var(--text-main, #0B130F);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.email-nav-item:hover {
    background-color: rgba(7, 47, 31, 0.04);
    color: var(--brand-forest-medium, #072F1F);
}

.email-nav-item.active {
    background-color: var(--brand-forest-medium, #072F1F);
    color: #FFFFFF !important;
}

.email-nav-item.active .badge {
    background-color: var(--brand-lime, #9FE870) !important;
    color: #051C12 !important;
}

.email-list-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.email-item-row {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(11, 19, 15, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-main, #0B130F);
    gap: 1rem;
    width: 100%;
}

.email-item-row:hover {
    background-color: #F4F7F5;
}

.email-item-row.unread {
    background-color: #F8FAF9;
}

.email-item-star {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.email-item-avatar {
    flex-shrink: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.email-item-sender-col {
    width: 190px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-item-sender {
    font-size: 0.875rem;
    color: var(--text-main, #0B130F);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-item-row.unread .email-item-sender {
    font-weight: 800;
    color: var(--brand-forest-medium, #072F1F);
}

.email-item-body-col {
    flex: 1 1 0%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    color: var(--text-muted-green, #4A6356);
}

.email-item-row.unread .email-item-body-col {
    font-weight: 600;
    color: var(--text-main, #0B130F);
}

.email-item-right-col {
    flex-shrink: 0;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted-green, #4A6356);
}

.email-star-toggle {
    color: #CBD5E1;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.email-star-toggle.starred,
.email-star-toggle:hover {
    color: #F59E0B;
}

.email-read-container {
    padding: 2rem;
    background-color: #FFFFFF;
}

.email-read-header-card {
    padding: 1.25rem 1.5rem;
    background-color: #F8FAF9;
    border-radius: var(--radius-lg, 0.75rem);
    border: 1px solid rgba(11, 19, 15, 0.08);
    margin-bottom: 1.5rem;
}

.email-attachment-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-lg, 0.75rem);
    background-color: #F8FAF9;
    border: 1px solid rgba(11, 19, 15, 0.08);
    transition: all 0.2s ease;
}

.email-attachment-box:hover {
    border-color: var(--brand-forest-medium, #072F1F);
    box-shadow: 0 4px 12px rgba(7, 47, 31, 0.08);
}

/* ---------------------------------------------------------------------
   32. Invoice Application Component Suite
--------------------------------------------------------------------- */
.invoice-card {
    border-radius: var(--radius-xl, 1rem);
    border: 1px solid rgba(11, 19, 15, 0.08);
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(11, 19, 15, 0.04);
}

.invoice-header-box {
    padding: 1.5rem;
    background-color: #F8FAF9;
    border-radius: var(--radius-lg, 0.75rem);
    border: 1px solid rgba(11, 19, 15, 0.06);
}

.invoice-summary-box {
    padding: 1.25rem 1.5rem;
    background-color: #F8FAF9;
    border-radius: var(--radius-lg, 0.75rem);
    border: 1px solid rgba(11, 19, 15, 0.08);
}

.kpi-icon-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    max-width: 46px;
    max-height: 46px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 !important;
}

.kpi-amount-text {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------------
   33. Maintenance & Coming Soon Pages
--------------------------------------------------------------------- */
.maintenance-card {
    max-width: 580px;
    width: 100%;
}

.coming-soon-card {
    max-width: 640px;
    width: 100%;
}

.countdown-box {
    background-color: #F8FAF9;
    border: 1px solid rgba(11, 19, 15, 0.08);
    border-radius: var(--radius-lg, 0.75rem);
    padding: 0.85rem 1rem;
    text-align: center;
}

.countdown-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-forest-dark, #051F14);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted-green, #4A6356);
    font-weight: 600;
    margin-top: 0.25rem;
}

.chart-container-300 {
    position: relative;
    height: 300px;
    width: 100%;
}

/* ---------------------------------------------------------------------
   34. jQuery Sparkline Tooltip Styles
--------------------------------------------------------------------- */
.jqstooltip {
    background-color: #051F14 !important;
    border: 1px solid rgba(159, 232, 112, 0.3) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    box-shadow: 0 4px 14px rgba(5, 31, 20, 0.25) !important;
    height: auto !important;
    width: auto !important;
    min-width: 60px !important;
    text-align: center !important;
    box-sizing: content-box !important;
    z-index: 1050 !important;
}

.jqsfield {
    color: #9FE870 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.lightbox-thumb-img {
    height: 220px;
    object-fit: cover;
}

/* ---------------------------------------------------------------------
   35. Utility & Helper Classes
--------------------------------------------------------------------- */
.star-label-width { width: 50px; }
.star-percent-width { width: 45px; }
.progress-slim { height: 8px; }
.w-progress-85 { width: 85%; }
.w-progress-10 { width: 10%; }
.w-progress-3 { width: 3%; }
.w-progress-1 { width: 1%; }

.stat-circle-icon {
    width: 54px;
    height: 54px;
}

.map-container-380 {
    height: 380px;
    width: 100%;
}

.map-container-480 {
    height: 480px;
    width: 100%;
}








