/* Custom CSS for Autopulse ERP UI/UX updates */

/* ==========================================================================
   Imported from dashboard-redesign.css (Consolidated)
   ========================================================================== */

/* Sidebar base */
#accordionSidebar {
    background: #ffffff !important;
    width: 250px;
    padding-top: 12px;
    border-right: 1px solid #eef2f7;
}

/* Sidebar brand */
.sidebar-brand {
    background: transparent !important;
    padding: 18px 10px;
}

/* Menu links */
#accordionSidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 4px 0px;
    border-radius: 12px;
    color: #374151 !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* Hover */
#accordionSidebar .nav-link:hover {
    background: #f1f5f9;
    color: #000 !important;
}

/* Active */
#accordionSidebar .nav-item.active > .nav-link {
    background: #eef2ff !important;
    color: #000 !important;
    font-weight: 600;
}

/* Icons */
#accordionSidebar .nav-link i,
#accordionSidebar .nav-link svg {
    font-size: 18px;
    height: 20px !important;
    width: 20px !important;
    color: inherit !important;
}

#accordionSidebar .nav-link[data-toggle="collapse"]::after {
    content: "›";
    font-size: 18px;
    margin-left: auto;
    color: #9ca3af;
    transition: transform 0.25s ease;
}

/* Rotate arrow when open */
#accordionSidebar .nav-item.show > .nav-link::after {
    transform: rotate(90deg);
    color: #000;
}

#accordionSidebar .collapse-inner {
    background: transparent !important;
    padding: 4px 0 8px 0;
    margin-left: 18px;
    box-shadow: none !important;
}

#accordionSidebar .collapse-item {
    display: block;
    padding: 8px 14px;
    margin: 2px 0;
    font-size: 13px;
    color: #6b7280 !important;
    border-radius: 10px;
    transition: all 0.2s ease;
}

#accordionSidebar .collapse-item:hover {
    background: #f1f5f9;
    color: #000 !important;
}

#accordionSidebar .collapse-item.active {
    background: #eef2ff;
    color: #000 !important;
    font-weight: 600;
}

.topbar {
    background: #ffffff !important;
    box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}

.topbar .nav-link {
    color: #374151 !important;
    font-weight: 500;
}

/* Main page background */
body#page-top {
    background: #f8fafc !important; /* Trezo-like light gray */
}

.card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #eef2f7 !important;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    transition: all 0.3s ease;
}

/* Hover effect */
.card:hover {
    /*transform: translateY(-6px);*/
    box-shadow: 0 18px 40px rgba(0,0,0,0.1) !important;
}

.card .text-uppercase {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    color: #6b7280 !important;
    margin-bottom: 6px;
}

.card .h5,
.card .h4 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.card .h6 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.card i {
    color: #6366f1 !important; /* indigo */
    opacity: 0.9;
}

/* Remove gray disabled look */
.text-gray-300,
.text-gray-400 {
    color: #e11f1f80 !important;
}

.card a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid #eef2f7 !important;
    padding: 14px 18px !important;
}

.card-header h6 {
    font-size: 13px !important;
    font-weight: 600;
    color: #111827 !important;
}

.table {
    border-collapse: separate !important;
    border-spacing: 0;
    background: transparent;
}

.table thead th {
    background: #f1f5f9 !important;   /* soft gray */
    color: #374151 !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle;
}

