:root {
    --tbl_header: #33a4ab;
    --tbl_select_row_bg: #e6e6e6;
    --new-clr: #0A0A0A;
}

/*.dataTables_wrapper .dataTables_scroll {
    WIDTH: 93VW;
}
.dataTables_scrollHead ,.dataTables_scrollBody {
    width:100%
}*/
table.table.dataTable,
.dataTables_scrollHeadInner {
    min-width: 100%;
}

.dataTables_wrapper .dataTable thead th,
.table thead th {
    border-bottom-width: 0;
    border: 1px solid var(--tbl_select_row_bg);
    font-weight: 400;
    white-space: nowrap;
    background-color: var(--new-clr);
    color: #fff;
    text-align: center;
    padding: 0 15px;
    padding-top: 8px;
    padding-bottom: 10px;
}

.dataTables_wrapper .dataTable tbody tr td,
.table td {
    border: 1px solid rgba(151, 151, 151, 0.18);
    color: #0A0A0A;
    white-space: nowrap;
    font-weight: 500;
    padding: 3px 15px;
    text-align: left;
    text-align: center;
}

table.dataTable tbody tr>.dtfc-fixed-left,
table.dataTable tbody tr>.dtfc-fixed-right,
table.dataTable thead tr>.dtfc-fixed-left,
table.dataTable thead tr>.dtfc-fixed-right {}

.dataTables_wrapper .dataTable tbody tr td.dtfc-fixed-left:not(.select-checkbox):before,
.dataTables_wrapper .dataTable tbody tr td.dtfc-fixed-left:not(.select-checkbox):after,
.dataTables_wrapper .dataTable thead tr th.dtfc-fixed-left:not(.select-checkbox):before,
.dataTables_wrapper .dataTable thead tr th.dtfc-fixed-left:not(.select-checkbox):after {
    content: "";
    --left: -2px;
    height: 100%;
    width: 2px;
    /*background-color: var(--tbl_select_row_bg);*/
    background-color: #dddddd;
    position: absolute;
    top: 0rem;
    left: calc(var(--left));
}

.dataTables_wrapper .dataTable thead tr th.dtfc-fixed-left:not(.select-checkbox):after,
.dataTables_wrapper .dataTable tbody tr td.dtfc-fixed-left:not(.select-checkbox):after {
    left: calc(100% + var(--left) - -2px);
}

a {
    color: #5a5a5a;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #5a5a5a;
    text-decoration: none;
}

.custom_btn {
    padding: 10px 14px;
    background-color: #707070;
    border-radius: 0px;
    color: white;
    box-shadow: none;
}

table.dataTable.display tbody tr>.sorting_1 {
    transform: scale(1) !important;
}

table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.selected,
table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.sorting_1.selected {
    background-color: var(--tbl_select_row_bg) !important;
}

table.dataTable.display tbody>tr.selected:hover>.sorting_1,
table.dataTable.order-column.hover tbody>tr.selected:hover>.sorting_1,
table.dataTable.display tbody>tr.selected>.sorting_1,
table.dataTable.order-column.stripe tbody>tr.selected>.sorting_1 {
    background-color: var(--tbl_select_row_bg) !important;
}


.memo_table_wrap.Purchase tr td {
    line-height: 27px;
}

.memo_table_wrap.Purchase th {
    line-height: 18px;
}

.dataTables_empty {
    text-align: left !important;
    transform: scale(1);
    font-weight: 500;
}

.table2 tr,
.table2 td {
    border: none;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    width: 100%;
}

.dataTables_wrapper .dataTables_scroll {
    clear: both;
    overflow: overlay;
}

.clsImageURL a i {
    color: #929ca8 !important;
}

.dtfc-fixed-left a {
    color: #3f5a7b !important;
}

.dtfc-fixed-left a:hover {
    color: black;
}

table.dataTable thead tr>.dtfc-fixed-left,
table.dataTable thead tr>.dtfc-fixed-right {
    z-index: 1;
    background-color: var(--new-clr);
}

table.dataTable tbody tr>.dtfc-fixed-left,
table.dataTable tbody tr>.dtfc-fixed-right {
    z-index: 1;
}

table.dataTable.display tbody tr:hover>.sorting_1,
table.dataTable tbody tr.odd:not(.selected):not(:hover)>.dtfc-fixed-left,
table.dataTable tbody tr.odd:not(.selected):not(:hover)>.dtfc-fixed-right {
    background-color: #f9f9f9;
}

