/* =================================================================
   Industry Dar ERP - Main Stylesheet (RTL & Modern Design System)
   ================================================================= */

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

:root {
    /* Layout Sizes */
    --sidebar-width-expanded: 210px;
    --sidebar-width-collapsed: 60px;
    --topbar-height: 48px;
    --bottombar-height: 28px;
    
    /* Transitions & Shadows */
    --transition-speed: 0.25s;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.25);
    --radius-card: 16px;
    --radius-btn: 10px;

    /* Theme 1: Default (Industry Slate Navy) */
    --sidebar-bg: #0b132b;
    --sidebar-hover: #1c2541;
    --sidebar-active: #2563eb;
    --sidebar-text: rgba(255, 255, 255, 0.88);
    --sidebar-text-hover: #ffffff;
    --sidebar-section-title: rgba(255, 255, 255, 0.45);

    --topbar-bg: #0f172a;
    --topbar-title-color: #ffffff;
    --topbar-desc-color: rgba(255, 255, 255, 0.65);

    --bottombar-bg: #0b132b;
    --workspace-bg: #090d16;
    
    --card-bg: rgba(26, 35, 58, 0.75);
    --card-hover-bg: rgba(32, 44, 74, 0.9);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(59, 130, 246, 0.4);
    
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #64748b;
    
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;

    --modal-bg: #1e293b;
    --modal-footer-bg: rgba(15, 23, 42, 0.4);
    --table-th-bg: rgba(15, 23, 42, 0.8);
    --table-hover-bg: rgba(255, 255, 255, 0.03);
    --input-bg: rgba(15, 23, 42, 0.6);
    --input-border: rgba(255, 255, 255, 0.08);
    --btn-theme-bg: rgba(255, 255, 255, 0.08);
    --btn-theme-border: rgba(255, 255, 255, 0.18);
    --company-badge-bg: rgba(255, 255, 255, 0.12);
    --company-badge-color: #e2e8f0;
    --company-badge-border: rgba(255, 255, 255, 0.15);
}

/* Theme 2: Daftra Blue */
html[data-theme="daftra"], body[data-theme="daftra"] {
    --sidebar-bg: #13294b;
    --sidebar-hover: #1b3a6b;
    --sidebar-active: #1e50bc;
    --topbar-bg: #10223e;
    --bottombar-bg: #0e1b30;
    --workspace-bg: #0b192e;
    --primary-color: #1e50bc;
    --primary-hover: #18429c;
    --card-bg: rgba(24, 49, 87, 0.75);
    --card-hover-bg: rgba(30, 60, 105, 0.9);
    --card-border-hover: rgba(30, 80, 188, 0.5);
}

/* Theme 3: Professional Green */
html[data-theme="pro-green"], body[data-theme="pro-green"] {
    --sidebar-bg: #062e24;
    --sidebar-hover: #0b4335;
    --sidebar-active: #059669;
    --topbar-bg: #04231b;
    --bottombar-bg: #031a14;
    --workspace-bg: #02140f;
    --primary-color: #059669;
    --primary-hover: #047857;
    --card-bg: rgba(10, 52, 41, 0.75);
    --card-hover-bg: rgba(15, 68, 54, 0.9);
    --card-border-hover: rgba(5, 150, 105, 0.5);
}

/* Theme 4: Odoo Purple */
html[data-theme="odoo"], body[data-theme="odoo"] {
    --sidebar-bg: #231724;
    --sidebar-hover: #352336;
    --sidebar-active: #714b67;
    --topbar-bg: #1c121d;
    --bottombar-bg: #160e17;
    --workspace-bg: #120a13;
    --primary-color: #714b67;
    --primary-hover: #5c3c54;
    --card-bg: rgba(43, 28, 44, 0.75);
    --card-hover-bg: rgba(56, 36, 57, 0.9);
    --card-border-hover: rgba(113, 75, 103, 0.5);
}