.table tbody td {
    font-size: 14px;
    color: #111827;
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.table tbody tr:hover td {
    background: #f8fafc;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: transparent !important;
}

.table tbody td:first-child {
    font-weight: 600;
    color: #1f2937;
}

.table td:not(:first-child),
.table th:not(:first-child) {
    text-align: center;
}

.card .table-responsive {
    /*border-radius: 14px;*/
    overflow: hidden;
}

.table-responsive,
.dataTables_wrapper {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.dataTables_wrapper {
    padding-top: 12px;
}

.dataTables_wrapper .dataTables_paginate {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 16px !important;
}

/* Pagination list */
.dataTables_wrapper .dataTables_paginate ul.pagination {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Pagination items */
.dataTables_wrapper .dataTables_paginate .page-item {
    margin: 0 !important;
}

/* Pagination links */
.dataTables_wrapper .dataTables_paginate .page-link {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    color: #374151 !important;
    background-color: #ffffff !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;

    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

/* Hover */
.dataTables_wrapper .dataTables_paginate .page-link:hover {
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}

/* Active page */
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background-color: #6366f1 !important; /* primary */
    color: #ffffff !important;
    border-color: #6366f1 !important;
}

/* Disabled state */
.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
    color: #9ca3af !important;
    background-color: #f9fafb !important;
    border-color: #e5e7eb !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Previous / Next buttons */
.dataTables_wrapper .dataTables_paginate .page-item.previous .page-link,
.dataTables_wrapper .dataTables_paginate .page-item.next .page-link {
    padding: 0 14px !important;
    font-weight: 500 !important;
}

/* Info text */
.dataTables_info {
    font-size: 13px;
    color: #6b7280;
}

/* Empty state */
.dataTables_empty {
    padding: 24px !important;
    color: #6b7280;
    text-align: center;
}

.table thead input,
.table thead select {
    height: 34px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 4px 8px;
}

.dataTables_info,
.dataTables_paginate,
.table-footer {
    font-size: 13px;
    color: #6b7280 !important;
}

.card-header h6 {
    font-size: 16px !important;
    font-weight: 600;
    color: #111827;
}

label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    line-height: 1.4;
}

input.form-control,
select.form-control:not([multiple]),
textarea.form-control {
    height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: #111827 !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

.dropify-wrapper input{
    height: 100% !important;
    width: 100% !important;
}
select.form-control[multiple] {
    height: auto !important;
    min-height: 42px;
    padding: 6px 8px !important;
    color: #111827 !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition: all 0.25s ease;
    overflow-y: auto;
}

select.form-control[multiple] option {
    padding: 6px 10px;
    font-size: 14px;
}

input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
    outline: none !important;
}

.ui-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ui-checkbox label {
    margin-bottom: 0 !important;
    cursor: pointer;
}
form .btn {
    min-width: 120px;
    height: 40px;
    font-size: 13px;
    border-radius: 10px;
}

/* Button container */
form .form-group > .btn,
form .form-group > a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Align buttons properly */
form .form-group:has(.btn) {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

/* Remove extra margins */
form .btn + .btn {
    margin-left: 0 !important;
}

/*Toaster Meesage Color Change*/
#toast-container > div {
    background-color: rgba(0, 0, 0, 0.9) !important; /* dark black */
    color: red !important;
    opacity: 1 !important; /* do NOT fade text */
    box-shadow: 0 0 12px rgba(0,0,0,0.6) !important;
}

.toast-title,
.toast-message {
    color: red !important;
}

/* Flatpicker CSS Error Solve*/
.flatpickr-time {
    display: none !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    display: none !important;
}

.flatpickr-months {
    display:none !important;
}

.flatpickr-innerContainer{
    display: none !important;
}


/* 1. Global / Auth Layout Overrides */
body.bg-gradient-primary {
    position: relative !important;
    background: none !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    overflow: hidden !important;
}

body.bg-gradient-primary::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('../img/Background.png') no-repeat center center fixed !important;
    background-size: cover !important;
    filter: none !important; /* Clear background image on login page (no blur effect) */
    z-index: -1 !important;
}

body.bg-gradient-primary > .container {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

body.bg-gradient-primary .row.justify-content-center {
    width: 100% !important;
    margin: 0 !important;
    justify-content: flex-end !important;
    display: flex !important;
    height: 100% !important;
    align-items: center !important;
}

body.bg-gradient-primary .col-xl-12 {
    max-width: 885px !important;
    padding-right: 0% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
}

@media (max-width: 991px) {
    body.bg-gradient-primary > .container {
        justify-content: center !important;
    }
    body.bg-gradient-primary .row.justify-content-center {
        justify-content: center !important;
    }
    body.bg-gradient-primary .col-xl-12 {
        max-width: 90% !important;
        padding-right: 0 !important;
        justify-content: center !important;
    }
}

/* Hide default SB Admin 2 card styles */
body.bg-gradient-primary .card.o-hidden {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.bg-gradient-primary .card-body {
    background: transparent !important;
    padding: 0 !important;
}

/* 2. Glassmorphism Login Card */
.login-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-radius: 24px;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* 3D Bouncy entrance animation with 1 second delay (bottom to top bounce) */
    opacity: 0;
    animation: bounceUp3D 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
}

@keyframes bounceUp3D {
    0% {
        opacity: 0;
        transform: translateY(600px) scale3d(0.8, 0.8, 0.8) rotate3d(1, 0, 0, 20deg);
    }
    50% {
        opacity: 0.95;
        transform: translateY(-25px) scale3d(1.03, 1.03, 1.03) rotate3d(1, 0, 0, -6deg);
    }
    70% {
        transform: translateY(12px) scale3d(0.98, 0.98, 0.98) rotate3d(1, 0, 0, 2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale3d(1, 1, 1) rotate3d(1, 0, 0, 0deg);
    }
}

.login-card-body {
    padding: 40px 35px 30px 35px;
}

/* Logos & Headers */
.header-logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    gap: 15px;
}

.login-logo-left {
    height: 75px;
    object-fit: contain;
    mix-blend-mode: multiply !important;
}

.login-logo-right {
    height: 100px;
    object-fit: contain;
    mix-blend-mode: multiply !important;
}

.login-title {
    font-size: 35px !important;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 !important;
    text-align: center;
    flex-grow: 1;
}

.login-subtitle {
    font-size: 15px;
    color: #464545;
    margin-bottom: 10px;
    text-align: center;
}

/* Custom Input Groups */
.form-group-custom {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 2px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group-custom:focus-within {
    border-color: #bb162b !important;
    box-shadow: 0 0 0 3px rgba(187, 22, 43, 0.15);
}

.input-icon {
    color: #555;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 15px;
    display: flex;
    align-items: center;
    height: 22px;
}

.form-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    width: 100% !important;
    padding: 12px 0 !important;
    font-size: 17px !important;
    color: #222 !important;
    height: auto !important;
}

.form-input::placeholder {
    color: #999;
}

/* Override browser autofill background to pure white */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus, 
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #222 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.password-toggle {
    position: absolute;
    right: 14px;
    cursor: pointer;
    color: #777;
    padding: 5px;
}

.password-toggle:hover {
    color: #bb162b;
}

.invalid-feedback-custom {
    color: #e74a3b;
    font-size: 12.5px;
    margin-top: -12px;
    margin-bottom: 12px;
    padding-left: 5px;
}

/* Warnings and Actions */
.default-password-warning {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    margin-top: 15px!important;
    margin-bottom: 15px;
    padding: 0 10px;
}

.default-password-warning i {
    font-size: 18px !important;
    color: #bb162b !important;
    margin-right: 10px !important;
    margin-bottom: 0 !important;
    margin-top: 12px !important;
    flex-shrink: 0;
}

.btn-submit-red {
    background: linear-gradient(135deg, #db4558, #e73b36);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(187, 22, 43, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn-submit-red:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(187, 22, 43, 0.45);
}

.btn-submit-red:active {
    transform: translateY(1px);
}

.btn-submit-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #333 !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.btn-submit-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Notices section */
.login-notices {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.notice-header {
    display: flex;
    align-items: center;
    color: #1a1a1a;
}

.notice-header h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.notice-divider {
    margin: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.notice-list {
    max-height: 120px;
    overflow-y: auto;
}

.notice-item {
    font-size: 12.5px;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Dark Glassmorphism Footer */
.login-card-footer {
    background: rgba(30, 32, 35, 0.65) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    padding: 30px 35px;
    color: #e0e0e0;
}

.help-title {
    font-size: 18px !important;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.help-desc {
    font-size: 14.5px !important;
    color: #d7d1d1;
    margin-bottom: 15px;
    line-height: 1.5;
}

.help-subtitle {
    font-size: 15px !important;
    color: #fff;
    margin-bottom: 12px;
}

.contact-capsules {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}

.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 20px;
    color: #fff !important;
    text-decoration: none !important;
    flex: 1;
    font-size: 15.5px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.contact-btn i {
    font-size: 15px !important;
    color: #ffffff !important;
}

.contact-btn p {
    margin: 0 !important;
}

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

.footer-copyright {
    font-size: 12.5px !important;
    color: #888;
    text-align: center;
    margin-top: 25px;
}

/* 3. OTP Verification Styling */
.otp-container {
    padding: 10px 0;
}

.otp-label {
    font-size: 15px;
    color: #333;
    font-weight: 700;
}

.otp-inputs-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 25px 0;
}

.otp-square-input {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    font-size: 26px;
    font-weight: 800;
    color: #111827 !important;
    text-align: center;
    outline: none;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    
    /* 3D Glass Shadow effect: White highlight at the top, dark shadow at the bottom, and soft drop shadow */
    box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.5), 
                inset 0 -3px 6px rgba(0, 0, 0, 0.12), 
                0 6px 12px rgba(0, 0, 0, 0.1) !important;
    
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.otp-square-input:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
    box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.6), 
                inset 0 -3px 6px rgba(0, 0, 0, 0.08), 
                0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.otp-square-input:focus {
    background: rgba(255, 255, 255, 0.45) !important;
    border-color: #bb162b !important;
    color: #bb162b !important;
    transform: translateY(-3px) scale(1.06);
    
    /* Focused 3D Glass Glow */
    box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.6), 
                inset 0 -3px 6px rgba(0, 0, 0, 0.08), 
                0 0 0 4px rgba(187, 22, 43, 0.25), 
                0 12px 24px rgba(187, 22, 43, 0.3) !important;
}

/* ==========================================================================
   4. Main ERP Glassmorphism & Color Customizations (After Login)
   ========================================================================== */

/* 4.1 Page Background Image */
body#page-top {
    background: url('../img/Background.png') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh;
}

/* Page Wrapper / Content transparent backdrop */
#content-wrapper {
    background: rgba(248, 250, 252, 0.15) !important;
    backdrop-filter: blur(25px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
}

/* 4.2 Sidebar Glassmorphism & Bold Typography */
#accordionSidebar,
.sidebar.bg-gradient-primary {
    background: rgb(255 255 255 / 24%) !important;
    background-image: none !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05) !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

/* Sidebar Brand and Text colors */
#accordionSidebar .sidebar-brand {
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 90px !important;
    padding: 15px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#accordionSidebar .sidebar-brand::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 160px !important;
    height: 75px !important;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0.4) 75%, rgba(255, 255, 255, 0) 100%) !important;
    filter: blur(15px) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