.dtfc-fixed-left.selected {
    background-color: #e6e6e6 !important;
}

table.dataTable tbody tr.even:not(.selected):not(:hover)>.dtfc-fixed-left,
table.dataTable tbody tr.even:not(.selected):not(:hover)>.dtfc-fixed-right {
    background-color: #fff;
}

/*.dataTables_wrapper .dataTable tbody tr:nth-child(odd):not(.selected):not(:hover),
table.dataTable.stripe tbody tr.odd:not(.selected):not(:hover),
table.dataTable.display tbody tr.odd:not(.selected):not(:hover),
.table-striped tbody tr:nth-of-type(odd):not(.selected):not(:hover),
table.dataTable tbody tr.odd:not(.selected):not(:hover) > .dtfc-fixed-left,
table.dataTable tbody tr.odd:not(.selected):not(:hover) > .dtfc-fixed-right {
    background-color: #f9f9f9 !important;
}

.dataTables_wrapper .dataTable tbody tr:nth-child(even):not(.selected):not(:hover),
table.dataTable.stripe tbody tr.even:not(.selected):not(:hover),
table.dataTable.display tbody tr.even:not(.selected):not(:hover),
.table-striped tbody tr:nth-of-type(even):not(:hover),
table.dataTable tbody tr.even:not(.selected):not(:hover) > .dtfc-fixed-left,
table.dataTable tbody tr.even:not(.selected):not(:hover) > .dtfc-fixed-right {
    background-color: #fff;
}*/
table.dataTable tbody tr.odd:hover>.dtfc-fixed-left,
table.dataTable tbody tr.odd:hover>.dtfc-fixed-right {
    background-color: #f6f6f6;
}

table.dataTable tbody tr.even:hover>.dtfc-fixed-left,
table.dataTable tbody tr.even:hover>.dtfc-fixed-right {
    background-color: #fff;
}

table.dataTable tbody tr.selected>.dtfc-fixed-left,
table.dataTable tbody tr.selected>.dtfc-fixed-right,
table.dataTable tbody tr.selected:hover>.dtfc-fixed-left,
table.dataTable tbody tr.selected:hover>.dtfc-fixed-right,
tr.selected {
    background-color: var(--tbl_select_row_bg);
}


div.dtfc-left-top-blocker,
div.dtfc-right-top-blocker {
    background-color: white;
}

table.dataTable tbody tr td,
table.dataTable thead tr th {
    height: 27px;
}

table.dataTable thead tr th {
    height: 18px;
}

table.dataTable tbody tr.selected td {
    background: #E6E6E6;
}

table.dataTable tbody tr.selected {
    border: 0px solid #0000009e;
    border-left: 0px solid #0000009e;
}

.Dropdownbtn {
    /*position: absolute;
    top: -29px;
    right: 94px;*/
    text-decoration: underline;
    width: max-content;
    padding-right: 15px;
    position: relative;
    top: 30px;
}

.ShapeUl {
    flex-wrap: wrap !important;
    overflow: hidden;
    height: 90px;
}

.ShapeWrap {
    height: auto !important;
}

/*@media screen and (max-width:1600px){
    .Dropdownbtn{
        right:30px;
    }
}
@media screen and (max-width:1440px) {
    .Dropdownbtn {
        right: 95px;
    }
}
@media screen and (max-width:1400px) {
    .Dropdownbtn {
        right: 58px;
    }
}
@media screen and (max-width:1366px) {
    .Dropdownbtn {
        right: 30px;
    }
}
@media screen and (max-width:1280px) {
    .Dropdownbtn {
        right: 52px;
    }
}
@media screen and (max-width:1024px) {
    .ShapeUl {
        height: 80px;
    }
}*/
@media screen and (max-width:768px) {
    .ShapeUl {
        height: auto;
        overflow: auto;
        flex-wrap: nowrap !important;
    }

    .Dropdownbtn {
        display: none;
    }

    .sidebar-icon-only .navbar .navbar-menu-wrapper {
        margin-left: 0px !important;
        width: 100% !important;
    }
}

/*.NoImgWidth{
    width:300px!important;
}*/

/*Krutik 16/08/2024*/

.Shape_List_Container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    /*align-items: baseline;*/
}