/* Theme 5: Professional Neutral */
html[data-theme="neutral"], body[data-theme="neutral"] {
    --sidebar-bg: #18181b;
    --sidebar-hover: #27272a;
    --sidebar-active: #4b5563;
    --topbar-bg: #121215;
    --bottombar-bg: #0d0d0f;
    --workspace-bg: #09090b;
    --primary-color: #6b7280;
    --primary-hover: #4b5563;
    --card-bg: rgba(30, 30, 35, 0.75);
    --card-hover-bg: rgba(42, 42, 48, 0.9);
    --card-border-hover: rgba(107, 114, 128, 0.5);
}

/* Mode 2: Full Light Mode (Sidebar & Workspace Light; Topbar & Bottombar remain in chosen Dark Theme) */
html.light-full-mode, body.light-full-mode {
    --sidebar-bg: #ffffff !important;
    --sidebar-hover: #f1f5f9 !important;
    --sidebar-active: var(--primary-color) !important;
    --sidebar-text: #334155 !important;
    --sidebar-text-hover: var(--primary-color) !important;
    --sidebar-section-title: #64748b !important;

    --workspace-bg: #f8fafc !important;
}

html.light-full-mode .app-workspace,
body.light-full-mode .app-workspace {
    --card-bg: #ffffff !important;
    --card-hover-bg: #f8fafc !important;
    --card-border: #cbd5e1 !important;
    --card-border-hover: var(--primary-color) !important;
    
    --text-color: #0f172a !important;
    --text-muted: #475569 !important;
    --text-dim: #64748b !important;

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04) !important;

    --table-th-bg: #f8fafc !important;
    --table-hover-bg: #f1f5f9 !important;
    --input-bg: #ffffff !important;
    --input-border: #cbd5e1 !important;
    color: #0f172a;
}

html.light-full-mode .modal-container,
body.light-full-mode .modal-container {
    --modal-bg: #ffffff !important;
    --modal-footer-bg: #f8fafc !important;
    --card-bg: #ffffff !important;
    --card-border: #cbd5e1 !important;
    --text-color: #0f172a !important;
    --text-muted: #475569 !important;
    --text-dim: #64748b !important;
    --input-bg: #ffffff !important;
    --input-border: #cbd5e1 !important;
    color: #0f172a;
}

/* Mode 3: White Workspace ONLY */
/* Topbar, Sidebar, and Bottombar remain 100% untouched in their Dark Theme colors/fonts; ONLY Workspace turns White */
html.white-workspace-mode, body.white-workspace-mode {
    --workspace-bg: #f8fafc !important;
}

html.white-workspace-mode .app-workspace,
body.white-workspace-mode .app-workspace {
    --card-bg: #ffffff !important;
    --card-hover-bg: #f8fafc !important;
    --card-border: #cbd5e1 !important;
    --card-border-hover: var(--primary-color) !important;
    
    --text-color: #0f172a !important;
    --text-muted: #475569 !important;
    --text-dim: #64748b !important;

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04) !important;

    --table-th-bg: #f8fafc !important;
    --table-hover-bg: #f1f5f9 !important;
    --input-bg: #ffffff !important;
    --input-border: #cbd5e1 !important;
    color: #0f172a;
}