#accordionSidebar .sidebar-brand-text {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    box-shadow: none !important;
}

/* Sidebar nav link adjustments */
#accordionSidebar .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    margin: 6px 12px !important;
    font-weight: 700 !important; /* Make sidebar menu text bold */
}

#accordionSidebar .nav-link span {
    font-weight: 700 !important;
}

#accordionSidebar .nav-link i,
#accordionSidebar .nav-link svg {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#accordionSidebar .nav-link[data-toggle="collapse"]::after {
    color: rgba(255, 255, 255, 0.7) !important;
}

#accordionSidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #1e2d4a !important;
}

#accordionSidebar .nav-link:hover i,
#accordionSidebar .nav-link:hover svg {
    color: #1e2d4a !important;
}

#accordionSidebar .nav-link:hover::after {
    color: #1e2d4a !important;
}

#accordionSidebar .nav-item.active > .nav-link {
    background: linear-gradient(135deg, #df1c1c21, #e36262) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(30, 45, 74, 0.25) !important;
}

#accordionSidebar .nav-item.active > .nav-link i {
    color: #ffffff !important;
}

#accordionSidebar .sidebar-heading {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    opacity: 0.75 !important;
    margin-top: 10px !important;
}

#accordionSidebar .collapse-inner {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px;
    margin: 4px 12px !important;
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#accordionSidebar .collapse-item {
    color: #f9f9f9f0 !important;
    font-weight: 700 !important; /* Make collapse item text bold */
}

#accordionSidebar .collapse-item:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #1e2d4a !important;
}

#accordionSidebar .collapse-item.active {
    background: linear-gradient(135deg, rgba(223, 28, 28, 0.13), rgb(227, 98, 98)) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
}


/* 4.3 Topbar Glassmorphism */
.topbar {
    background: rgb(255 255 255 / 24%) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    z-index: 1050 !important; /* Stack topbar above page card contents */
    
    /* Floating Capsule Layout */
    margin: 4px auto 35px auto !important;
    width: calc(100% - 20px) !important;
}

.topbar .dropdown-menu {
    z-index: 2000 !important; /* Position dropdown lists above glass elements */
}