@media screen and (max-width:1199px) {
    .ShapeUl {
        height: 80px;
    }
}

@media screen and (max-width:1024px) {
    .scroll {
        overflow-x: auto !important;
    }
}

/* --- LUXURY THEME REDESIGN: BLACK / WHITE / GREY --- */
:root {
    --lux-black: #0a0a0a;
    --lux-white: #ffffff;
    --lux-grey: #8a8a8a;
    --lux-light-grey: #f5f5f5;
    --lux-accent: #e5a95b;
    /* Soft light gold for contrast */
}

body {
    background-color: var(--lux-white);
    color: var(--lux-black);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Base smooth fade animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lux-fade-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.lux-fade-left {
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* Staggered delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* New Sections UI */
.lux-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.lux-section-dark {
    background-color: var(--lux-black);
    color: var(--lux-white);
}

.lux-section-grey {
    background-color: var(--lux-light-grey);
    color: var(--lux-black);
}

.lux-heading {
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.lux-subheading {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--lux-accent);
    display: block;
    margin-bottom: 15px;
}

.lux-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--lux-grey);
}

.lux-section-dark .lux-text {
    color: #cccccc;
}

.dash-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 380px;
    gap: 20px;
    align-items: start;
}

/* Feature grid */
.lux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.lux-card {
    padding: 40px;
    background: var(--lux-white);
    border: 1px solid #eeeeee;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.lux-section-dark .lux-card {
    background: #111111;
    border-color: #222222;
}

.lux-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.lux-card-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

/* Premium Luxury Loader */
.lux-loader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.lux-loader-wrap.fade-out {
    opacity: 0;
    pointer-events: none;
}

.lux-loader-content {
    text-align: center;
    color: #ffffff;
}

.lux-loader-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    animation: luxTextReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.4s;
}

.lux-loader-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    margin: 0 auto;
    animation: luxLineExpand 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards, luxLineShimmer 1.8s infinite linear;
}

@keyframes luxLineExpand {
    0% {
        width: 0;
    }

    100% {
        width: 180px;
    }
}

@keyframes luxTextReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes luxLineShimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}


/* =========================================================
   SELECT2 — GLOBAL THEME (Matching Login Page Style)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Trigger button (the visible box) --- */
.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.38) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.48) !important;
    border-radius: 8px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    color: #18181b !important;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
    backdrop-filter: blur(4px) !important;
}

.select2-container--default .select2-selection--single:hover {
    border-color: rgba(24, 24, 27, 0.35) !important;
    background: rgba(255, 255, 255, 0.52) !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #18181b !important;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09) !important;
    background: rgba(255, 255, 255, 0.6) !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #18181b !important;
    line-height: 40px !important;
    padding-left: 13px !important;
    padding-right: 32px !important;
    font-size: 13.5px !important;
    font-family: 'Inter', sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #71717a !important;
}

/* Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    width: 32px !important;
    right: 4px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #71717a transparent transparent transparent !important;
    border-width: 5px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #18181b transparent !important;
    border-width: 0 5px 5px 5px !important;
}

/* --- Dropdown panel --- */
.select2-container--default .select2-dropdown {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid rgba(24, 24, 27, 0.12) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;
    overflow: hidden !important;
    margin-top: 3px !important;
    font-family: 'Inter', sans-serif !important;
    backdrop-filter: blur(12px) !important;
}

/* --- Search box inside dropdown --- */
.select2-container--default .select2-search--dropdown {
    padding: 8px 10px !important;
    background: #f4f4f5 !important;
    border-bottom: 1px solid #e4e4e7 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #d4d4d8 !important;
    border-radius: 6px !important;
    padding: 7px 11px !important;
    font-size: 13px !important;
    font-family: 'Inter', sans-serif !important;
    color: #18181b !important;
    background: #ffffff !important;
    outline: none !important;
    width: 100% !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #18181b !important;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09) !important;
}

/* --- Results list --- */
.select2-container--default .select2-results__options {
    max-height: 220px !important;
    overflow-y: auto !important;
    padding: 4px 0 !important;
}