html.white-workspace-mode .modal-container,
body.white-workspace-mode .modal-container {
    --modal-bg: #ffffff !important;
    --modal-footer-bg: #f8fafc !important;
    --card-bg: #ffffff !important;
    --card-border: #cbd5e1 !important;
    --text-color: #0f172a !important;
    --text-muted: #475569 !important;
    --text-dim: #64748b !important;
    --input-bg: #ffffff !important;
    --input-border: #cbd5e1 !important;
    color: #0f172a;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    background-color: var(--workspace-bg);
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Universal Typography Enforcement matching Payment Methods screen */
button, input, select, textarea, optgroup, option, label, table, th, td, .btn, .simple-button, .md-btn, .tab-btn, .nav-text, .page-title, .page-desc {
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

/* App Shell Structure */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    padding-bottom: var(--bottombar-height);
}

/* Sidebar */
.app-sidebar {
    width: var(--sidebar-width-expanded);
    background-color: var(--sidebar-bg);
    border-left: 1px solid var(--card-border);
    position: fixed;
    top: var(--topbar-height);
    right: 0;
    bottom: var(--bottombar-height);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Collapsed Sidebar State */
html.sidebar-collapsed .app-sidebar,
body.sidebar-collapsed .app-sidebar {
    width: var(--sidebar-width-collapsed);
    overflow: visible !important;
}

html.sidebar-collapsed .sidebar-nav,
body.sidebar-collapsed .sidebar-nav {
    overflow: visible !important;
}

/* Sidebar Header */
.sidebar-header {
    height: var(--topbar-height);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    overflow: hidden;
    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.sidebar-collapsed .brand-name {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.sidebar-toggle-btn:hover {
    background: var(--sidebar-hover);
    color: var(--text-color);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 6px 4px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
    width: 3px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 3px;
}

.nav-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sidebar-section-title);
    padding: 6px 10px 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity var(--transition-speed);
    white-space: nowrap;
}

body.sidebar-collapsed .nav-section-title {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.nav-link:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-hover);
}

.nav-link.active {
    background: var(--primary-color);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-icon {
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-text {
    transition: opacity var(--transition-speed);
}

body.sidebar-collapsed .nav-text {
    opacity: 0;
    pointer-events: none;
    width: 0;
}

/* Tooltip for Collapsed Sidebar - High Contrast & Pointer Arrow */
html.sidebar-collapsed .nav-item[data-tooltip]:hover::after,
body.sidebar-collapsed .nav-item[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7), 0 0 10px rgba(59, 130, 246, 0.3);
    border: 1px solid var(--primary-color);
    z-index: 9999;
    pointer-events: none;
    animation: fadeInTooltip 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

html.sidebar-collapsed .nav-item[data-tooltip]:hover::before,
body.sidebar-collapsed .nav-item[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
    z-index: 10000;
    pointer-events: none;
    animation: fadeInTooltip 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInTooltip {
    from { opacity: 0; transform: translateY(-50%) translateX(8px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Main Content Area */
.app-main {
    flex: 1;
    margin-right: var(--sidebar-width-expanded);
    padding-top: var(--topbar-height);
    padding-bottom: var(--bottombar-height);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-right var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    width: calc(100% - var(--sidebar-width-expanded));
}

html.sidebar-collapsed .app-main,
body.sidebar-collapsed .app-main {
    margin-right: var(--sidebar-width-collapsed);
    width: calc(100% - var(--sidebar-width-collapsed));
}

/* Topbar Header (Fixed Full-Width 100% Wall-to-Wall Edge-to-Edge) */
.app-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background-color: var(--topbar-bg) !important;
    border-bottom: 1px solid var(--card-border);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1100;
    color: #ffffff !important;
}

.topbar-vdivider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 6px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-title-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topbar-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffffff !important;
    letter-spacing: -0.3px;
}

.topbar-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75) !important;
    white-space: nowrap;
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.company-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    color: #f1f5f9 !important;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Sidebar Toggle Button (Top Right) - High Prominence */
.app-topbar .sidebar-toggle-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.app-topbar .sidebar-toggle-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5) !important;
}

/* Quick Search Input - High Prominence */
.topbar-search {
    position: relative;
    width: 290px;
}

.topbar-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 10px;
    padding: 8px 38px 8px 14px;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.topbar-search input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.topbar-search input:focus {
    border-color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.35) !important;
}

.topbar-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #38bdf8 !important;
    font-size: 0.95rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme & Appearance Trigger Button - Prominent Pill Gradient */
.btn-theme-trigger {
    padding: 7px 16px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    cursor: pointer;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-theme-trigger i {
    color: #38bdf8 !important;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.btn-theme-trigger:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55) !important;
    transform: translateY(-2px);
}

.btn-theme-trigger:hover i {
    color: #ffffff !important;
    filter: none;
}

.theme-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.theme-color-option, .theme-mode-option {
    padding: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.theme-color-option:hover, .theme-mode-option:hover {
    border-color: var(--primary-color);
    background: var(--sidebar-hover);
}

.theme-color-option.active, .theme-mode-option.active {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
    font-weight: 700;
}

.color-preview {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* User Profile Badge (Top Left) - Glass Pill */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

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

.user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--topbar-title-color, #ffffff);
}

.user-role {
    font-size: 0.75rem;
    color: var(--topbar-desc-color, #94a3b8);
}

/* Workspace Area */
.app-workspace {
    flex: 1;
    padding: 10px 16px;
}

/* Page Header Component */
.page-header {
    margin-bottom: 0;
    display: none;
}

.page-header-text {
    flex: 1;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb-separator {
    color: var(--text-dim);
    font-size: 0.75rem;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.page-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.page-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

.btn-icon-only {
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Toolbar & Filters */
.toolbar-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    backdrop-filter: blur(12px);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.search-input-wrap {
    position: relative;
    min-width: 260px;
    flex: 1;
}

.search-input-wrap input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 10px 38px 10px 14px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input-wrap input:focus {
    border-color: var(--primary-color);
}

.search-input-wrap .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.form-select {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.form-select option {
    background: var(--modal-bg);
    color: var(--text-color);
}

/* Data Table Component */
.table-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.data-table th {
    background: var(--table-th-bg);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 1px solid var(--card-border);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.92rem;
    color: var(--text-color);
    vertical-align: middle;
}

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

.data-table tr:hover td {
    background: var(--table-hover-bg);
}

/* Status Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-type-pill {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Action Buttons */
.actions-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-color);
}

.btn-action.edit:hover { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border-color: rgba(59, 130, 246, 0.4); }
.btn-action.toggle:hover { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border-color: rgba(245, 158, 11, 0.4); }
.btn-action.delete:hover { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border-color: rgba(239, 68, 68, 0.4); }

/* Empty Table State */
.empty-state {
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.6;
}

/* Modal Overlay & Box */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--modal-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.25s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-color);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--sidebar-hover);
    color: var(--text-color);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--modal-footer-bg);
}

/* Form Controls */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-color);
}