/* 4.4 Dashboard Card & Section Glassmorphism */
.card, 
.obf-wrapper {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.card {
    padding: 0px 10px !important;
}

.obf-heading {
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 8px;
    padding: 2px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #3a4f73 !important;
    font-weight: 700 !important;
}

/* Card borders and icons - Custom Slate Blue accents */
.card.border-left-primary,
.card.border-left-success,
.card.border-left-info,
.card.border-left-warning {
    border-left: 4px solid #3a4f73 !important;
}

/* .card i,
.card-icon i,
.text-gray-300,
.text-gray-400 {
    color: #3a4f73 !important;
} */

/* Text elements inside cards */
.card .text-primary,
.card .text-success,
.card .text-info,
.card .text-warning {
    color: #3a4f73 !important;
    font-weight: 700 !important;
}

.card .h5,
.card .h4,
.card .h6,
.card-value {
    color: #111827 !important;
    font-weight: 800 !important;
}

/* 4.5 Tables Glassmorphism */
.table thead th {
    background: rgba(255, 255, 255, 0.7) !important;
    color: #111827 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5) !important;
}

.table tbody td {
    background: rgba(255, 255, 255, 0.45) !important;
    color: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* 4.6 Modal Glassmorphism */
.modal {
    background: rgba(30, 45, 74, 0.25) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.modal-backdrop {
    display: none !important; /* Hide standalone backdrop to prevent z-index issues from container stacking contexts */
}

.modal-content {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Google Charts Text Styling & transparency */
svg > rect[fill="#ffffff"] {
    fill: transparent !important;
}
text {
    fill: #111827 !important;
}
svg > rect {
    fill: transparent !important;
}

/* 4.7 Modern Dashboard Grid & Custom Card Sections */
.obf-wrapper {
    position: relative !important;
    border-radius: 20px !important;
    padding: 22px 14px 10px 14px !important; /* Compressed wrapper padding */
    margin-top: 1rem !important;             /* Reduced margin top */
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.3), 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    background: rgb(255 255 255 / 24%) !important; /* Frosted White Glass Panel */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    transition: all 0.3s ease !important;
}

.obf-wrapper::before {
    display: none !important; /* Hide old neon gradient borders */
}

/* Headings as bold, solid colored pill badges */
.obf-heading {
    position: absolute !important;
    top: -12px !important;          /* Shifted down to fit tighter borders */
    left: 20px !important;
    border-radius: 30px !important;
    color: #ffffff !important; /* Crisp white text */
    font-size: 0.88rem !important; /* Tighter heading size */
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0.1em !important;
    padding: 5px 16px !important; /* Reduced padding */
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    z-index: 10 !important;
    background: linear-gradient(135deg, #df1c1c8f, #e36262) !important; /* Brand Slate Blue Heading Pill */
}

.obf-heading::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8) !important;
}

/* Ensure equal heights for cards across all grid variations */
.obf-wrapper .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* Ensure column elements stretch */
.obf-wrapper .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* Ensure links stretch */
.obf-wrapper .row > [class*="col-"] > a {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

/* Base style for dashboard section cards */
.obf-wrapper .card {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100% !important;
    height: 85px !important;      /* STRICT equal height for all boxes - compressed */
    min-height: 85px !important;  /* Enforce height */
    max-height: 85px !important;  /* Prevent vertical variations */
    background: #ffffff3d !important; /* Clean solid white cards */
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 14px !important;
    border-left: 4px solid #3a4f73 !important; /* Unified Brand Slate Blue Border */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
    overflow: hidden !important;
}

.obf-wrapper .card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06) !important;
}

.obf-wrapper .card-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex-grow: 1 !important;
    height: 100% !important;
    padding: 10px 14px !important; /* Reduced vertical & horizontal padding */
    box-sizing: border-box !important;
}

.obf-wrapper .card-body > a {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: space-between !important;
    text-decoration: none !important;
}

/* CSS Grid Layout to split top (label) and bottom (numbers + icon) */
.obf-wrapper .row.no-gutters {
    display: grid !important;
    grid-template-areas:
        "label label label label"
        ". icon value ." !important; /* Swap order: icon first, then value */
    grid-template-columns: 1fr auto auto 1fr !important; /* Centers the bottom row elements */
    grid-template-rows: auto auto !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    row-gap: 8px !important;    /* Generous vertical gap below the label */
    column-gap: 10px !important; /* Close gap between icon and value */
}

/* Remove column boundaries so their children become direct grid items */
.obf-wrapper .row.no-gutters > .col {
    display: contents !important; /* Only dissolve the text wrapper col, leaving col-auto intact */
}

/* Text styles inside dashboard section cards - Stays in single line at top */
.obf-wrapper .card .text-xs,
.obf-wrapper .card .card-text,
.obf-wrapper .card .text-primary,
.obf-wrapper .card .text-success,
.obf-wrapper .card .text-warning,
.obf-wrapper .card .text-info {
    grid-area: label !important;
    font-size: 0.82rem !important; /* Compressed font size for better fit */
    font-weight: 800 !important;   /* Extra bold for visibility */
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: -4px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #3a4f73 !important;     /* High-contrast brand slate blue */
    display: block !important;
    line-height: 1.1 !important;
    text-align: center !important; /* Center aligned label */
}

