: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-link-color: black;
    --body-backgroud-color: radial-gradient(circle, rgba(223, 221, 222, 1) 0%, rgba(212, 225, 240, 1) 100%);
}

::-webkit-scrollbar {
    width: 6px; /* vertical scrollbar width */
    height: 6px; /* horizontal scrollbar height */
}

::-webkit-scrollbar-track {
    background: transparent; /* track background transparent */
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.5); /* semi-transparent thumb */
    border-radius: 3px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 100, 100, 0.8); /* darker on hover */
}

html {
    scrollbar-color: rgba(100, 100, 100, 0.5) transparent;
    scrollbar-width: thin;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 100, 100, 0.5) transparent;
}

@font-face {
    font-family: "Aptos";
    src: url(/fonts/Aptos.ttf) format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Aptos";
    src: url(/fonts/Aptos-Bold.ttf) format("truetype");
    font-weight: bold;
    font-display: swap;
}

*, html, body {
    font-family: "Aptos", sans-serif;
}

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;

}


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%;
}

/*::-webkit-scrollbar {
    display: none;
}*/

/* Track */
/*::-webkit-scrollbar-track {
    background: #31353d;
}*/

/* Handle */
/*::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}*/

/* Firefox scrollbar styles */
/** {
    -ms-overflow-style: none;*/ /* IE and Edge */
/*scrollbar-width: thin;*/ /* Firefox */
/*}*/


.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-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;
}

@media print {

    aside {
        display: none;
    }

    #company-user-identity {
        display: none;
    }

    #report-control-button {
        display: none;
    }

    #report-company-period {
        display: none;
    }

    body, html, #print-report-header {
        left: 0;
        right: 0;
        top: -80px;
        position: absolute;
        z-index: 100;
        max-height: 70px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body, html, #print-report-body {
        left: 0;
        top: 0;
        position: absolute;
        z-index: 1;
        width: 100%;
        max-height: 100%;
        overflow: visible;
        margin-left: 0;
        margin-top: 50px;
    }
}

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #333;
    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;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.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: 5.8px;
    height: 5.8px;
    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: 50.10194px;
    left: 50.10194px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54.17025px;
    left: 44.8px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 56.72770px;
    left: 38.62577px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 57.6px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 56.72770px;
    left: 25.37423px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54.17025px;
    left: 19.2px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50.10194px;
    left: 13.89806px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 44.8px;
    left: 9.82975px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-disable {
    color: #b9bcbf;
}


.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.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;
}

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: #344057;
}

.switch-checkbox:checked + .switch-slider::before {
    transform: translateX(11px);
}

/* Hide calendar icon in Chrome, Edge, Safari */
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;
    width: 100%;
    min-height: calc(1.2em + .5rem + 2px);
    max-height: calc(1.2em + .5rem + 2px);
    height: calc(1.2em + .5rem + 2px);
    font-size: unset;
    line-height: 1.5;
    border-radius: .2rem;
}

.page-sticky-header {
    color: #9e163c !important;
    font-weight: bold;
    background-color: rgb(210, 211, 213);
    padding-right: 12px;
    margin-bottom: 5px;
    border-radius: 5px;
    z-index: 1000;
    width: -webkit-fill-available;
    width: -moz-available;
}

.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 .nav-link {
    border: none;
    border-radius: 0;
    margin-right: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
    line-height: 15px;
}

.underlineTab li button {
    tab-index: -1;
}

.underlineTab .nav-link.active {
    border-bottom: 3px solid indianred;
    font-weight: 500;
    color: indianred;

}

.underlineTab .nav-link:not(.active):hover {
    border-bottom: 3px solid #333333 !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: #0575a7;
}

.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;
}

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;*/
}

.highlight-row {
    outline: #dc3545 solid 1px;
    background: #f9f3f3;
}

.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);
}

.logoText::before {
    content: "acme Erp";
    font-family: "Audiowide", cursive;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
    color: #dc3545;
    background: linear-gradient(
            90deg,
            #dc3545 0%,
            #ff8b94 25%,
            #ffb3b3 50%,
            #ff8b94 75%,
            #dc3545 100%
    );
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowFadeIn 1.5s ease-in-out, shimmer 4s linear infinite;

}

@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: -200% center;
    }
    100% {
        background-position: 200% 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;
    bottom: 0;
    z-index: 10;
}

.bold-row {
    background: #EBEBEB !important;
}

.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: 0.7rem;
    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;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: -2px;
    left: 0.65rem;
    font-size: 0.8rem;
    color: black;
    margin: 0 !important;
    padding: 0 2px !important;

    background: white;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

.row {
    align-items: center;
}

::placeholder {
    color: #6c757d !important;
    opacity: 1; /* ensures it's not faded */
}

.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;
    }

}