.form-label .required {
    color: var(--danger-color);
    margin-right: 2px;
}

.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
}

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

.form-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin-top: 8px;
}

.form-checkbox-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #1e293b;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success { border-right: 4px solid var(--success-color); }
.toast.error { border-right: 4px solid var(--danger-color); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Module Section & Cards */
.module-section {
    margin-bottom: 36px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.module-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 24px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    background-color: var(--card-hover-bg);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-card);
}

.module-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-badge {
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.card-body {
    flex: 1;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.88rem;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-arrow {
    transition: transform 0.2s ease;
}

.module-card:hover .card-arrow {
    transform: translateX(-4px);
}

/* Bottom Status Bar */
.app-bottombar {
    height: var(--bottombar-height);
    background-color: var(--bottombar-bg);
    border-top: 1px solid var(--card-border);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.status-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}

/* Icon Color Helpers for Vibrant Professional Icons & Buttons */
.icon-blue    { color: #60a5fa !important; }
.icon-emerald { color: #34d399 !important; }
.icon-amber   { color: #fbbf24 !important; }
.icon-purple  { color: #c084fc !important; }
.icon-pink    { color: #f472b6 !important; }
.icon-cyan    { color: #22d3ee !important; }
.icon-orange  { color: #fb923c !important; }
.icon-indigo  { color: #818cf8 !important; }
.icon-red     { color: #f87171 !important; }
.icon-teal    { color: #2dd4bf !important; }
.icon-rose    { color: #fb7185 !important; }
.icon-sky     { color: #38bdf8 !important; }
.icon-lime    { color: #a3e635 !important; }
.icon-gold    { color: #facc15 !important; }
.icon-slate   { color: #94a3b8 !important; }
.icon-violet  { color: #a78bfa !important; }

/* Force active sidebar icon to white */
.nav-link.active .nav-icon,
.nav-link.active .nav-icon i {
    color: #ffffff !important;
}

/* =================================================================
   Global Universal Form Control & Input Field High-Clarity Design System
   Applies across ALL screens without exception:
   - Dark Mode (Default)
   - Full Light Mode (light-full-mode / data-mode="light-full")
   - White Workspace Mode (white-workspace-mode / data-mode="white-ws")
   ================================================================= */

/* 1. Default (Dark Theme) High-Clarity Input Borders */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="tel"],
input[type="url"],
select,
textarea,
.form-control,
.form-select,
.cg-input-box input,
.cg-input-box select,
.cg-input-box textarea,
.sg-input-box input,
.sg-input-box select,
.sg-input-box textarea,
.cust-input-box input,
.cust-input-box select,
.cust-input-box textarea,
.supp-input-box input,
.supp-input-box select,
.supp-input-box textarea,
.ig-input-box input,
.ig-input-box select,
.ig-input-box textarea,
.acc-input-box input,
.acc-input-box select,
.acc-input-box textarea,
.item-input-box input,
.item-input-box select,
.item-input-box textarea,
.search-box-micro input,
.filter-select-micro {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

input[type="text"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="date"]:hover,
input[type="datetime-local"]:hover,
input[type="time"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
select:hover,
textarea:hover,
.form-control:hover,
.form-select:hover,
.cg-input-box input:hover,
.cg-input-box select:hover,
.cg-input-box textarea:hover,
.sg-input-box input:hover,
.sg-input-box select:hover,
.sg-input-box textarea:hover,
.cust-input-box input:hover,
.cust-input-box select:hover,
.cust-input-box textarea:hover,
.supp-input-box input:hover,
.supp-input-box select:hover,
.supp-input-box textarea:hover,
.ig-input-box input:hover,
.ig-input-box select:hover,
.ig-input-box textarea:hover,
.acc-input-box input:hover,
.acc-input-box select:hover,
.acc-input-box textarea:hover,
.item-input-box input:hover,
.item-input-box select:hover,
.item-input-box textarea:hover,
.search-box-micro input:hover,
.filter-select-micro:hover {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus,
.cg-input-box input:focus,
.cg-input-box select:focus,
.cg-input-box textarea:focus,
.sg-input-box input:focus,
.sg-input-box select:focus,
.sg-input-box textarea:focus,
.cust-input-box input:focus,
.cust-input-box select:focus,
.cust-input-box textarea:focus,
.supp-input-box input:focus,
.supp-input-box select:focus,
.supp-input-box textarea:focus,
.ig-input-box input:focus,
.ig-input-box select:focus,
.ig-input-box textarea:focus,
.acc-input-box input:focus,
.acc-input-box select:focus,
.acc-input-box textarea:focus,
.item-input-box input:focus,
.item-input-box select:focus,
.item-input-box textarea:focus,
.search-box-micro input:focus,
.filter-select-micro:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
}

/* 2. Full Light Mode & White Workspace Mode Overrides across ALL screens */
html.light-full-mode input[type="text"],
html.light-full-mode input[type="number"],
html.light-full-mode input[type="email"],
html.light-full-mode input[type="password"],
html.light-full-mode input[type="search"],
html.light-full-mode input[type="date"],
html.light-full-mode input[type="datetime-local"],
html.light-full-mode input[type="time"],
html.light-full-mode input[type="tel"],
html.light-full-mode input[type="url"],
html.light-full-mode select,
html.light-full-mode textarea,
html.light-full-mode .form-control,
html.light-full-mode .form-select,
html.light-full-mode .cg-input-box input,
html.light-full-mode .cg-input-box select,
html.light-full-mode .cg-input-box textarea,
html.light-full-mode .sg-input-box input,
html.light-full-mode .sg-input-box select,
html.light-full-mode .sg-input-box textarea,
html.light-full-mode .cust-input-box input,
html.light-full-mode .cust-input-box select,
html.light-full-mode .cust-input-box textarea,
html.light-full-mode .supp-input-box input,
html.light-full-mode .supp-input-box select,
html.light-full-mode .supp-input-box textarea,
html.light-full-mode .ig-input-box input,
html.light-full-mode .ig-input-box select,
html.light-full-mode .ig-input-box textarea,
html.light-full-mode .acc-input-box input,
html.light-full-mode .acc-input-box select,
html.light-full-mode .acc-input-box textarea,
html.light-full-mode .item-input-box input,
html.light-full-mode .item-input-box select,
html.light-full-mode .item-input-box textarea,
html.light-full-mode .search-box-micro input,
html.light-full-mode .filter-select-micro,

html.white-workspace-mode input[type="text"],
html.white-workspace-mode input[type="number"],
html.white-workspace-mode input[type="email"],
html.white-workspace-mode input[type="password"],
html.white-workspace-mode input[type="search"],
html.white-workspace-mode input[type="date"],
html.white-workspace-mode input[type="datetime-local"],
html.white-workspace-mode input[type="time"],
html.white-workspace-mode input[type="tel"],
html.white-workspace-mode input[type="url"],
html.white-workspace-mode select,
html.white-workspace-mode textarea,
html.white-workspace-mode .form-control,
html.white-workspace-mode .form-select,
html.white-workspace-mode .cg-input-box input,
html.white-workspace-mode .cg-input-box select,
html.white-workspace-mode .cg-input-box textarea,
html.white-workspace-mode .sg-input-box input,
html.white-workspace-mode .sg-input-box select,
html.white-workspace-mode .sg-input-box textarea,
html.white-workspace-mode .cust-input-box input,
html.white-workspace-mode .cust-input-box select,
html.white-workspace-mode .cust-input-box textarea,
html.white-workspace-mode .supp-input-box input,
html.white-workspace-mode .supp-input-box select,
html.white-workspace-mode .supp-input-box textarea,
html.white-workspace-mode .ig-input-box input,
html.white-workspace-mode .ig-input-box select,
html.white-workspace-mode .ig-input-box textarea,
html.white-workspace-mode .acc-input-box input,
html.white-workspace-mode .acc-input-box select,
html.white-workspace-mode .acc-input-box textarea,
html.white-workspace-mode .item-input-box input,
html.white-workspace-mode .item-input-box select,
html.white-workspace-mode .item-input-box textarea,
html.white-workspace-mode .search-box-micro input,
html.white-workspace-mode .filter-select-micro,

body.light-full-mode input[type="text"],
body.light-full-mode input[type="number"],
body.light-full-mode input[type="email"],
body.light-full-mode input[type="password"],
body.light-full-mode input[type="search"],
body.light-full-mode input[type="date"],
body.light-full-mode input[type="datetime-local"],
body.light-full-mode input[type="time"],
body.light-full-mode input[type="tel"],
body.light-full-mode input[type="url"],
body.light-full-mode select,
body.light-full-mode textarea,
body.light-full-mode .form-control,
body.light-full-mode .form-select,
body.light-full-mode .cg-input-box input,
body.light-full-mode .cg-input-box select,
body.light-full-mode .cg-input-box textarea,
body.light-full-mode .sg-input-box input,
body.light-full-mode .sg-input-box select,
body.light-full-mode .sg-input-box textarea,
body.light-full-mode .cust-input-box input,
body.light-full-mode .cust-input-box select,
body.light-full-mode .cust-input-box textarea,
body.light-full-mode .supp-input-box input,
body.light-full-mode .supp-input-box select,
body.light-full-mode .supp-input-box textarea,
body.light-full-mode .ig-input-box input,
body.light-full-mode .ig-input-box select,
body.light-full-mode .ig-input-box textarea,
body.light-full-mode .acc-input-box input,
body.light-full-mode .acc-input-box select,
body.light-full-mode .acc-input-box textarea,
body.light-full-mode .item-input-box input,
body.light-full-mode .item-input-box select,
body.light-full-mode .item-input-box textarea,
body.light-full-mode .search-box-micro input,
body.light-full-mode .filter-select-micro,

body.white-workspace-mode input[type="text"],
body.white-workspace-mode input[type="number"],
body.white-workspace-mode input[type="email"],
body.white-workspace-mode input[type="password"],
body.white-workspace-mode input[type="search"],
body.white-workspace-mode input[type="date"],
body.white-workspace-mode input[type="datetime-local"],
body.white-workspace-mode input[type="time"],
body.white-workspace-mode input[type="tel"],
body.white-workspace-mode input[type="url"],
body.white-workspace-mode select,
body.white-workspace-mode textarea,
body.white-workspace-mode .form-control,
body.white-workspace-mode .form-select,
body.white-workspace-mode .cg-input-box input,
body.white-workspace-mode .cg-input-box select,
body.white-workspace-mode .cg-input-box textarea,
body.white-workspace-mode .sg-input-box input,
body.white-workspace-mode .sg-input-box select,
body.white-workspace-mode .sg-input-box textarea,
body.white-workspace-mode .cust-input-box input,
body.white-workspace-mode .cust-input-box select,
body.white-workspace-mode .cust-input-box textarea,
body.white-workspace-mode .supp-input-box input,
body.white-workspace-mode .supp-input-box select,
body.white-workspace-mode .supp-input-box textarea,
body.white-workspace-mode .ig-input-box input,
body.white-workspace-mode .ig-input-box select,
body.white-workspace-mode .ig-input-box textarea,
body.white-workspace-mode .acc-input-box input,
body.white-workspace-mode .acc-input-box select,
body.white-workspace-mode .acc-input-box textarea,
body.white-workspace-mode .item-input-box input,
body.white-workspace-mode .item-input-box select,
body.white-workspace-mode .item-input-box textarea,
body.white-workspace-mode .search-box-micro input,
body.white-workspace-mode .filter-select-micro,

[data-mode="light-full"] input[type="text"],
[data-mode="light-full"] input[type="number"],
[data-mode="light-full"] input[type="email"],
[data-mode="light-full"] input[type="password"],
[data-mode="light-full"] input[type="search"],
[data-mode="light-full"] input[type="date"],
[data-mode="light-full"] input[type="datetime-local"],
[data-mode="light-full"] input[type="time"],
[data-mode="light-full"] input[type="tel"],
[data-mode="light-full"] input[type="url"],
[data-mode="light-full"] select,
[data-mode="light-full"] textarea,
[data-mode="light-full"] .form-control,
[data-mode="light-full"] .form-select,
[data-mode="light-full"] .cg-input-box input,
[data-mode="light-full"] .cg-input-box select,
[data-mode="light-full"] .cg-input-box textarea,
[data-mode="light-full"] .sg-input-box input,
[data-mode="light-full"] .sg-input-box select,
[data-mode="light-full"] .sg-input-box textarea,
[data-mode="light-full"] .cust-input-box input,
[data-mode="light-full"] .cust-input-box select,
[data-mode="light-full"] .cust-input-box textarea,
[data-mode="light-full"] .supp-input-box input,
[data-mode="light-full"] .supp-input-box select,
[data-mode="light-full"] .supp-input-box textarea,
[data-mode="light-full"] .ig-input-box input,
[data-mode="light-full"] .ig-input-box select,
[data-mode="light-full"] .ig-input-box textarea,
[data-mode="light-full"] .acc-input-box input,
[data-mode="light-full"] .acc-input-box select,
[data-mode="light-full"] .acc-input-box textarea,
[data-mode="light-full"] .item-input-box input,
[data-mode="light-full"] .item-input-box select,
[data-mode="light-full"] .item-input-box textarea,
[data-mode="light-full"] .search-box-micro input,
[data-mode="light-full"] .filter-select-micro,

[data-mode="white-ws"] input[type="text"],
[data-mode="white-ws"] input[type="number"],
[data-mode="white-ws"] input[type="email"],
[data-mode="white-ws"] input[type="password"],
[data-mode="white-ws"] input[type="search"],
[data-mode="white-ws"] input[type="date"],
[data-mode="white-ws"] input[type="datetime-local"],
[data-mode="white-ws"] input[type="time"],
[data-mode="white-ws"] input[type="tel"],
[data-mode="white-ws"] input[type="url"],
[data-mode="white-ws"] select,
[data-mode="white-ws"] textarea,
[data-mode="white-ws"] .form-control,
[data-mode="white-ws"] .form-select,
[data-mode="white-ws"] .cg-input-box input,
[data-mode="white-ws"] .cg-input-box select,
[data-mode="white-ws"] .cg-input-box textarea,
[data-mode="white-ws"] .sg-input-box input,
[data-mode="white-ws"] .sg-input-box select,
[data-mode="white-ws"] .sg-input-box textarea,
[data-mode="white-ws"] .cust-input-box input,
[data-mode="white-ws"] .cust-input-box select,
[data-mode="white-ws"] .cust-input-box textarea,
[data-mode="white-ws"] .supp-input-box input,
[data-mode="white-ws"] .supp-input-box select,
[data-mode="white-ws"] .supp-input-box textarea,
[data-mode="white-ws"] .ig-input-box input,
[data-mode="white-ws"] .ig-input-box select,
[data-mode="white-ws"] .ig-input-box textarea,
[data-mode="white-ws"] .acc-input-box input,
[data-mode="white-ws"] .acc-input-box select,
[data-mode="white-ws"] .acc-input-box textarea,
[data-mode="white-ws"] .item-input-box input,
[data-mode="white-ws"] .item-input-box select,
[data-mode="white-ws"] .item-input-box textarea,
[data-mode="white-ws"] .search-box-micro input,
[data-mode="white-ws"] .filter-select-micro {
    border: 1.5px solid #0f172a !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15) !important;
}

html.light-full-mode input:hover,
html.light-full-mode select:hover,
html.light-full-mode textarea:hover,
html.light-full-mode .form-control:hover,
html.light-full-mode .form-select:hover,
html.white-workspace-mode input:hover,
html.white-workspace-mode select:hover,
html.white-workspace-mode textarea:hover,
html.white-workspace-mode .form-control:hover,
html.white-workspace-mode .form-select:hover,
body.light-full-mode input:hover,
body.light-full-mode select:hover,
body.light-full-mode textarea:hover,
body.white-workspace-mode input:hover,
body.white-workspace-mode select:hover,
body.white-workspace-mode textarea:hover,
[data-mode="light-full"] input:hover,
[data-mode="light-full"] select:hover,
[data-mode="light-full"] textarea:hover,
[data-mode="white-ws"] input:hover,
[data-mode="white-ws"] select:hover,
[data-mode="white-ws"] textarea:hover {
    border-color: #000000 !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) !important;
}

html.light-full-mode input:focus,
html.light-full-mode select:focus,
html.light-full-mode textarea:focus,
html.light-full-mode .form-control:focus,
html.light-full-mode .form-select:focus,
html.white-workspace-mode input:focus,
html.white-workspace-mode select:focus,
html.white-workspace-mode textarea:focus,
html.white-workspace-mode .form-control:focus,
html.white-workspace-mode .form-select:focus,
body.light-full-mode input:focus,
body.light-full-mode select:focus,
body.light-full-mode textarea:focus,
body.white-workspace-mode input:focus,
body.white-workspace-mode select:focus,
body.white-workspace-mode textarea:focus,
[data-mode="light-full"] input:focus,
[data-mode="light-full"] select:focus,
[data-mode="light-full"] textarea:focus,
[data-mode="white-ws"] input:focus,
[data-mode="white-ws"] select:focus,
[data-mode="white-ws"] textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
    outline: none !important;
}