/* Metric values on the bottom-left */
.obf-wrapper .card .h5,
.obf-wrapper .card .card-value {
    grid-area: value !important;
    font-size: 1.65rem !important;  /* Compact bold numbers */
    font-weight: 800 !important;
    color: #0f172a !important;     /* Dark Navy Slate */
    margin: 0 !important;
    line-height: 1.1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Icon containers styled as badges on the bottom-right */
.obf-wrapper .card .col-auto,
.obf-wrapper .card .card-icon {
    width: 5px !important;         /* Reduced size */
    height: 24px !important;        /* Reduced size */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;      /* Sit close to value */
    transition: all 0.25s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background: rgba(58, 79, 115, 0.08) !important; /* Slate blue tinted background */
    align-self: center !important;
}

.obf-wrapper .card:hover .col-auto,
.obf-wrapper .card:hover .card-icon {
    background: rgba(58, 79, 115, 0.18) !important;
    transform: scale(1.08) !important;
}

.obf-wrapper .card .col-auto i,
.obf-wrapper .card .card-icon i {
    font-size: 10px !important;    /* Reduced icon font size */
    transition: all 0.25s ease !important;
    color: #3a4f73 !important;     /* Brand slate blue */
}

/* 4.8 Professional Chart Container Overrides */
.card-chart {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.card-chart .card-header {
    background: rgba(255, 255, 255, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 14px 20px !important;
}

.card-chart .card-header h6 {
    color: #1e293b !important; /* Dark Slate Navy */
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
}

/* Make Google Charts text fit the theme */
text {
    fill: #334155 !important; /* Muted Slate Navy */
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* 4.9 Premium Topbar & User Initials Avatar Upgrade */
.topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 25px !important;
    border-radius: 20px !important; /* Round all 4 corners to match sidebar */
}

.topbar .navbar-nav {
    display: flex !important;
    align-items: center !important; /* Force all nav items to align perfectly in one line */
    flex-direction: row !important;
}

.topbar .nav-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.topbar-left-brand {
    display: flex;
    align-items: center;
}

.topbar-left-brand .page-desc {
    color: #ffffffc7 !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* User profile capsule and items in topbar */
.topbar .nav-item .nav-link {
    height: 42px !important; /* Strict uniform height matching all buttons */
    padding: 0 16px !important; /* Consistent padding */
    margin: 0 4px !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.topbar .nav-item .nav-link:hover {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(58, 79, 115, 0.25) !important;
    transform: translateY(-1px) !important;
}

.topbar .nav-item .nav-link i {
    color: #3a4f73 !important;
}

.topbar .nav-item .nav-link .medium {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

.topbar-divider {
    border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    height: 1.8rem !important;
}

/* Redesign notification badge */
.navbar-badge {
    position: static !important;
    transform: none !important;
    background-color: #3a4f73 !important; /* Cool slate blue badge */
    border: none !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    margin-left: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 18px !important;
    min-width: 18px !important;
}

/* Initials Avatar badge */
.user-avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3a4f73, #1e2d4a);
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 2px 6px rgba(58, 79, 115, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}
/* Style the dynamically generated wallet widget button to match Technical Support button */
#wallet-widget {
    display: inline-flex !important;
    align-items: center !important;
}

#wallet-widget button,
#wallet-widget a,
#wallet-widget .wallet-btn,
#wallet-widget [class*="btn"] {
    height: 42px !important; /* Strict uniform height matching other topbar links */
    padding: 0 16px !important; /* Consistent padding */
    margin: 0 4px !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    line-height: normal !important;
}

#wallet-widget button:hover,
#wallet-widget a:hover,
#wallet-widget .wallet-btn:hover,
#wallet-widget [class*="btn"]:hover {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(58, 79, 115, 0.25) !important;
    color: #334155 !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

#wallet-widget button i,
#wallet-widget a i,
#wallet-widget .wallet-btn i,
#wallet-widget [class*="btn"] i,
#wallet-widget [class*="fa"] {
    color: #3a4f73 !important;
    font-size: 0.85rem !important;
}

/* 4.10 Notification Popup Theme Sync */
.notify_head {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 12px 12px 0 0 !important; /* Premium rounded top corners */
}

.seeall_notify {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 0 0 12px 12px !important; /* Premium rounded bottom corners */
}

.notify_li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important; /* Subtle separator */
}

.notify_li:hover {
    background: rgba(58, 79, 115, 0.08) !important; /* Subtle slate blue hover */
}

.renewal_class, 
.renewal_class:hover {
    color: #3a4f73 !important;
}

#notify_hide {
    border-radius: 12px !important;
    padding: 0 !important; /* Ensure header and footer bleed to the edges */
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* 4.11 Wallet Widget Theme Styling Overrides */
.dv-wallet-widget .dv-wallet-modal {
    border-radius: 16px !important;
    border: 1px solid rgba(58, 79, 115, 0.15) !important;
    box-shadow: 0 15px 35px rgba(30, 45, 74, 0.18) !important;
    background: #ffffff !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.dv-wallet-widget .dv-modal-header {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    color: #ffffff !important;
    padding: 18px 20px !important;
    border-bottom: none !important;
}

.dv-wallet-widget .dv-modal-header h3 {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.dv-wallet-widget .dv-modal-header p {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.75rem !important;
    margin-top: 3px !important;
}

.dv-wallet-widget .dv-close-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #ffffff !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

.dv-wallet-widget .dv-close-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
}

.dv-wallet-widget .dv-balance-card {
    background: rgba(58, 79, 115, 0.04) !important;
    border: 1px solid rgba(58, 79, 115, 0.12) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    text-align: center !important;
    margin-bottom: 18px !important;
}

.dv-wallet-widget .dv-balance-label {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #3a4f73 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 4px !important;
}

.dv-wallet-widget .dv-balance-val {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #1e2d4a !important;
}

.dv-wallet-widget .dv-recharge-input {
    border: 1.5px solid rgba(58, 79, 115, 0.2) !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    padding: 10px 12px 10px 24px !important;
    outline: none !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: all 0.2s ease !important;
    color: #1e2d4a !important;
    font-weight: 600 !important;
}

.dv-wallet-widget .dv-recharge-input:focus {
    border-color: #3a4f73 !important;
    box-shadow: 0 0 0 3px rgba(58, 79, 115, 0.15) !important;
}

.dv-wallet-widget .dv-input-group span {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    color: #3a4f73 !important;
    font-size: 0.9rem !important;
    left: 12px !important;
    top: 11px !important;
}

.dv-wallet-widget .dv-pay-btn {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    padding: 12px !important;
    box-shadow: 0 4px 12px rgba(58, 79, 115, 0.18) !important;
    transition: all 0.2s ease !important;
    border: none !important;
    width: 100% !important;
}

.dv-wallet-widget .dv-pay-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(58, 79, 115, 0.28) !important;
    opacity: 1 !important;
}

.dv-wallet-widget .dv-history-title {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #3a4f73 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid rgba(58, 79, 115, 0.1) !important;
    padding-bottom: 6px !important;
    margin-top: 15px !important;
    display: block !important;
}

/* Specific rates list overrides */
.dv-wallet-widget div[style*="grid"] {
    background: rgba(58, 79, 115, 0.03) !important;
    border: 1px solid rgba(58, 79, 115, 0.08) !important;
    border-radius: 10px !important;
    padding: 12px !important;
    margin-bottom: 15px !important;
}

.dv-wallet-widget div[style*="grid"] div {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.8rem !important;
    color: #475569 !important;
}

.dv-wallet-widget div[style*="grid"] span[style*="color: rgb(15, 23, 42)"],
.dv-wallet-widget div[style*="grid"] span[style*="color: #0f172a"] {
    color: #1e2d4a !important;
    font-weight: 700 !important;
}

.dv-wallet-widget .dv-history-item {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.8rem !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
}

.dv-wallet-widget .dv-hist-date {
    color: #64748b !important;
}

.dv-wallet-widget .dv-hist-amt {
    color: #10b981 !important;
    font-weight: 700 !important;
}

.dv-wallet-widget .dv-empty-state {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    padding: 12px 0 !important;
}

.dv-toast {
    background: #1e2d4a !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-shadow: 0 10px 25px rgba(30, 45, 74, 0.25) !important;
}

.dv-wallet-widget div[style*="animation: spin"] {
    border-color: #3a4f73 !important;
    border-top-color: transparent !important;
}

/* 4.12 Button Color Theme Sync & Glassmorphic Redesign (All Buttons) */
.btn,
form .btn,
.btn-submit-red,
.btn-submit-secondary {
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 8px 20px !important;
    height: auto !important;
    min-height: 40px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    border: none !important;
}

/* Primary buttons (Submit, Create, Next, Info) - Slate Blue / Deep Navy Gradient */
.btn-primary,
.btn-info,
.nextBtn,
.btn-submit-primary,
button[type="submit"]:not(.btn-outline-secondary):not(.btn-default):not(.btn-danger):not(.btn-secondary):not(.btn-submit-red):not(.btn-submit-secondary) {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(30, 45, 74, 0.22) !important;
}

.btn-primary:hover,
.btn-info:hover,
.nextBtn:hover,
.btn-submit-primary:hover,
button[type="submit"]:not(.btn-outline-secondary):not(.btn-default):not(.btn-danger):not(.btn-secondary):not(.btn-submit-red):not(.btn-submit-secondary):hover {
    background: linear-gradient(135deg, #4b628a, #263655) !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 16px rgba(30, 45, 74, 0.35) !important;
    color: #ffffff !important;
}

.btn-primary:active,
.btn-info:active,
.nextBtn:active,
button[type="submit"]:not(.btn-outline-secondary):not(.btn-default):not(.btn-danger):not(.btn-secondary):not(.btn-submit-red):not(.btn-submit-secondary):active {
    transform: translateY(0px) !important;
    box-shadow: 0 3px 8px rgba(30, 45, 74, 0.2) !important;
}

.btn-primary:focus,
.btn-primary.focus,
.nextBtn:focus,
button[type="submit"]:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 79, 115, 0.3) !important;
    outline: none !important;
}