/* Scrollbar inside list */
.select2-container--default .select2-results__options::-webkit-scrollbar {
    width: 4px !important;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-track {
    background: #f4f4f5 !important;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
    background: #d4d4d8 !important;
    border-radius: 10px !important;
}

/* --- Individual option --- */
.select2-container--default .select2-results__option {
    padding: 9px 14px !important;
    font-size: 13.5px !important;
    font-family: 'Inter', sans-serif !important;
    color: #18181b !important;
    transition: background 0.13s ease !important;
    cursor: pointer !important;
}

.select2-container--default .select2-results__option:hover,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #18181b !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #18181b !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* "No results" message */
.select2-container--default .select2-results__option.select2-results__message {
    color: #71717a !important;
    font-style: italic !important;
    text-align: center !important;
    padding: 10px !important;
}

/* --- Width fix: match parent element width --- */
.select2-container {
    width: 100% !important;
}

/* Apply similar styles to standard selects that might not have Select2 applied */
select.form-control,
select.form-select,
select.custom-select {
    background-color: rgba(255, 255, 255, 0.38);
    border: 1.5px solid rgba(255, 255, 255, 0.48);
    border-radius: 8px;
    height: 42px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #18181b;
    padding-left: 13px;
    padding-right: 32px;
    backdrop-filter: blur(4px);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-control:hover,
select.form-select:hover,
select.custom-select:hover {
    border-color: rgba(24, 24, 27, 0.35);
    background-color: rgba(255, 255, 255, 0.52);
}

select.form-control:focus,
select.form-select:focus,
select.custom-select:focus {
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09);
    background-color: rgba(255, 255, 255, 0.6);
    outline: none;
}

/* ── SKELETON LOADER ── */
.skeleton-box {
    background-color: #e0e0e0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Action Toolbar Button Hover and Active States */
.action-toolbar .btn-light {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    background-color: transparent !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.action-toolbar .btn-light:hover {
    background-color: #F5F5F5 !important;
    transform: scale(1.05) !important;
    border-color: #DADADA !important;
}

.action-toolbar .btn-light:active {
    background-color: #EBEBEB !important;
    transform: scale(0.98) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border-color: #D0D0D0 !important;
}

/* Ensure the icon keeps its full opacity and color */
.action-toolbar .btn-light i {
    opacity: 1 !important;
    transition: none !important;
    margin: 0 !important;
    font-size: 16px !important;
}

/* Email Button Styles */
.action-toolbar .btn-light i.fa-envelope {
    color: #6366F1 !important;
    transition: transform 0.2s ease-in-out !important;
}

.action-toolbar .btn-light:hover i.fa-envelope {
    color: #4F46E5 !important;
    transform: scale(1.08) !important;
}

/* Refresh Button Styles */
.action-toolbar .btn-light i.fa-sync-alt {
    color: #6B7280 !important;
    transition: transform 0.3s ease-in-out !important;
}

.action-toolbar .btn-light:hover i.fa-sync-alt {
    color: #374151 !important;
    transform: rotate(180deg) !important;
}

/* Remove legacy right-side spacing and borders from toolbar icon wrappers */
.action-toolbar>div {
    margin-right: 0 !important;
    padding-right: 0 !important;
    /* border-right kept */
}

/* Custom Select2 Styling for all dropdowns */
.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.38);
    border: 1.5px solid rgba(255, 255, 255, 0.48);
    border-radius: 8px;
    height: 42px;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #18181b;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    backdrop-filter: blur(4px);
}

.select2-container--default .select2-selection--single:hover {
    border-color: rgba(24, 24, 27, 0.35);
    background: rgba(255, 255, 255, 0.52);
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09);
    background: rgba(255, 255, 255, 0.6);
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #18181b;
    line-height: 40px;
    padding-left: 13px;
    padding-right: 32px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #71717a;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    width: 32px;
    right: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #71717a transparent transparent transparent;
    border-width: 5px 5px 0 5px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #18181b transparent;
    border-width: 0 5px 5px 5px;
}

.select2-container--default .select2-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(24, 24, 27, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(12px);
}

.select2-container--default .select2-search--dropdown {
    padding: 8px 10px;
    background: #f4f4f5;
    border-bottom: 1px solid #e4e4e7;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #d4d4d8;
    border-radius: 6px;
    padding: 7px 11px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: #18181b;
    background: #ffffff;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09);
}

