:root {
    --bb-sidebar-top-row-border-color: #b8bbc3;
    --bb-sidebar-top-row-background-color: #31353d;
    --pageheader-sticky-height: 23px;
    --pagefooter-height: 40px;
    --pagecontent-margin-top: 25px;
    --pagecontent-margin-bottom: 15px;
    --bs-nav-link-color: black;
    --body-background-color: rgba(100, 100, 100, 0.8);
    --bs-primary: #4f46e5;
    --bs-secondary: #64748b;
    --bs-success: #16a34a;
    --bs-danger: #dc2626;
    --taxable-color: #dc2626;
    --non-taxable-color: rgba(28, 26, 231, 0.89);
    --sidebar-width: 18rem;
    --font-size: 0.95rem;
    --table-header-font-size: 0.9rem;
    --table-header-height: 1.8rem;
    --table-content-font-size: 0.8rem;
    --report-font-size: 0.9rem;
}

html {
    scrollbar-color: rgba(100, 100, 100, 0.5) transparent;
    scrollbar-width: thin;
}

@font-face {
    font-family: 'ArialCustom';
    src: url('/fonts/arial.woff2') format('woff2'),
    url('/fonts/arial.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ArialCustom';
    src: url('/fonts/arialBold.woff2') format('woff2'),
    url('/fonts/arialBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/Aptos.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/Aptos-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

*, html, body {
    font-family: "Aptos", sans-serif;
    font-size: var(--font-size);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(128, 89, 89, 0.67);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(128, 89, 89, 0.85);
}

/* ✅ Scoped custom scrollbar */
.custom-scrollbar {
    scrollbar-width: none;
    scrollbar-color: #c28888 transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 1px;
    height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #c28888;
    border-radius: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #a96d6d;
}


html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
}


.btn-info {
    --bs-btn-color: #ffff;
    --bs-btn-hover-color: #ffff;
    --bs-btn-bg: #17a2b8;
    --bs-btn-hover-bg: #138496;
    --bs-btn-hover-border-color: #171a8b;
    --bs-btn-border-color: #177a2b8;
}

main {
    max-height: 100vh;
    height: 100% !important;
}

h1:focus {
    outline: none;
}

aside::-webkit-scrollbar {
    display: none;
}

aside > .nav > li > a > span > i {
    /*background: #3a3f48;*/
    height: 30px;
    width: 30px;
    border-radius: 10%;
}

.modal-width-200 .modal-dialog {
    width: 200px !important;
}

.modal-width-250 .modal-dialog {
    width: 250px !important;
}

.modal-width-300 .modal-dialog {
    width: 300px !important;
}

.modal-width-350 .modal-dialog {
    width: 350px !important;
}

.modal-width-400 .modal-dialog {
    width: 400px !important;
}

.modal-width-450 .modal-dialog {
    width: 450px !important;
}

.modal-width-500 .modal-dialog {
    width: 500px !important;
}

.modal-width-550 .modal-dialog {
    width: 550px !important;
}

.modal-width-600 .modal-dialog {
    width: 600px !important;
}

.modal-width-700 .modal-dialog {
    width: 700px !important;
}

.modal-width-900 .modal-dialog {
    width: 900px !important;
}

.modal-width-1000 .modal-dialog {
    width: 1000px !important;
}

.table {
    margin-bottom: 0;
}

label {
    /*width: 100%;*/
}

.navbar-toggler {
    display: unset !important;
}

code {
    color: #c02d76;
}

input:not([type='checkbox']):focus {
    color: #495057 !important;
    background-color: #fff !important;
    border-color: rgba(128, 189, 255, 1) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25) !important;
}

.popup .nav-link {
    padding: 0 5px !important;
}

.popup .nav-link:not(.active) {
    color: #007bff;
}

.card .ico-card {
    position: absolute;
    left: 0;
    bottom: 0px;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.reportFilterDialog select {
    padding: unset;
    height: 26px;
}

.report-control-button {
    display: flex;
    gap: .25rem;
}

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #ffffff;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.modal-confirmation button.btn-secondary {
    margin-right: 5px;
}

.modal-confirmation button {
    padding: 2px;
}

.modal-header, .modal-footer {
    background-color: #f1f1f1;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    text-align: right !important;
}

/* Chrome, Safari, Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lds-roller {
    /* change color here */
    color: #d6dfe3;
    display: inline-block;
    position: relative;
    width: 32px; /* Reduced from 40px */
    height: 8px; /* Reduced from 10px */
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
    box-sizing: border-box;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin: -2.9px 0 0 -2.9px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.icon-disable {
    color: #b9bcbf;
}

.loading-progress-text {
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 10;
    background: #31353d;
}

.pulse-wave-container {
    margin-top: 40vh;
    position: relative;
    width: 600px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-roboto {
    font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}


/* Pulse waves */
.pulse-wave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0;
    z-index: 5;
}

.wave-1 {
    width: 200px;
    height: 100px;
    border-color: #F44336;
    animation: pulse 4s infinite ease-out;
}

.wave-2 {
    width: 200px;
    height: 100px;
    border-color: #2196F3;
    animation: pulse 4s infinite ease-out 0.5s;
}

.wave-3 {
    width: 200px;
    height: 100px;
    border-color: #FF9800;
    animation: pulse 4s infinite ease-out 1s;
}

.wave-4 {
    width: 200px;
    height: 100px;
    border-color: #4CAF50;
    animation: pulse 4s infinite ease-out 1.5s;
}

@keyframes pulse {
    0% {
        transform: scale(0.1);
        opacity: 0.8;
    }

    70% {
        opacity: 0.4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Loading bar */
.loading-bar-container {
    width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.loading-bar {
    height: 100%;
    width: var(--blazor-load-percentage);
    background: linear-gradient(90deg, #F44336, #2196F3);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
}

.loading-text {
    margin-top: 25px;
    font-size: 1.2rem;
    color: #aaa;
    text-align: center;
    letter-spacing: 2px;
}

.loading-dots {
    display: inline-block;
    width: 60px;
    text-align: left;
}

.loading-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #2196F3;
    border-radius: 50%;
    margin: 0 3px;
    opacity: 0;
}

.dot-1 {
    animation: dotPulse 1.5s infinite;
}

.dot-2 {
    animation: dotPulse 1.5s infinite 0.2s;
}

.dot-3 {
    animation: dotPulse 1.5s infinite 0.4s;
}

@keyframes dotPulse {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

.status-text {
    margin-top: 20px;
    font-size: 1rem;
    color: #777;
    text-align: center;
    max-width: 500px;
    line-height: 1.5;
    font-family: monospace;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 14px;
}

.status-item.show {
    opacity: 1;
    transform: translateY(0);
}

.icon {
    width: 18px;
    text-align: center;
}

.page-loading-spinner i {
    animation: spin 1s linear infinite;
}

.check i {
    color: #28a745;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Background elements */
.background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    animation: float 20s infinite linear;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
    animation-duration: 25s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 80%;
    animation-delay: 10s;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, 30px) rotate(90deg);
    }

    50% {
        transform: translate(0, 60px) rotate(180deg);
    }

    75% {
        transform: translate(-30px, 30px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.completion-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.completion-screen.active {
    opacity: 1;
    visibility: visible;
}

.completion-check {
    font-size: 8rem;
    color: #4CAF50;
    margin-bottom: 30px;
    animation: checkScale 0.8s ease-out 0.5s both;
}

@keyframes checkScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.completion-text {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.enter-button {
    margin-top: 40px;
    padding: 15px 40px;
    background: linear-gradient(90deg, #2196F3, #F44336);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Audiowide', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

.enter-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.6);
}

/* Responsive design */
@media (max-width: 768px) {
    .pulse-wave-container {
        width: 90vw;
        height: 200px;
    }

    .logo-text {
        font-size: 3.5rem;
        margin-bottom: 30px;
    }

    .loading-bar-container {
        width: 80vw;
    }

    .wave-1, .wave-2, .wave-3, .wave-4 {
        width: 150px;
        height: 150px;
    }

    .completion-text {
        font-size: 2.5rem;
        text-align: center;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2.5rem;
    }

    .wave-1, .wave-2, .wave-3, .wave-4 {
        width: 120px;
        height: 120px;
    }

    .completion-text {
        font-size: 2rem;
    }
}

/*loading end*/
.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.modal-header i {
    color: red;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-disable {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

input:not([type='checkbox']):focus, textarea:focus, select:focus {
    outline: 1px solid #dc3545 !important;
    box-shadow: none !important;
    border-color: #dc3545 !important;
    border: 0;
}

/* Hide the default checkbox */
.switch-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    background-color: #e9ecef;
    position: absolute;
}

/* Style the switch */
.switch-slider {
    display: inline-block;
    width: 26px;
    height: 15px;
    background-color: #e9ecef;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.4s;
}

.switch-slider:focus {
    outline: 1px solid #dc3545;
    border-color: #dc3545 !important;
    border: 0;;
}

/* Circle inside the slider */
.switch-slider::before {
    content: "";
    position: absolute;
    height: 11px;
    width: 11px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.1s;
}

.switch-slider[aria-disabled]::before {
    background-color: #9a9a9a;
}

.switch-slider[aria-disabled].non-focus-slider::before {
    background-color: white;
}

/* Checked state styles */
.switch-checkbox:checked + .switch-slider {
    background-color: #6c757d;
}

.switch-checkbox:checked + .switch-slider::before {
    transform: translateX(11px);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    display: none;
    pointer-events: none;
    width: 0;
    margin: 0;
    padding: 0;
}

/* Firefox: Remove default styling and calendar */
input[type="date"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Optional: Prevent focusing from triggering calendar */
input[type="date"]:focus {
    pointer-events: none;
}

input[type="date"] {
    padding-right: 0; /* or less */
}

.form-control input:focus {
    /*height: 24px;*/
    /*padding: 0.25rem 0.2rem;*/
    /*color: #495057;*/
    /*background-color: #fff;*/
    /*border-radius: 0;*/
    /*border: black 1px solid;*/
    /*outline: black 1px solid;*/
    /*box-shadow: 0 0 0 0 black !important;*/
}

.form-control:disabled {
    color: #6c757d !important;
}

.form-control-sm {
    padding: .2rem .5rem !important;
    min-height: calc(1.2em + .5rem + 2px) !important;
    max-height: calc(1.2em + .5rem + 2px) !important;
    height: calc(1.2em + .5rem + 2px) !important;
    min-height: 1.5rem !important;
    font-size: 0.90rem !important;
    font-size: unset !important;
    line-height: 1.5 !important;
    border-radius: .2rem !important;
}

.page-sticky-header {
    color: #9e163c !important;
    font-weight: bold;
    background-color: rgb(210, 211, 213);
    padding-right: 12px;
    z-index: 1000;
    width: -webkit-fill-available;
    width: -moz-available;
    /*border-radius: .3rem;*/
}


.page-sticky-header::before {
    content: "";
    box-shadow: 0 0 10px rgba(0, 0, 0, .8);
}

.page-sticky-header::after {
    border-radius: 5px;
}

.page-sticky-footer {
    padding-right: 12px;
}

.dragging {
    opacity: 0.8;
    cursor: grabbing !important;
}

.dropzone-height-expand {
    display: flex;
    height: 40px;
    width: 100%;
}

.dropzone-height-collapse {
    height: 0;
}

.dropzone-height-collapse .hide-zone {
    display: none;
}

#dropzone-container {
    -webkit-transition: height 1s ease;
    -moz-transition: height 1s ease;
    transition: height 1s ease;
}

.hide-zone {
    color: #545454;
    border: 2px dashed #ccc;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hide-zone.dragover {
    background-color: #f6f6f6;
    border: #6a6a6a 1px solid;
}

.underlineTab {
    --bs-nav-link-color: #333333 !important;
    --bs-nav-link-hover-color: #333333 !important;
    --bs-nav-link-active-color: indianred !important;
    --bs-nav-tabs-link-active-color: red !important;
}

.underlineTab .nav-link {
    color: var(--bs-nav-link-color);
    border: none;
    border-radius: 0;
    margin-right: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
    line-height: 15px;
}

.underlineTab .nav-link.active {
    border-bottom: 3px solid var(--bs-nav-link-active-color);
    font-weight: 500;
    color: var(--bs-nav-link-active-color);
}

.underlineTab .nav-link:not(.active):hover {
    border-bottom: 3px solid var(--bs-nav-link-hover-color) !important;
}

#licenseModel .modal-title {
    font-size: 1rem !important;
}

.body-content .form-control:not(:focus) {
    border-radius: 2px;
    padding: 0.25rem 0.2rem;
}

.body-content .form-control input:focus {
    height: 23px;
    padding: 0.25rem 0.2rem;
    color: #495057;
    background-color: #fff;
    border-radius: 0;
    border: black 2px solid;
    outline: black 1px solid;
    box-shadow: 0 0 0 0 black !important;
}

.non-taxable * {
    color: var(--non-taxable-color) !important;
}

.modal, .offcanvas {
    background: rgb(0 0 0 / 60%);
}

.auto-progress {
    width: 0;
    height: 5px;
    animation: loading-loop 400ms forwards infinite;
}

@keyframes loading-loop {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

.max-w-200 {
    max-width: 200px !important;
}

.formatText {
    text-transform: capitalize;
}

.animated-btn {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 6px rgba(93, 55, 55, 0.1);
}

.animated-btn:hover {
    transform: translateY(-4px) scale(1.08) rotate(-1deg);
}

.animated-btn:hover i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

input[type=number] {
    -moz-appearance: textfield;
    text-align: right !important;
}

.modal-backdrop {
    background-color: transparent !important;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(5px);
    animation: fadeSlideIn 0.25s ease-out forwards;
}

button:disabled {
    cursor: not-allowed;
}


/* Base ripple layer */
.btn-ripple::after {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 60%;
    height: 100%;
    background-color: #000;
    border-radius: 50%;
    opacity: 0;
    transform: scale(5);
    transition: all ease-in .2s;
    pointer-events: none;
}

button.btn-ripple:not(:disabled):active::after,
a.btn-ripple:not(.disabled):active::after {
    opacity: .2;
    transform: scale(0);
    transition: 2s;
}

button.btn-ripple:disabled,
a.btn-ripple.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.selected-row, .highlight-row, .highlight-row:focus {
    outline: #b2b2b2 solid 1px;
    background-color: var(--bs-table-hover-bg);
}

.selected-row > td {
    background: inherit;
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value]::before {
    content: attr(data-value);
}

.brand-text {
    font-family: "Audiowide", cursive;
    color: #e0e0e0;
    text-decoration: none;
}

.logo-text {
    font-family: "Audiowide", cursive;
    font-size: 5rem;
    text-align: center;
    color: transparent;
    background: linear-gradient(90deg, #F44336, #2196F3, #F44336);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    z-index: 20;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.logoText::before {
    content: "acme Erp";
    font-family: "Audiowide", cursive;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
    color: #dc3545;
    background: linear-gradient(90deg, #de6262 0%, #de6262 25%, #2951a6 50%, #2951a6 75%, #de6262 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowFadeIn 1.5s ease-in-out, shimmer 4s linear infinite alternate;
    text-align: center;
    vertical-align: center;
    align-self: baseline;
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 100% center;
    }
}

/* Tooltip inner (the popup box) */
.tooltip .tooltip-inner {
    background-color: #333 !important;
    color: #fff !important;
    border: 1px solid #aaa; /* optional border */
}

/* Tooltip arrow (the little triangle) */
.tooltip .arrow::before {
    border-top-color: #333 !important; /* for top-positioned tooltip */
    border-right-color: #333 !important; /* for right-positioned tooltip */
    border-bottom-color: #333 !important; /* for bottom */
    border-left-color: #333 !important; /* for left */
}

.icon-disable {
    cursor: not-allowed;
}

.sticky-footer {
    position: sticky !important;
    bottom: 0;
    z-index: 10;
}

.bold-row {
    background: #c8c8c8 !important;
    color: #7f3434 !important;
    font-weight: bold;
}

.numericTextBox {
    text-align: end;
}

.floating-label {
    position: relative;
    width: auto;
    transition: all 0.2s ease-out;
}

.floating-label input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
}

.floating-label label {
    position: absolute !important;
    top: 1rem;
    left: 0.25rem;
    color: #8c98a4;
    max-width: fit-content;
    max-height: fit-content;
    transition: all 0.2s ease-in-out;
    background: inherit;
    padding: 0 4px;
    pointer-events: none;
    border-radius: 5rem;
}


.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: -0.5px;
    left: 0.65rem;
    font-size: 0.8rem;
    color: black;
    margin: 0 !important;
    padding: 0 2px !important;
    background: white;
}

.floating-label-text {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #8c98a4;
    font-size: 0.95rem;
    background: #fff;
    padding: 0 4px;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.floating-input:focus + .floating-label-text,
.floating-input:not(:placeholder-shown) + .floating-label-text {
    top: 0;
    left: 0.65rem;
    font-size: 0.8rem;
}

.toggle-password {
    font-size: 1.2rem;
    color: #6c757d;
    height: 100%;
    display: flex;
    align-items: center;
    right: 0.5rem;
}

.toggle-password:hover {
    color: #dc3545;
}

.floating-input:focus + .floating-label-text {
    animation: floatPop 0.2s ease-out;
}

@keyframes floatPop {
    0% {
        transform: translateY(-45%) scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

.btn-success {
    --bs-btn-bg: #28a745;
    --bs-btn-border-color: #28a745;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/*Phone Css*/
@media (max-width: 767px) {
    .sidebar-overlay.show {
        display: block;
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.box-sm {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 0.25rem;
}

.validation-message {
    color: #e50f0f;
}

.view-mode {
    pointer-events: none !important;
    background: #0f1010d9;
}

.modal {
    --bs-modal-footer-bg: #f5f5f5 !important;
    --bs-body-bg: #f5f5f5;
}

.no-wrap-label {
    white-space: nowrap;
}

.resizer {
    opacity: 0;
    transition: opacity 0.2s ease;
}

th:hover .resizer {
    opacity: 1;
}

.resizer.resizing {
    border-right: 1px solid #007bff;
}

.resizer:hover, .resizing {
    border-right: 2px solid #252728;
}

.dragging {
    background-color: #f0f0f0;
}

.overscroll-behavior-none {
    overscroll-behavior: none !important;
}

thead th {
    height: var(--table-header-height);
    vertical-align: middle;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #0f5132 !important;
}

button[draggable="true"] {
    cursor: grab;
}

.btn-small {
    --bs-btn-padding-y: .20rem !important;
    --bs-btn-padding-x: .5rem !important;
    --bs-btn-font-size: .5rem !important;
}

.text-dim {
    color: #b3b3b3 !important;
}

.bg-dim {
    background-color: #b3b3b3 !important;
}

.btn {
    border-radius: .25rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;

}

@media print {

    .print-only {
        display: block !important;
    }

    html, body {
        visibility: hidden;
        margin: 0;
        padding: 0;
    }

    /* Make print area visible and fill page */
    #print-area {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background-color: white;
    }

    #print-area * {
        visibility: visible;
    }

    .no-print,
    aside {
        display: none !important;
    }

    #print-area table {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }

    #print-area thead {
        display: table-header-group;
    }

    #print-area tbody {
        display: table-row-group;
    }

    #print-area tr {
        display: table-row;
    }

    #print-area td,
    #print-area th {
        display: table-cell;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    @page {
        margin: 1cm;
    }
}