/* Outline Primary Button */
.btn-outline-primary {
    color: #3a4f73 !important;
    border: 1.5px solid #3a4f73 !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    box-shadow: none !important;
}

.btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: #3a4f73 !important;
    border-color: #3a4f73 !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 4px 12px rgba(58, 79, 115, 0.25) !important;
}

/* Secondary / Cancel / Back Buttons (Frosted Glass Look) */
.btn-secondary,
.btn-default,
.btn-outline-secondary,
.btn-submit-secondary {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(30, 45, 74, 0.18) !important;
    color: #1e2d4a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.btn-secondary:hover,
.btn-default:hover,
.btn-outline-secondary:hover,
.btn-submit-secondary:hover {
    background: rgba(255, 255, 255, 0.45) !important;
    border-color: rgba(58, 79, 115, 0.4) !important;
    color: #1e2d4a !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 4px 12px rgba(30, 45, 74, 0.08) !important;
}

.btn-secondary:active,
.btn-default:active,
.btn-outline-secondary:active,
.btn-submit-secondary:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 6px rgba(30, 45, 74, 0.04) !important;
}

/* Danger / Delete / Reject Buttons (Rich Crimson Gradient) */
.btn-danger,
.btn-submit-red {
    background: linear-gradient(135deg, #db4558, #bb162b) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(187, 22, 43, 0.25) !important;
}

.btn-danger:hover,
.btn-submit-red:hover {
    background: linear-gradient(135deg, #eb5669, #cd273c) !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 16px rgba(187, 22, 43, 0.35) !important;
    color: #ffffff !important;
}

.btn-danger:active,
.btn-submit-red:active {
    transform: translateY(0px) !important;
    box-shadow: 0 3px 8px rgba(187, 22, 43, 0.2) !important;
}

/* Success Buttons (Teal/Emerald Glass Theme) */
.btn-success {
    background: linear-gradient(135deg, #1abc9c, #16a085) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(22, 160, 133, 0.25) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.35) !important;
    color: #ffffff !important;
}

.btn-success:active {
    transform: translateY(0px) !important;
    box-shadow: 0 3px 8px rgba(22, 160, 133, 0.2) !important;
}

/* Close/X buttons inside modals or alerts */
.close {
    background: transparent !important;
    border: none !important;
    color: #1e2d4a !important;
    opacity: 0.5 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.close:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* 4.13 Global Breadcrumbs and Page Titles Theme Sync */
.page-title {
    color: #1e2d4a !important; /* Bold Deep Navy color */
    font-weight: 700 !important;
}

.breadcrumb-item a {
    color: #3a4f73 !important; /* Slate Blue links */
    font-weight: 600 !important;
    transition: color 0.15s ease !important;
}

.breadcrumb-item a:hover {
    color: #1e2d4a !important; /* Deep Navy on hover */
    text-decoration: none !important;
}

.breadcrumb-item.active {
    color: #64748b !important; /* Muted slate gray active text */
    font-weight: 600 !important;
}

/* Breadcrumb separators */
.breadcrumb-item + .breadcrumb-item::before {
    color: #64748b !important;
}

/* 4.14 Glassmorphic Page Header Breadcrumb Cards */
.page-breadcrumb {
    background: rgb(255 255 255 / 50%) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 15px !important;
    padding: 15px 25px !important;
    margin: 0 35px -5px 35px !important; /* Matches container-fluid padding-left/right of 35px */
}


/* ==========================================================================
   5. Toastr Premium Glassmorphism Overrides & Centering
   ========================================================================== */

/* Align container in top center */
#toast-container.toast-top-center {
    top: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: auto !important;
    max-width: 90% !important;
}

/* Glass Toast Cards */
#toast-container > div {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-left-width: 5px !important; /* Thick modern left status strip */
    padding: 8px 12px 8px 40px !important; /* Compact padding to minimize height */
    width: 320px !important; /* Sleeker, perfect compact width */
    max-width: 100% !important;
    margin-bottom: 6px !important;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background-position: 12px center !important; /* Centered left icon placement */
    background-size: 16px !important; /* Compact icon size */
    max-height: 100px !important; /* Reset default toastr min-height */
}

/* Toast Hover Lift */
#toast-container > div:hover {
    transform: translateY(-2.5px) !important;
}

/* Success Toast */
#toast-container > .toast-success {
    background-color: rgb(29 237 23 / 15%) !important;
    border-left-color: #16e13b !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(29, 201, 183, 0.15) !important;
}
#toast-container > .toast-success:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(29, 201, 183, 0.25) !important;
}