.select2-container--default .select2-results__options {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.select2-container--default .select2-results__options::-webkit-scrollbar {
    width: 4px;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-track {
    background: #f4f4f5;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 10px;
}

.select2-container--default .select2-results__option {
    padding: 9px 14px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    color: #18181b;
    transition: background 0.13s ease;
    cursor: pointer;
}

.select2-container--default .select2-results__option:hover,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #f4f4f5;
    color: #18181b;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #18181b;
    color: #ffffff;
    font-weight: 600;
}

.select2-container {
    width: 100% !important;
}

/* Custom Toast Notification */
.custom-toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    width: 360px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    pointer-events: auto;
    font-family: Arial, sans-serif;
    animation: toast-slide-down 0.3s ease forwards;
    transform: translateZ(0);
    isolation: isolate;
}

@keyframes toast-slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-toast.toast-hiding {
    animation: toast-fade-out 0.3s ease forwards;
}

@keyframes toast-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.custom-toast-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #fff;
    position: relative;
}

.custom-toast-icon {
    margin-right: 12px;
}

.custom-toast-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0;
    flex-grow: 1;
}

.custom-toast-close {
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toast-close:hover {
    color: #555;
}

.custom-toast-body {
    padding: 12px 16px;
    background-color: #f5f5f5;
    font-size: 15px;
    color: #666;
    position: relative;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

background: rgba(255, 255, 255, 0.52);
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09);
    background: rgba(255, 255, 255, 0.6);
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #18181b;
    line-height: 40px;
    padding-left: 13px;
    padding-right: 32px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #71717a;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    width: 32px;
    right: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #71717a transparent transparent transparent;
    border-width: 5px 5px 0 5px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #18181b transparent;
    border-width: 0 5px 5px 5px;
}

.select2-container--default .select2-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(24, 24, 27, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(12px);
}

.select2-container--default .select2-search--dropdown {
    padding: 8px 10px;
    background: #f4f4f5;
    border-bottom: 1px solid #e4e4e7;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #d4d4d8;
    border-radius: 6px;
    padding: 7px 11px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: #18181b;
    background: #ffffff;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.09);
}

.select2-container--default .select2-results__options {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.select2-container--default .select2-results__options::-webkit-scrollbar {
    width: 4px;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-track {
    background: #f4f4f5;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 10px;
}

.select2-container--default .select2-results__option {
    padding: 9px 14px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    color: #18181b;
    transition: background 0.13s ease;
    cursor: pointer;
}

.select2-container--default .select2-results__option:hover,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #f4f4f5;
    color: #18181b;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #18181b;
    color: #ffffff;
    font-weight: 600;
}

.select2-container {
    width: 100% !important;
}

/* Custom Toast Notification */
.custom-toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    width: 360px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    pointer-events: auto;
    font-family: Arial, sans-serif;
    animation: toast-slide-down 0.3s ease forwards;
    transform: translateZ(0);
    isolation: isolate;
}

@keyframes toast-slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-toast.toast-hiding {
    animation: toast-fade-out 0.3s ease forwards;
}

@keyframes toast-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.custom-toast-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #fff;
    position: relative;
}

.custom-toast-icon {
    margin-right: 12px;
}

.custom-toast-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0;
    flex-grow: 1;
}

.custom-toast-close {
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toast-close:hover {
    color: #555;
}

.custom-toast-body {
    padding: 12px 16px;
    background-color: #f5f5f5;
    font-size: 15px;
    color: #666;
    position: relative;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.custom-toast-body strong {
    color: #000;
}

.custom-toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #28a745;
    width: 100%;
    transition: width 0.1s linear;
    border-bottom-left-radius: 12px;
}

/* Global Modal Styles */
.modal-content {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.modal-body {
    padding: 1.5rem !important;
}

/* Gmail-style Top Loader */
.gmail-top-loader {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f9edbe;
    border: 1px solid #f0c36d;
    border-top: none;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #222;
    z-index: 99999999;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

.gmail-top-loader.show {
    display: block;
}

/* Hide legacy full screen loaders during transactions */
#dvLoaderFull,
#loader {
    display: none !important;
}

/* Hide close button from all modals and popups */
.modal .close,
.modal .btn-close {
    display: none !important;
}

/* Offcanvas Action Buttons */
.dd-action-icon-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #3b82f6;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dd-action-icon-btn:hover {
    background: #f8fafc;
    color: #2563eb;
}

.dd-icon-14 {
    margin: 0;
    font-size: 14px;
}

.dd-action-icon-btn-close {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #ef4444;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dd-action-icon-btn-close:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dd-icon-16 {
    margin: 0;
    font-size: 16px;
}