html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-background) !important;
}

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

a:hover {
    color: var(--btn-backgroundhover);
}

.text-mandatory {
    color: #f44336 !important;
}

label {
    font-weight: 700;
}

/*BOOTSTRAP CUSTOM*/
.form-control {
    border: 2px solid #ccc;
}

.col-form-label {
    font-weight: 700;
    text-align: right;
}

.form-control:focus {
    border: 2px solid var(--primary-light) !important;
}

.selectize-input.focus {
    border: 2px solid !important;
    border-color: var(--primary-light) !important;
    outline: 0;
    box-shadow: none !important;
}

.selectize-control.multi .selectize-input>div {
    background-color: var(--primary-light) !important;
    color: #ffffff !important;
    border: 0px solid #dee2e6;
}

.selectize-control.multi .selectize-input>div.active {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    border: 0px solid #dee2e6;
}

.selectize-dropdown .active {
    background-color: var(--primary-light) !important;
    color: #f8f9fa !important;
}

.selectize-dropdown multi form-control select-search {
    display: block !important;
    visibility: visible !important;
}

.input-group-text {
    background-color: var(--primary-light) !important;
    border: 1px solid var(--primary-dark);
    color: #FFFFFF;
}

/* ========================================
   GLASSMORPHISM NEON BUTTON SYSTEM
   ======================================== */