/* Error Toast */
#toast-container > .toast-error {
    background-color: rgb(233 115 130 / 12%) !important;
    border-left-color: #bb162b !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(187, 22, 43, 0.12) !important;
}
#toast-container > .toast-error:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(187, 22, 43, 0.2) !important;
}

/* Warning Toast */
#toast-container > .toast-warning {
    background-color: rgba(246, 194, 62, 0.15) !important;
    border-left-color: #f6c23e !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(246, 194, 62, 0.15) !important;
}
#toast-container > .toast-warning:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(246, 194, 62, 0.25) !important;
}

/* Info Toast */
#toast-container > .toast-info {
    background-color: rgba(58, 79, 115, 0.15) !important;
    border-left-color: #3a4f73 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(58, 79, 115, 0.12) !important;
}
#toast-container > .toast-info:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(58, 79, 115, 0.2) !important;
}

/* Toast Title */
#toast-container .toast-title {
    font-weight: 700 !important;
    font-size: 1.45rem !important; /* Slightly smaller title */
    color: #000000 !important; /* Bold Deep Navy brand text */
    margin-bottom: 0px !important; /* Tiny gap */
    line-height: 1.25 !important;
    margin-left: 5px !important; /* Align with left icon */
}

/* Toast Message */
#toast-container .toast-message {
    font-size: 1.00rem !important; /* Slightly smaller message text */
    font-weight: 600 !important;
    color: #000000 !important; /* Dark Slate Blue body text */
    line-height: 1.25 !important;
    margin-top: 7px !important; /* Tiny gap */
    margin-left: 5px !important; /* Align with left icon */
}

/* Progress Bar Glass Sync */
#toast-container .toast-progress {
    height: 3px !important;
    border-radius: 1.5px !important;
    opacity: 0.6 !important;
    bottom: 0 !important;
}

#toast-container .toast-success .toast-progress {
    background-color: #1dc9b7 !important;
}

#toast-container .toast-error .toast-progress {
    background-color: #bb162b !important;
}

#toast-container .toast-warning .toast-progress {
    background-color: #f6c23e !important;
}

#toast-container .toast-info .toast-progress {
    background-color: #3a4f73 !important;
}

/* Close Button Overrides */
#toast-container .toast-close-button {
    top: -5px !important;
    right: -4px !important;
    color: #8e9cae !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    opacity: 0.7 !important;
    transition: color 0.15s ease !important;
}

#toast-container .toast-close-button:hover {
    color: #bb162b !important;
    opacity: 1 !important;
}


/* ==========================================================================
   4.8 Multi-Step Wizard Glassmorphic Styling (OBF Create/Edit & Processes)
   ========================================================================== */
.stepwizard {
    display: flex !important;
    justify-content: center !important;
    margin: 5px auto 15px auto !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 14px !important;
    padding: 8px 24px !important;
    box-shadow: 0 4px 20px rgba(30, 45, 74, 0.04) !important;
    width: 100% !important;
    max-width: 800px !important;
}

.stepwizard-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
}

.stepwizard-row:before {
    content: "" !important;
    position: absolute !important;
    top: 15px !important; /* Centered with the 30px circle */
    left: 8% !important;
    right: 8% !important;
    width: 84% !important;
    height: 3px !important;
    background: rgba(30, 45, 74, 0.08) !important;
    border-radius: 10px !important;
    z-index: 1 !important;
}

.stepwizard-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 2 !important;
    flex: 1 !important;
}

.stepwizard-step .btn-circle {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03) !important;
}

/* Inactive / Default button state */
.stepwizard-step .btn-default.btn-circle {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(30, 45, 74, 0.15) !important;
    color: #64748b !important;
}

/* Active button state */
.stepwizard-step .btn-primary.btn-circle {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    border: 1px solid transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(30, 45, 74, 0.25) !important;
    transform: scale(1.1) !important;
}

/* Hover effect on clickable non-disabled buttons */
.stepwizard-step .btn-circle:not([disabled]):hover {
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(30, 45, 74, 0.12) !important;
}

/* Disabled state */
.stepwizard-step .btn-circle[disabled] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Labels below circles */
.stepwizard-step p {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    transition: all 0.3s ease !important;
}

/* Active Label highlight */
.stepwizard-step a.btn-primary.btn-circle + p {
    color: #1e2d4a !important;
    font-weight: 800 !important;
}

/* Step Form Heading Styling */
.setup-content h5,
.setup-content h3 {
    color: #1e2d4a !important;
    font-weight: 800 !important;
    font-size: 1.12rem !important;
    border-bottom: 2px solid rgba(30, 45, 74, 0.08) !important;
    padding-bottom: 5px !important;
    margin-top: 5px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.02em !important;
}


/* ==========================================================================
   4.9 Dropify Glassmorphic Drag & Drop Uploader & Thumbnail Overrides
   ========================================================================== */