/* Base button styles - Glass morphism with neon accents */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--primary-light, rgba(255, 255, 255, 0.2));
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
    min-height: 36px;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.2px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--btn-background, rgba(255, 255, 255, 0.1));
    color: var(--nev-fontcolor, #374151);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Icon-only button - Compact circular design */
.btn-icon,
.btn.btn-icon {
    padding: 8px;
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    gap: 0;
}

.btn-icon i,
.btn.btn-icon i {
    font-size: 16px;
    margin: 0;
}

/* Small icon button */
.btn-icon-sm,
.btn.btn-icon-sm {
    padding: 6px;
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 12px;
}

.btn-icon-sm i,
.btn.btn-icon-sm i {
    font-size: 14px;
}

/* Large icon button */
.btn-icon-lg,
.btn.btn-icon-lg {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.btn-icon-lg i,
.btn.btn-icon-lg i {
    font-size: 18px;
}

/* Button with icon and text */
.btn i {
    font-size: 14px;
}

.btn i:first-child {
    margin-right: -2px;
}

.btn i:last-child {
    margin-left: -2px;
}

/* Compact button size */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
    border-radius: 8px;
}

.btn-sm i {
    font-size: 13px;
}

/* Large button size */
.btn-lg {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 44px;
    border-radius: 12px;
}

.btn-lg i {
    font-size: 16px;
}

/* Animated border glow effect */
.btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

/* Ripple effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.btn:active::after {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.btn:focus {
    outline: none;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 3px var(--primary-color, rgba(99, 102, 241, 0.25));
}

.btn:disabled,
.btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn:disabled:hover,
.btn.disabled:hover {
    transform: none;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Tooltip for icon buttons */
.btn-icon[title],
.btn[title] {
    position: relative;
}

/* Button group - compact buttons together */
.btn-group {
    display: inline-flex;
    gap: 4px;
}

.btn-group .btn {
    margin: 0;
}

.btn-group-compact {
    gap: 2px;
}

.btn-group-compact .btn {
    border-radius: 8px;
}

/* Primary Button - Using Theme Colors */
.btn-primary {
    background: linear-gradient(135deg,
        var(--primary-color, rgba(59, 130, 246, 0.8)) 0%,
        var(--primary-dark, rgba(29, 78, 216, 0.8)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--primary-light, rgba(59, 130, 246, 0.5));
    box-shadow:
        0 4px 16px var(--primary-color, rgba(59, 130, 246, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg,
        var(--primary-dark, rgba(37, 99, 235, 0.9)) 0%,
        var(--primary-color, rgba(29, 78, 216, 0.9)) 100%);
    box-shadow:
        0 8px 20px var(--primary-color, rgba(59, 130, 246, 0.3)),
        0 0 20px var(--primary-color, rgba(59, 130, 246, 0.4)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-primary:active {
    background: linear-gradient(135deg,
        var(--primary-dark, rgba(30, 64, 175, 0.9)) 0%,
        var(--primary-color, rgba(30, 58, 138, 0.9)) 100%);
}

/* Primary-2 Button - Using Secondary Theme Color */
.btn-primary-2 {
    background: linear-gradient(135deg,
        var(--secondary-color, rgba(139, 92, 246, 0.8)) 0%,
        var(--secondary-dark, rgba(124, 58, 237, 0.8)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--secondary-color, rgba(139, 92, 246, 0.5));
    box-shadow:
        0 4px 16px var(--secondary-color, rgba(139, 92, 246, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary-2:hover {
    background: linear-gradient(135deg,
        var(--secondary-dark, rgba(124, 58, 237, 0.9)) 0%,
        var(--secondary-color, rgba(109, 40, 217, 0.9)) 100%);
    box-shadow:
        0 8px 20px var(--secondary-color, rgba(139, 92, 246, 0.3)),
        0 0 20px var(--secondary-color, rgba(139, 92, 246, 0.4)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-primary-2:active {
    background: linear-gradient(135deg,
        var(--secondary-dark, rgba(109, 40, 217, 0.9)) 0%,
        var(--secondary-color, rgba(91, 33, 182, 0.9)) 100%);
}

/* Secondary Button - Using Theme Colors */
.btn-secondary {
    background: var(--btn-background, rgba(255, 255, 255, 0.15));
    color: var(--nev-fontcolor, #374151) !important;
    border: 1px solid var(--primary-light, rgba(255, 255, 255, 0.3));
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-light, rgba(255, 255, 255, 0.25));
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 0 15px var(--primary-light, rgba(255, 255, 255, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #1f2937) !important;
}

.btn-secondary:active {
    background: var(--btn-background, rgba(255, 255, 255, 0.2));
}

/* Success Button - Using Theme Success Color */
.btn-success {
    background: linear-gradient(135deg,
        var(--success-color, rgba(16, 185, 129, 0.8)) 0%,
        var(--success-dark, rgba(5, 150, 105, 0.8)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--success-color, rgba(16, 185, 129, 0.5));
    box-shadow:
        0 4px 16px var(--success-color, rgba(16, 185, 129, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-success:hover {
    background: linear-gradient(135deg,
        var(--success-dark, rgba(5, 150, 105, 0.9)) 0%,
        var(--success-color, rgba(4, 120, 87, 0.9)) 100%);
    box-shadow:
        0 8px 20px var(--success-color, rgba(16, 185, 129, 0.3)),
        0 0 20px var(--success-color, rgba(16, 185, 129, 0.4)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-success:active {
    background: linear-gradient(135deg,
        var(--success-dark, rgba(4, 120, 87, 0.9)) 0%,
        var(--success-color, rgba(6, 95, 70, 0.9)) 100%);
}

/* Warning Button - Using Theme Warning Color */
.btn-warning {
    background: linear-gradient(135deg,
        var(--warning-color, rgba(245, 158, 11, 0.8)) 0%,
        var(--warning-dark, rgba(217, 119, 6, 0.8)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--warning-color, rgba(245, 158, 11, 0.5));
    box-shadow:
        0 4px 16px var(--warning-color, rgba(245, 158, 11, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-warning:hover {
    background: linear-gradient(135deg,
        var(--warning-dark, rgba(217, 119, 6, 0.9)) 0%,
        var(--warning-color, rgba(180, 83, 9, 0.9)) 100%);
    box-shadow:
        0 8px 20px var(--warning-color, rgba(245, 158, 11, 0.3)),
        0 0 20px var(--warning-color, rgba(245, 158, 11, 0.4)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-warning:active {
    background: linear-gradient(135deg,
        var(--warning-dark, rgba(180, 83, 9, 0.9)) 0%,
        var(--warning-color, rgba(146, 64, 14, 0.9)) 100%);
}

/* Danger Button - Using Theme Danger Color */
.btn-danger {
    background: linear-gradient(135deg,
        var(--danger-color, rgba(239, 68, 68, 0.8)) 0%,
        var(--danger-dark, rgba(220, 38, 38, 0.8)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--danger-color, rgba(239, 68, 68, 0.5));
    box-shadow:
        0 4px 16px var(--danger-color, rgba(239, 68, 68, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-danger:hover {
    background: linear-gradient(135deg,
        var(--danger-dark, rgba(220, 38, 38, 0.9)) 0%,
        var(--danger-color, rgba(185, 28, 28, 0.9)) 100%);
    box-shadow:
        0 8px 20px var(--danger-color, rgba(239, 68, 68, 0.3)),
        0 0 20px var(--danger-color, rgba(239, 68, 68, 0.4)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-danger:active {
    background: linear-gradient(135deg,
        var(--danger-dark, rgba(185, 28, 28, 0.9)) 0%,
        var(--danger-color, rgba(153, 27, 27, 0.9)) 100%);
}

/* Info Button - Using Theme Info Color */
.btn-info {
    background: linear-gradient(135deg,
        var(--info-color, rgba(6, 182, 212, 0.8)) 0%,
        var(--info-dark, rgba(8, 145, 178, 0.8)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--info-color, rgba(6, 182, 212, 0.5));
    box-shadow:
        0 4px 16px var(--info-color, rgba(6, 182, 212, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-info:hover {
    background: linear-gradient(135deg,
        var(--info-dark, rgba(8, 145, 178, 0.9)) 0%,
        var(--info-color, rgba(14, 116, 144, 0.9)) 100%);
    box-shadow:
        0 8px 20px var(--info-color, rgba(6, 182, 212, 0.3)),
        0 0 20px var(--info-color, rgba(6, 182, 212, 0.4)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-info:active {
    background: linear-gradient(135deg,
        var(--info-dark, rgba(14, 116, 144, 0.9)) 0%,
        var(--info-color, rgba(21, 94, 117, 0.9)) 100%);
}

/* Light Button - Using Theme Light Colors */
.btn-light {
    background: var(--btn-background, rgba(255, 255, 255, 0.9));
    color: var(--nev-fontcolor, #374151) !important;
    border: 1px solid var(--primary-light, rgba(229, 231, 235, 0.8));
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.btn-light:hover {
    background: var(--primary-light, rgba(255, 255, 255, 0.95));
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 15px var(--primary-light, rgba(255, 255, 255, 0.6)),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    color: var(--nev-fontcolor, #1f2937) !important;
}

.btn-light:active {
    background: var(--btn-background, rgba(247, 250, 252, 0.9));
}

/* Dark Button - Using Theme Dark Colors */
.btn-dark {
    background: linear-gradient(135deg,
        var(--primary-dark, rgba(55, 65, 81, 0.9)) 0%,
        var(--primary-color, rgba(31, 41, 55, 0.9)) 100%);
    color: var(--nev-fontcolor, #ffffff) !important;
    border: 1px solid var(--primary-dark, rgba(55, 65, 81, 0.7));
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(135deg,
        var(--primary-color, rgba(31, 41, 55, 0.95)) 0%,
        var(--primary-dark, rgba(17, 24, 39, 0.95)) 100%);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 20px var(--primary-dark, rgba(55, 65, 81, 0.6)),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--nev-fontcolor, #ffffff) !important;
}

.btn-dark:active {
    background: linear-gradient(135deg,
        var(--primary-dark, rgba(17, 24, 39, 0.95)) 0%,
        var(--primary-color, rgba(3, 7, 18, 0.95)) 100%);
}

.sidebar-dark .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
.sidebar-dark .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
.sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--primary-light) !important;
}

.sidebar-dark .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--primary-light) !important;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:focus,
.dataTables_paginate .paginate_button.current:hover {
    color: #fff;
    background-color: var(--primary-light);
}

.sidebar-dark .sidebar-mobile-toggler:not([class*=bg-]) {
    background-color: var(--primary-light) !important;
}

.sidebar-dark .nav-sidebar .nav-link>span {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transition-property: transform
}

.nav-group-sub .nav-link {
    padding: .625rem 1.25rem 0.625rem 1.5rem !important;
}

.sidebar-dark .nav-sidebar .nav-link:active>span,
.sidebar-dark .nav-sidebar .nav-link:focus>span,
.sidebar-dark .nav-sidebar .nav-link:hover>span {
    -webkit-transform: translateX(8px);
    transform: translateX(8px)
}

.sidebar-icon-custom-margin {
    margin-left: -32px !important;
    margin-right: 5px !important;
}

.select2-container {
    outline: 0;
    position: relative;
    display: block;
    vertical-align: middle;
    text-align: left;
}

span.select2-container {
    z-index: 10050;
}


/* ========================================
   MULTI-COLOR ICONS ONLY
   ======================================== */

/* Dashboard - Blue/Purple gradient */
.nav-sidebar .nav-link .icon-home4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* People/Contact - Pink/Red gradient */
.nav-sidebar .nav-link .icon-users4,
.nav-sidebar .nav-link .icon-user {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CRM - Cyan gradient */
.nav-sidebar .nav-link .icon-trophy3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product/Item - Green gradient */
.nav-sidebar .nav-link .icon-box {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Spares Parts - Yellow/Orange gradient */
.nav-sidebar .nav-link .icon-wrench3 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Filling Station - Red/Pink gradient */
.nav-sidebar .nav-link .icon-gas {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Transaction/Cart - Teal/Pink gradient */
.nav-sidebar .nav-link .icon-cart {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Production - Orange/Blue gradient */
.nav-sidebar .nav-link .icon-office {
    background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Transport/Vehicle - Teal/Purple gradient */
.nav-sidebar .nav-link .icon-truck {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Party Management - Pink/Purple gradient */
.nav-sidebar .nav-link .fa-handshake {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Payroll - Peach gradient */
.nav-sidebar .nav-link .icon-cash {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Support Tickets - Purple/Blue gradient */
.nav-sidebar .nav-link .icon-ticket {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Accounts/Bank - Cyan/Blue gradient */
.nav-sidebar .nav-link .icon-library2 {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Double Entry Accounting - Yellow/Cyan gradient */
.nav-sidebar .nav-link .icon-calculator {
    background: linear-gradient(135deg, #fddb92 0%, #d1fdff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reports - Purple/Blue gradient */
.nav-sidebar .nav-link .icon-file-stats {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SMS - Pink/Peach gradient */
.nav-sidebar .nav-link .icon-mail5 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Administration/Settings - Pink/Blue gradient */
.nav-sidebar .nav-link .icon-cog2 {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   END MULTI-COLOR ICONS ONLY
   ======================================== */

/*PUBLIC CUSTOM*/

.custom-primary-bg {
    background-color: var(--primary-light) !important;
}

.custom-secondery-bg {
    background-color: var(--primary-dark) !important;
}

.custom-bg-green {
    background-color: var(--primary-light) !important;
}

.custom-btn-success {
    color: var(--btn-font) !important;
    background-color: var(--btn-background) !important;
}

.custom-btn-success:hover {
    color: var(--btn-fonthover) !important;
    background-color: var(--btn-backgroundhover) !important;
}

.custom-btn-print {
    color: #fff;
    background-color: #546e7a;
}

.custom-btn-print:hover {
    color: #fff;
    background-color: #607d8b;
}

.custom-border-success {
    border-color: var(--primary-light) !important;
}

.custom-text-success {
    color: var(--primary-light) !important;
}

.custom-input-group-dropdown-btn {
    background-color: var(--primary-light) !important;
    border: 1px solid var(--primary-dark) !important;
    color: #FFFFFF;
}

.custom-input-group-dropdown-btn:hover {
    color: #FFFFFF !important;
    background-color: var(--primary-light) !important;
}

.custom-input-group-dropdown-btn.focus,
.custom-input-group-dropdown-btn:focus,
.custom-input-group-dropdown-btn:not([disabled]):not(.disabled).active,
.btn-light:not([disabled]):not(.disabled):active,
.show>.custom-input-group-dropdown-btn.dropdown-toggle {
    color: #FFFFFF !important;
}

.custom-dropdown-menu-right {
    position: absolute !important;
    /* left: 70px!important; */
    left: 10px !important;
}

.dt-button-collection:not(.fixed) {
    top: 100% !important;
    right: 0 !important;
}

.dt-button-collection {
    min-width: 3.25rem !important;
    padding: 0px !important;
    border-radius: 0rem !important;
}

.dt-button-collection:not(.fixed) {
    top: 100% !important;
    left: 12px !important;
    right: 0 !important;
}

div.dt-button-collection div.dropdown-menu {
    display: block !important;
    z-index: 99999999;
    position: relative;
}

.dropdown-menu {
    border: none !important;
}

.dropdown-item {
    padding: 0.2rem 1rem !important;
}

.dropdown-item:hover {
    color: #FFFFFF;
    background-color: var(--primary-light) !important;
}

/* .sidebar-content {
    position: fixed!important;
    top: 4.6rem!important;
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-direction: column!important;
    flex-direction: column!important;
    -ms-flex: 1!important;
    flex: 1!important;
    padding: 16px!important;
    overflow-y: auto!important;
} */


@media print {
    .badge {
        border: none !important;
        ;
    }

    .badge-warning {
        color: #000000;
        background-color: #ffffff;
    }

    .badge-success {
        color: #000000;
        background-color: #ffffff;
    }

    #get_table_data.table tfoot {
        display: table-row-group;
    }

    .sidebar {
        display: none !important;
    }

    .navbar {
        display: none !important;
    }

    .page-header {
        display: none !important;
    }

    .card-header {
        display: none !important;
    }

    .card {
        border: none !important;
    }

    .hide-filter-on-print {
        display: none !important;
    }

    .fadeInDown {
        display: none !important;
    }

    a {
        text-decoration: none !important;
    }

    a {
        color: black;
        /* Set the color to black for printing */
        text-decoration: underline;
        /* Add underline for printed links if desired */
    }

    /* TABLE PRINT STYLES - Fixed border display */
    .table {
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        border: 2px solid #000000 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #ffffff !important;
        width: 100% !important;
    }

    .table th {
        border: 1px solid #000000 !important;
        background-color: #f5f5f5 !important;
        color: #000000 !important;
        font-size: 14px !important;
        font-weight: bold !important;
        padding: 8px !important;
        text-align: left !important;
        text-decoration: none !important;
        /* border: 1px solid black!important; */
        background-color: black !important;
        color: black !important;
        outline: 1px solid black !important;
        font-size: 20px !important;
    }

    td {
        outline: 1px solid black !important;
        color: black !important;
    }
}


/*DATE PICKER*/

@media (min-width: 564px) {
    .daterangepicker {
        width: 55%;
    }

    .daterangepicker .drp-calendar.right {
        margin-left: 40px;
    }
}


@media (min-width: 564px) {
    .sinagle-date-picker {
        width: 324px !important;
    }

    .sinagle-date-picker .drp-calendar.right {
        margin-left: 0px !important;
    }
}


.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--primary-light);
}

.daterangepicker .ranges li.active {
    background-color: var(--primary-light);
}

.daterangepicker th {
    color: var(--primary-light);
    font-weight: 700;
}

.daterangepicker.show-calendar .ranges {
    margin-top: -1px;
}

.daterangepicker .ranges li {
    padding: 10px 12px;
}

.dataTables_empty {
    text-align: center;
    font-size: 15px;
}

.invoice-table td {
    vertical-align: top;
}

.dataTables_wrapper .table-bordered {
    border-top: 1px solid #ccc;
}

.table-bordered-report td,
.table-bordered-report th {
    border-top: 1.5px solid #000000 !important;
    border: 1.5px solid #000000 !important;
}

.table-bordered-report {
    border-top: 1.5px solid #000000 !important;
}

.card-header:not([class*=bg-]):not([class*=alpha-]) {
    background-color: var(--title-background) !important;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom-width: 2px;
    margin-bottom: 15px;
}

.navbar-brand img {
    height: 2.5rem;
    display: block;
}

.dataTables_filter {
    margin: 0 0 1.25rem 0rem;
}

.swal2-styled.swal2-confirm {
    background-color: var(--primary-light);
}

/* .table>thead>tr{
    background-color: var(--primary-light)0a;
    border: 1px solid #eee;
}

.table>tbody>tr {
    border-bottom: 2px solid #ddd;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-bottom: 2px solid #ddd;
}

.table>tbody>tr {
    border-bottom: 2px solid #ddd;
} */

.dataTables_paginate {
    margin: 5px 0 1.25rem 1.25rem;
}

div.dt-buttons {
    position: relative;
    float: right !important;
}

/* ========================================
   NEON WEIGHT SCROLLBAR WITH TRANSPARENT COLORS
   ======================================== */

/* Scrollbar width */
::-webkit-scrollbar {
    width: 6px;
    height: 12px;
}


/* Track */
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary-light) 60%, transparent) 0%,
        color-mix(in srgb, var(--primary-dark) 60%, transparent) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px color-mix(in srgb, var(--primary-light) 50%, transparent),
                0 0 20px color-mix(in srgb, var(--primary-dark) 30%, transparent);
    transition: all 0.3s ease;
}

/* Thumb on hover - Brighter neon effect */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary-light) 80%, transparent) 0%,
        color-mix(in srgb, var(--primary-dark) 80%, transparent) 100%);
    box-shadow: 0 0 15px color-mix(in srgb, var(--primary-light) 80%, transparent),
                0 0 30px color-mix(in srgb, var(--primary-dark) 60%, transparent),
                0 0 40px color-mix(in srgb, var(--primary-light) 40%, transparent);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Thumb on active - Intense neon glow */
::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary-light) 90%, transparent) 0%,
        color-mix(in srgb, var(--primary-dark) 90%, transparent) 100%);
    box-shadow: 0 0 20px var(--primary-light),
                0 0 40px color-mix(in srgb, var(--primary-dark) 80%, transparent),
                0 0 60px color-mix(in srgb, var(--primary-light) 60%, transparent);
}

/* Corner - Transparent */
::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Scrollbar buttons - Hidden for cleaner look */
::-webkit-scrollbar-button {
    display: none;
}

/* ========================================
   END NEON WEIGHT SCROLLBAR
   ======================================== */

.card-header:first-child {
    background-color: var(--title-background) !important;
}

.nav-tabs-solid .nav-link {
    background-color: #cccccc !important;
    color: #324148 !important;
    font-weight: 700;
}

.nav-tabs-solid .nav-link.active {
    background-color: var(--primary-light) !important;
    color: #FFFFFF !important;
}

.search-ul {
    position: absolute;
    z-index: 9999;
    width: 95%;
    max-height: 300px;
    overflow-x: auto;
    overflow-y: auto;
    box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
    -webkit-box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
    -moz-box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
}

.selected {
    background-color: #f0f0f0;
    /* Background color */
    color: #333;
    /* Text color */
}



.search-ul-pos {
    position: relative;
    z-index: 9999;
    width: 95%;
    box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
    -webkit-box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
    -moz-box-shadow: 1px 4px 5px 0px rgba(151, 147, 147, 0.75);
}

.search-list {
    display: block !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 700;
    border-bottom: 2px solid #dbdbdb !important;
}

.a {
    background-color: #f1f1f1a1;
}

.a a {
    background-color: #f1f1f1a1;
}

.search-list:hover {
    background-color: #afafafa1;
}

.search-list span:hover {
    color: #FFFFFF;
}

.report-ul li {
    background: #cccccc2e;
    border-bottom: 2px solid #CCCCCC;
}

.report-ul li:hover {
    background: var(--primary-dark);
}

.report-ul li a span {
    font-weight: 700;
}

.fix-sticky table thead {
    background: var(--primary-light) !important;
    color: #FFFFFF;
}

.table-ft {
    background: var(--primary-light) !important;
    color: #FFFFFF;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.dropdown-item.active {
    color: #fff;
    background-color: var(--primary-light);
}

/* th {
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
  } */


.licensetooltip {
    position: relative;
    display: inline-block;
}

.licensetooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.licensetooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.licensetooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.optgroup-header {
    font-weight: bolder;
}

/* LOADER */
.loader {
    border: 5px solid var(--primary-light)5e;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid var(--primary-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 45%;
    left: 50%;
    z-index: 9;
    visibility: hidden;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* BACK TO TOP */
.btn-to-top-visible {
    visibility: visible;
    opacity: 1;
}

.btn-to-top {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    -ms-flex-item-align: end;
    align-self: flex-end;
    opacity: 1;
    z-index: 999;
    transition: opacity ease-in-out 0.15s, visibility ease-in-out 0.15s, bottom ease-in-out 0.15s;
}

.btn-to-top>a>i {
    font-size: 35px;
}

.custom-table thead tr th {
    border: 2px solid #000000 !important;
    width: 200px !important;
    font-size: 18px !important;
}


.custom-table tr td {
    border: 2px solid #000000 !important;
    width: 200px !important;
    font-size: 18px !important;
}

.custom-table thead tr th:first-child {
    width: 100px !important;
    font-size: 18px !important;
}

.custom-table-chalan thead tr th {
    width: 200px !important;
    white-space: nowrap !important;
    font-size: 18px !important;
}

.custom-table-purchase-chalan thead tr th {
    width: 200px !important;
    white-space: nowrap !important;
    font-size: 18px !important;
}

@media (min-width:768px) {
    .table-responsive {
        overflow-x: auto;
        overflow-y: auto;
    }

    .custom-table-purchase-responsive {
        overflow: auto !important;
    }
}

@media (max-width: 768px) {
    .custom-table {
        width: 225% !important;
    }

    .custom-table-chalan {
        width: 250% !important;
    }

    .custom-table-chalan td {
        width: 20%;
    }

    .custom-table-footer>div {
        width: 100% !important;
        float: none !important;
    }

    .custom-table-footer-50 {
        width: 100% !important;
        float: none !important;
        margin-left: 0% !important;
    }

    .custom-table-payment {
        width: 150%;
    }

    .custom-table-purchase-chalan {
        width: 350% !important;
    }

    .selectize-dropdown {
        position: initial !important;
    }
}


.selectize-dropdown {
    position: absolute;
    z-index: 10000;
    /* adjust as necessary */
    border: 1px solid #d0d0d0;
    background: #ffffff;
    margin: -1px 0 0 0;
    border-top: 0 none;
}

table tbody tr td a {
    white-space: nowrap !important;
}

/* MOBILE CART */
.mobile_cart {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #FFFFFF;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.mobile_cart a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.mobile_cart a:hover {
    color: #f1f1f1;
}

.mobile_cart .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .mobile_cart {
        padding-top: 15px;
    }

    .mobile_cart a {
        font-size: 18px;
    }
}

/* MOBILE INTERFACE DASHBOARD */
.dashboard-items a {
    color: #FFFFFF !important;
}

.dashboard-items {
    margin: auto;
    text-align: center;
    background: var(--primary-light);
    transition: all 0.5s;
    padding: 20px 0px;
}

.dashboard-items:hover {
    background: #FFFFFF;
    border: 2px solid var(--primary-light);
}

.dashboard-items:hover a {
    color: var(--primary-light) !important;
}



.dashboard-item-icon i {
    font-size: 25px;
}

.dashboard-item-title {
    font-size: 15px;
    margin-top: 5px;
}

.form-group-1 {
    margin-bottom: 0rem !important;
}

label {
    margin-bottom: 0rem;
}

.header-elements-inline {
    padding-bottom: 6px !important;
    padding-top: 6px !important;
}

/* ========================================
   GLASSMORPHISM BUTTON SIZE VARIANTS
   ======================================== */

/* Large buttons */
.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    min-height: 56px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Small buttons */
.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    min-height: 36px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}

/* Extra small buttons */
.btn-xs {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    min-height: 32px;
    border-radius: 10px;
    letter-spacing: 0.2px;
}

/* ========================================
   GLASSMORPHISM OUTLINE BUTTONS
   ======================================== */

/* Outline buttons with glass effect */
.btn-outline-primary {
    background: var(--primary-color, rgba(59, 130, 246, 0.1));
    color: var(--primary-color, #3b82f6) !important;
    border: 2px solid var(--primary-light, rgba(59, 130, 246, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: var(--primary-color, rgba(59, 130, 246, 0.2));
    color: var(--primary-dark, #2563eb) !important;
    border-color: var(--primary-light, rgba(59, 130, 246, 0.6));
    box-shadow:
        0 16px 40px var(--primary-color, rgba(59, 130, 246, 0.2)),
        0 0 30px var(--primary-color, rgba(59, 130, 246, 0.4));
}

.btn-outline-secondary {
    background: var(--btn-background, rgba(107, 114, 128, 0.1));
    color: var(--nev-fontcolor, #6b7280) !important;
    border: 2px solid var(--primary-light, rgba(107, 114, 128, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-secondary:hover {
    background: var(--primary-light, rgba(107, 114, 128, 0.2));
    color: var(--nev-fontcolor, #4b5563) !important;
    border-color: var(--primary-dark, rgba(107, 114, 128, 0.6));
    box-shadow:
        0 16px 40px rgba(107, 114, 128, 0.2),
        0 0 20px rgba(107, 114, 128, 0.3);
}

.btn-outline-success {
    background: var(--success-color, rgba(16, 185, 129, 0.1));
    color: var(--success-color, #10b981) !important;
    border: 2px solid var(--success-color, rgba(16, 185, 129, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-success:hover {
    background: var(--success-color, rgba(16, 185, 129, 0.2));
    color: var(--success-dark, #059669) !important;
    border-color: var(--success-color, rgba(16, 185, 129, 0.6));
    box-shadow:
        0 16px 40px var(--success-color, rgba(16, 185, 129, 0.2)),
        0 0 30px var(--success-color, rgba(16, 185, 129, 0.4));
}

.btn-outline-warning {
    background: var(--warning-color, rgba(245, 158, 11, 0.1));
    color: var(--warning-color, #f59e0b) !important;
    border: 2px solid var(--warning-color, rgba(245, 158, 11, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-warning:hover {
    background: var(--warning-color, rgba(245, 158, 11, 0.2));
    color: var(--warning-dark, #d97706) !important;
    border-color: var(--warning-color, rgba(245, 158, 11, 0.6));
    box-shadow:
        0 16px 40px var(--warning-color, rgba(245, 158, 11, 0.2)),
        0 0 30px var(--warning-color, rgba(245, 158, 11, 0.4));
}

.btn-outline-danger {
    background: var(--danger-color, rgba(239, 68, 68, 0.1));
    color: var(--danger-color, #ef4444) !important;
    border: 2px solid var(--danger-color, rgba(239, 68, 68, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-danger:hover {
    background: var(--danger-color, rgba(239, 68, 68, 0.2));
    color: var(--danger-dark, #dc2626) !important;
    border-color: var(--danger-color, rgba(239, 68, 68, 0.6));
    box-shadow:
        0 16px 40px var(--danger-color, rgba(239, 68, 68, 0.2)),
        0 0 30px var(--danger-color, rgba(239, 68, 68, 0.4));
}

/* ========================================
   SPECIAL GLASSMORPHISM BUTTON VARIANTS
   ======================================== */

/* Rounded (pill) buttons */
.btn-rounded {
    border-radius: 50px;
}

/* Icon buttons with glass effect */
.btn-icon {
    padding: 14px;
    min-width: 48px;
    border-radius: 50%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.btn-icon.btn-sm {
    padding: 10px;
    min-width: 36px;
}

.btn-icon.btn-lg {
    padding: 18px;
    min-width: 56px;
}

/* Floating Action Button with enhanced glass effect */
.btn-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 1000;
    background: rgba(59, 130, 246, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 12px 40px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-fab:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow:
        0 20px 60px rgba(59, 130, 246, 0.5),
        0 0 80px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Loading state with glass effect */
.btn.loading {
    position: relative;
    color: rgba(255, 255, 255, 0.7) !important;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: btn-loading-spin 1s linear infinite;
}

@keyframes btn-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toggle buttons with glass effect */
.btn-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-toggle.active {
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.8) 0%,
        rgba(5, 150, 105, 0.8) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    color: #ffffff !important;
    box-shadow:
        0 8px 32px rgba(16, 185, 129, 0.3),
        0 0 40px rgba(16, 185, 129, 0.2);
}

.btn-toggle.active::after {
    content: '✓';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: rgba(5, 150, 105, 0.9);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Button groups with glass effect */
.btn-group .btn {
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.btn-group .btn:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-right: none;
}

.btn-group .btn:hover {
    z-index: 2;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ========================================
   CUSTOM UTILITY BUTTONS
   ======================================== */

.btn-icon.btn-sm {
    padding: 6px;
    min-width: 32px;
}

.btn-icon.btn-lg {
    padding: 14px;
    min-width: 48px;
}

/* Floating Action Button */
.btn-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18),
        0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   CUSTOM UTILITY BUTTONS
   ======================================== */

/* Custom print button with glass effect */
.custom-btn-print {
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.8) 0%,
        rgba(8, 145, 178, 0.8) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(6, 182, 212, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(6, 182, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.custom-btn-print:hover {
    background: linear-gradient(135deg,
        rgba(8, 145, 178, 0.9) 0%,
        rgba(14, 116, 144, 0.9) 100%);
    box-shadow:
        0 16px 40px rgba(6, 182, 212, 0.4),
        0 0 30px rgba(6, 182, 212, 0.6);
    color: #ffffff !important;
}

/* Back to top button with enhanced glass effect */
.btn-to-top-visible {
    visibility: visible;
    opacity: 1;
}

.btn-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.9) 0%,
        rgba(29, 78, 216, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 12px 40px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-to-top:hover {
    transform: scale(1.15) translateY(-4px);
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.95) 0%,
        rgba(29, 78, 216, 0.95) 100%);
    box-shadow:
        0 20px 60px rgba(59, 130, 246, 0.5),
        0 0 80px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-to-top > a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-to-top > a > i {
    font-size: 20px;
}

/* ========================================
   GLASSMORPHISM TABLE BUTTONS
   ======================================== */

/* Action buttons in table cells with glass effect */
.table td .btn-sm {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    margin: 0 3px;
    border-radius: 8px;
    min-height: 28px;
    line-height: 1.2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.table td .btn-xs {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    margin: 0 2px;
    border-radius: 6px;
    min-height: 24px;
    line-height: 1.2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* DataTables buttons with glassmorphism */
.dt-button {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #374151 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.dt-button:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.dt-button:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.dt-button.active {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.8) 0%,
        rgba(29, 78, 216, 0.8) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(59, 130, 246, 0.5) !important;
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2) !important;
}

/* ========================================
   BUTTON ICONS & BADGES
   ======================================== */

/* Button with icons */
.btn i {
    margin-right: 8px;
    font-size: 0.9em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn i:last-child {
    margin-right: 0;
    margin-left: 8px;
}

.btn i:only-child {
    margin: 0;
}

/* Button with badges */
.btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 3px 7px;
    font-size: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    min-width: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Dropdown buttons */
.btn.dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.btn.dropdown-toggle:empty::after {
    margin-left: 0;
}

/* Input group buttons */
.input-group .btn {
    border-radius: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.input-group .btn:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.input-group .btn:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Custom dropdown menu button styles */
.custom-input-group-dropdown-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #374151;
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.custom-input-group-dropdown-btn:hover,
.custom-input-group-dropdown-btn:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: #1f2937;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.custom-input-group-dropdown-btn.focus,
.custom-input-group-dropdown-btn:focus,
.custom-input-group-dropdown-btn:not([disabled]):not(.disabled).active,
.show > .custom-input-group-dropdown-btn.dropdown-toggle {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.8) 0%,
        rgba(29, 78, 216, 0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #ffffff !important;
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.3),
        0 0 0 4px rgba(59, 130, 246, 0.2);
}

#table {
    border-collapse: collapse;
    /* This removes default spacing between table cells */
    width: 100%;
    /* Optional: Set the table width as needed */
    border: 1px solid #ccc;
    /* Add a border around the table */
    line-height: 12px;

}

.table {
    padding-bottom: 10px;
    border-collapse: collapse;
    /* This removes default spacing between table cells */
    width: 100%;
    /* Optional: Set the table width as needed */
    border: 1px solid #ccc;
    /* Add a border around the table */
    line-height: 18px;
}

.table td {
    font-size: 1rem !important;
    text-wrap: nowrap !important;
}

.table-custom-tw td {
    font-size: 1rem !important;
    text-wrap: wrap !important;
}

th:not(.invoice-table th):not(.items-table th):not(.payments-table th):not(.pos-footer th) {
    border: none;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0px;
    /* padding: 15px 12px; */
    text-align: center;
    position: relative;
}

th:first-child {
    border-radius: 10px 0 0 0;
}

th:last-child {
    border-radius: 0 10px 0 0;
}

th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

/* Style for table cells */
td {
    border: 1px solid #868585;
    /* Add borders to table cells */
}

tr:nth-child(even) {
    background-color: #f7f5f5;
    /* Background color for odd rows */
}

.custom-btn-print {
    background-color: #21caf4;
}

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

.calendar-table th {
    background-color: #f7f5f5;
}

.invoice-table {
    border: none !important;
}

.invoice-table td {
    border: none !important;
}

#modal_item_details th {
    color: #000000 !important;
}

.barcode-content {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--table-border-light, #e9ecef);
}


.table .table_th_td_now_wrap {
    text-wrap: unset !important;
}

.table .table_th_td_now_wrap a {
    white-space: unset !important;
}

.table .table_th_td_wd_5 {
    width: 5% !important;
}

.table .table_th_td_wd_10 {
    width: 10% !important;
}

.table .table_th_td_wd_15 {
    width: 15% !important;
}

.table .table_th_td_wd_20 {
    width: 20% !important;
}

.table .table_th_td_wd_25 {
    width: 25% !important;
}

.table .table_th_td_wd_30 {
    width: 30% !important;
}

.table .pos-cart-td-padding {
    padding: 0.1rem 1.25rem !important;
}

.invisible-input {
    border: none;
    color: black;
    font-weight: 700;
    text-decoration: underline;
    background-color: #FFFFFF !important;
    text-align: center;
}

.sub-col-span {
    visibility: collapse;
}

/* GRID */
.grid-item {
    min-height: 186px;
    background-color: #4caf5040;
    margin: 5px;
    cursor: pointer;
}

.item-title {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #2e2e2e;
    padding: 5px 5px;
}

.employee-table td {
    line-height: 20px !important;
}

.sidebar-dark .nav-sidebar .nav-link,
.sidebar-light .card[class*="bg-"]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-link {
    color: var(--nev-fontcolor) !important;
}

.sidebar-dark .nav-sidebar .nav-item-header,
.sidebar-light .card[class*="bg-"]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-item-header {
    color: var(--nev-fontcolor) !important;
}

.sidebar-dark .nav-sidebar .nav-link:not(.disabled):hover,
.sidebar-light .card[class*="bg-"]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-link:not(.disabled):hover {
    /* color: #fff; */
    background-color: var(--nev-hover) !important;
}

.sidebar-dark .nav-sidebar .nav-item>.nav-link.active,
.sidebar-light .card[class*="bg-"]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-item>.nav-link.active {
    background-color: var(--nev-active) !important;
    /* color: #fff; */
}

.sidebar-dark {
    color: var(--nev-fontcolor) !important;
}

.table-wrap tbody tr td a {
    white-space: normal !important;
    line-height: 20px !important;
}

.table-wrap thead tr th {
    line-height: 20px !important;
}

.dashboard-account-scrollable-div {
    height: 333px;
    /* Fixed height */
    width: 100%;
    /* Optional: fixed width */
    overflow-y: scroll;
    /* Vertical scrollbar */
}

.center-div {
    position: relative;
    top: 30%;
}

.center-div-circle {
    margin: auto;
    width: 62px;
    height: 62px;
    padding: 10px;
    border-radius: 50%;
}

.agreement-header h1,
h4 {
    line-height: 25px;
}

.agreement-sub-header {
    display: flex;
    justify-content: space-between;
}

.agreement-body {
    font-size: 15px;
    text-align: justify;
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: center;
    width: 100%;
    align-content: space-between;
}

/* PAYMENT RECEIPT */
.receipt {
    padding: 15px;
    border: 1px dashed;
}

.receipt-company-details {
    display: flex;
    justify-content: space-between;
}

.receipt-company-details-left {
    font-size: 16px;
    line-height: 15px;
}

.receipt-company-details-left span {
    font-size: 18px;
    font-weight: 700;
}

.receipt-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid #595959;
}

.receipt-top-left span,
.receipt-top-right span {
    font-size: 18px !important;
    font-weight: 700;
    font-size: 15px;
    color: #4CAF50;
}

.receipt-top-right span span {
    color: #595959;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #595959;
}

.receipt-header-left,
.receipt-header-right {
    font-size: 18px;
    line-height: 20px;
    ;
}

.receipt-body {
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid #59595975;
}

.receipt-body-header {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 5px;
}

.receipt-body-header-left b,
.receipt-body-header-center b,
.receipt-body-header-right b {
    color: #4CAF50;
    text-decoration: underline;
}

.receipt-body-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.receipt-body-total {
    display: flex;
    justify-content: end;
}

.receipt-body-total-left b {
    color: #4CAF50;
}

.receipt-body-total-right b {
    padding: 2px;
    border: 1px solid;
}

.receipt-body-additional {
    line-height: 20px;
    text-align: right;
    margin-top: 10px;
}

.receipt-footer {
    padding-top: 5px;
    padding-bottom: 5px;
}

.receipt-footer-signature {
    display: flex;
    justify-content: space-between;
}

.receipt-footer-signature-left span,
.receipt-footer-signature-right span {
    padding-top: 10px !important;
    display: inline-block;
    margin-top: 20px;
}

.pos-footer table {
    border: none;
    border-collapse: collapse;
    /* Ensures no border space between cells */
}

.pos-footer table th,
.pos-footer table td {
    border: none;
}

@media print and (max-width: 400px) {
    .receipt {
        width: 40%;
        border: none;
        font-size: 10px;
        color: #000000 !important;
        font-weight: 900 !important;
    }

    .receipt-company-details {
        flex-direction: column;
        align-items: flex-start;
    }
}