.dropify-wrapper {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px dashed rgba(30, 45, 74, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: inherit !important;
    color: #1e2d4a !important;
    height: 120px !important;
}

/* Hover and active drag state */
.dropify-wrapper:hover,
.dropify-wrapper.touch-fallback {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: #3a4f73 !important;
    box-shadow: 0 6px 20px rgba(30, 45, 74, 0.06) !important;
}

/* Inner message text styling */
.dropify-wrapper .dropify-message {
    padding: 15px 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    position: relative !important;
}

.dropify-wrapper .dropify-message p {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e2d4a !important;
    margin: 5px 0 0 0 !important;
    font-family: inherit !important;
}

/* Inner file icon styling */
.dropify-wrapper .dropify-message .file-icon {
    font-size: 24px !important;
    color: #3a4f73 !important;
    opacity: 0.8 !important;
    transition: transform 0.3s ease !important;
}

.dropify-wrapper:hover .dropify-message .file-icon {
    transform: scale(1.1) !important;
    opacity: 1 !important;
}

/* Dropify Preview Panel */
.dropify-wrapper .dropify-preview {
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 12px !important;
    padding: 0 !important;
}

/* Clear/Remove button */
.dropify-wrapper .dropify-clear {
    background: rgba(187, 22, 43, 0.08) !important;
    border: 1px solid rgba(187, 22, 43, 0.25) !important;
    color: #bb162b !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    top: 10px !important;
    right: 10px !important;
    transition: all 0.2s ease !important;
}

.dropify-wrapper .dropify-clear:hover {
    background: #bb162b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(187, 22, 43, 0.25) !important;
}

/* Image filename overlay */
.dropify-wrapper .dropify-preview .dropify-infos {
    background: rgba(30, 45, 74, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-radius: 12px !important;
}

.dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-filename {
    font-size: 12px !important;
    font-weight: 700 !important;
}

.dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-infos-message {
    font-size: 11px !important;
    opacity: 0.8 !important;
}

/* Modern Polaroid Thumbnail Previews */
#galeria img, 
#pan_image_multi img, 
#aadhar_pan_image_multi img, 
#adhar_image_multi img, 
#documents_multi img, 
#licance_image_multi img, 
#offer_image_multi img,
#gst_certificate_multi img {
    width: 76px !important;
    height: 76px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.4) !important;
    padding: 4px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 6px !important;
    object-fit: cover !important;
}

#galeria img:hover, 
#pan_image_multi img:hover, 
#aadhar_pan_image_multi img:hover, 
#adhar_image_multi img:hover, 
#documents_multi img:hover, 
#licance_image_multi img:hover, 
#offer_image_multi img:hover,
#gst_certificate_multi img:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(30, 45, 74, 0.12) !important;
    border-color: rgba(58, 79, 115, 0.4) !important;
    opacity: 1 !important;
}


/* ==========================================================================
   4.10 Select2 Form Dropdown Theme Matching & Border-Radius Overrides
   ========================================================================== */
/* Single selection container */
.select2-container--default .select2-selection--single {
    height: 42px !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
}

/* Single selection text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #111827 !important;
    padding-left: 12px !important;
    padding-right: 30px !important;
    font-size: 14px !important;
    line-height: 40px !important;
    font-weight: 500 !important;
}

/* Arrow positioner */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 8px !important;
    width: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Focus and active dropdown states */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #3a4f73 !important;
    box-shadow: 0 0 0 3px rgba(58, 79, 115, 0.15) !important;
    outline: none !important;
}

/* Dropdown list container popup */
.select2-dropdown {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(30, 45, 74, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(30, 45, 74, 0.1) !important;
    overflow: hidden !important;
    z-index: 9999 !important;
}

/* List options styling */
.select2-results__option {
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    color: #374151 !important;
    transition: all 0.15s ease !important;
}

/* Hover/Highlight state */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, #d0d7e391, #b3b7c19e) !important;
    color: #ffffff !important;
}

/* Selected state */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(58, 79, 115, 0.12) !important;
    color: #1e2d4a !important;
    font-weight: 700 !important;
}

/* Dropdown Search Field */
.select2-search--dropdown .select2-search__field {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #3a4f73 !important;
    box-shadow: 0 0 0 2px rgba(58, 79, 115, 0.15) !important;
}

/* Multiple select box (if any) */
.select2-container--default .select2-selection--multiple {
    min-height: 42px !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 3px 8px !important;
    transition: all 0.25s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #3a4f73 !important;
    box-shadow: 0 0 0 3px rgba(58, 79, 115, 0.15) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(58, 79, 115, 0.1) !important;
    border: 1px solid rgba(58, 79, 115, 0.2) !important;
    color: #1e2d4a !important;
    border-radius: 6px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
}

/* ==========================================================================
   4.11 Modernized Modal File Upload Inputs (Glassmorphism & Themed Button)
   ========================================================================== */
.modal input[type="file"],
.modal .form-control-file {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1.5px dashed rgba(58, 79, 115, 0.25) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    color: #1e2d4a !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    height: auto !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

/* Hover state for the input wrapper */
.modal input[type="file"]:hover,
.modal .form-control-file:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(58, 79, 115, 0.5) !important;
    box-shadow: 0 6px 18px rgba(30, 45, 74, 0.08) !important;
}

/* Focus state */
.modal input[type="file"]:focus,
.modal .form-control-file:focus {
    border-color: #3a4f73 !important;
    box-shadow: 0 0 0 3px rgba(58, 79, 115, 0.2) !important;
    outline: none !important;
}

/* Styling the native Browse button inside the file input */
.modal input[type="file"]::-webkit-file-upload-button,
.modal input[type="file"]::file-selector-button,
.modal .form-control-file::-webkit-file-upload-button,
.modal .form-control-file::file-selector-button {
    background: linear-gradient(135deg, #3a4f73, #1e2d4a) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    transition: all 0.25s ease !important;
    margin-right: 12px !important;
    display: inline-block !important;
    box-shadow: 0 3px 8px rgba(30, 45, 74, 0.2) !important;
}

.modal input[type="file"]::-webkit-file-upload-button:hover,
.modal input[type="file"]::file-selector-button:hover,
.modal .form-control-file::-webkit-file-upload-button:hover,
.modal .form-control-file::file-selector-button:hover {
    background: linear-gradient(135deg, #4b628a, #263655) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 12px rgba(30, 45, 74, 0.3) !important;
}

.modal input[type="file"]::-webkit-file-upload-button:active,
.modal input[type="file"]::file-selector-button:active,
.modal .form-control-file::-webkit-file-upload-button:active,
.modal .form-control-file::file-selector-button:active {
    transform: translateY(0px) !important;
    box-shadow: 0 3px 6px rgba(30, 45, 74, 0.2) !important;
}


