:root {
    --bs-border-color: #d7d7d7;
    --bs-body-bg: #f4f7f6;
    --primary: #0d47d5;   
    /* --primary-gradient: linear-gradient(90deg, #2196f3 0%, #3f51b5 100%); */
    /* --primary-gradient-hover: linear-gradient(90deg, #3f51b5 0%, #2196f3 100%); */
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #7432b0 100%);
    --primary-gradient-hover: linear-gradient(90deg, #7432b0 0%, #1e40af 100%);
    --rgba-primary-2: rgba(13, 71, 213, 0.2);
    --rgba-primary-6: rgba(13, 71, 213, 0.6);
}
.cropper-container.cropper-bg {
    width: 100% !important;
}
.cropper-modal-body{
    height: 68vh;
    overflow-x: scroll;
}

.picker .picker__frame {
    min-width: 28.125rem;
    max-width: 28.125rem;
}

.picker .picker__frame .picker__box {
    padding: 1.25rem;
    border: 0;
    box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.1);
}

.picker .picker__frame .picker__box .picker__header {
    margin-top: 0;
}

.picker .picker__frame .picker__box .picker__header .picker__year {
    color: var(--primary);
    font-style: inherit;
    font-size: 1.25rem;
}

.picker .picker__frame .picker__box .picker__header .picker__nav--prev,
.picker .picker__frame .picker__box .picker__header .picker__nav--next {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    line-height: 2.5rem;
    border-radius: 0.125rem;
}

.picker .picker__frame .picker__box .picker__header .picker__nav--prev:before,
.picker .picker__frame .picker__box .picker__header .picker__nav--next:before {
    content: none !important;
}

.picker .picker__frame .picker__box .picker__header .picker__nav--prev:after,
.picker .picker__frame .picker__box .picker__header .picker__nav--next:after {
    font-family: fontawesome;
    border: 0;
    margin: 0 auto;
    font-size: 1.375rem;
}

.picker .picker__frame .picker__box .picker__header .picker__nav--prev:hover,
.picker .picker__frame .picker__box .picker__header .picker__nav--next:hover {
    background-color: var(--primary);
    color: var(--primary);
}

.picker .picker__frame .picker__box .picker__header .picker__nav--prev {
    left: 0;
}

.picker .picker__frame .picker__box .picker__header .picker__nav--prev:after {
    content: "\f0d9";
}

.picker .picker__frame .picker__box .picker__header .picker__nav--next {
    right: 0;
}

.picker .picker__frame .picker__box .picker__header .picker__nav--next:after {
    content: "\f0da";
}

.picker .picker__frame .picker__box .picker__table .picker__weekday {
    padding: 0.625rem 0;
    font-size: 1rem;
}

.picker .picker__frame .picker__box .picker__table .picker__day {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 3.125rem;
    padding: 0 !important;
    font-size: 1rem;
    line-height: 2.5rem;
    margin: auto;
    border: 0 !important;
}

.picker .picker__frame .picker__box .picker__table .picker__day.picker__day--today:before {
    content: none !important;
}

.picker .picker__frame .picker__box .picker__table .picker__day.picker__day--highlighted {
    border: 0 !important;
    padding: 0;
    background-color: var(--primary);
    color: #fff !important;
}

.picker .picker__frame .picker__box .picker__table .picker__day:hover {
    background-color: var(--primary);
    color: #fff !important;
}

.picker .picker__frame .picker__box .picker__footer .picker__button--today {
    background-color: var(--primary);
    color: #fff !important;
}

.picker .picker__frame .picker__box .picker__footer .picker__button--today:before {
    content: none !important;
}

.picker .picker__frame .picker__box .picker__footer .picker__button--clear,
.picker .picker__frame .picker__box .picker__footer .picker__button--close,
.picker .picker__frame .picker__box .picker__footer .picker__button--today {
    border: 0;
    border-radius: 0.125rem;
    font-size: 1rem;
}

.picker .picker__frame .picker__box .picker__footer .picker__button--clear:hover,
.picker .picker__frame .picker__box .picker__footer .picker__button--close:hover,
.picker .picker__frame .picker__box .picker__footer .picker__button--today:hover {
    background-color: var(--primary);
    color: #fff !important;
}
.picker__nav--next:hover, .picker__nav--prev:hover {
    color: #fff !important;
}
.picker .picker__frame .picker__box .picker__header .picker__nav--prev, .picker .picker__frame .picker__box .picker__header .picker__nav--next{
    color: var(--primary);
}

@media only screen and (max-width: 35.9375rem) {
    .picker .picker__frame {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .picker .picker__frame .picker__box {
        padding: 0.9375rem;
        margin: 0 0.625rem;
    }
}

.image-upload-preview{
    max-width: 125px;
    display: block;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px dashed #ababab;
    padding: 5px;
}

.table-card-list {
    border-spacing: 0px 0px;
}

.card{
    border: 0rem solid transparent;
    border-radius: 1.375rem;
    box-shadow: 0rem 0.3125rem 0.3125rem 0rem rgba(82, 63, 105, 0.05);
    background: #fff;
}

.lh-12{
    line-height: 1.2 !important;
}
.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 12px 1rem;
    border-bottom: 1px solid #f2f2f2;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}
.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 500;
    color: #000;
    font-size: 16px;
}
.modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    font-size: 10px;
}

input, .form-control{
    border: 1px solid var(--bs-border-color) !important;
}

input:focus, .form-control:focus {
    box-shadow: 0 0 0 3px rgb(32 70 207 / 20%) !important;
    border-color: #8398e3 !important;
}

/* purchase */
.user-info-add-btn {
    width: 260px;
    height: 120px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}
.user-info-add-btn:hover {
    background-color: #f9f9f9;
}
.user-info-add-btn .choose-user-btn {
    background-color: transparent;
    border: transparent;
    font-size: 17px;
    font-weight: 500;
    color: var(--primary);
}
.user-info-add-btn .choose-user-btn .fa-user-plus {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    width: 100%;
}

.purchase-customer-search-wrapper {
    display: flex;
    margin-bottom: 15px;
}
.purchase-customer-search-wrapper .supplier-search-input {
    flex-basis: 80%;
    position: relative;
}
.supplier-search-input::before {
    content: "⚲";
    position: absolute;
    font-size: 25px;
    top: 4px;
    transform: rotate(-40deg);
    left: 8px;
}
.supplier-search-input>input {
    height: 42px;
    padding: 5px 10px 5px 30px;
    /* border: 1px solid #a6c8e7; */
    border-radius: 8px !important;
    transition: all .3s ease;
    font-size: 13px;
    width: 100%;
    outline: none;
}

.purchase-select-customer-wrapper {
    max-height: 355px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-right: 7px;
    scrollbar-width: thin;
}

.purchase-select-customer {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    background-color: #fcfcfc;
    padding: 5px 5px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #f3f3f3;
    cursor: pointer;
}
.purchase-select-customer:hover, .purchase-select-customer.active{
    background-color: #8bfc9d30;
}
.purchase-select-customer .supplier-img {
    margin-right: 7px;
    width: 47px;
    height: 47px;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 100%;
}
.purchase-select-customer .supplier-img img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 100px;
    border: 1px solid #f0f0f0;
}
.purchase-select-customer .supplier-info .name {
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-top: 3px;
}
.purchase-select-customer .supplier-info .s_text {
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    color: #777;
}
.purchase-create-table-card .card-body {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}
.add-purchse-item-row {
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    transition: .3s all ease;
    cursor: pointer;
}
.add-purchse-item-row .add-item-btn{
    padding: 12px;
}
.add-purchse-item-row .add-pur-item-btn{
    display: flex;
    align-items: center;
    border: none;
    background-color: transparent;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    transition: .3s all ease;
    padding-left: 0px;
}
.add-purchse-item-row .add-pur-item-btn .fa-plus {
    border: 2px solid var(--primary);
    margin-right: 5px;
    padding: 1px 3px;
    border-radius: 50px;
    line-height: 1.4;
    height: 18px;
    width: 14px;
    font-size: 14px;
    transition: .3s all ease;
}

.add-purchse-item-row .add-pur-item-btn:hover .fa-plus{
    color: #fff;
    background-color: var(--primary);
}

.pcf-single-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 20px;
    align-items: center;
}
.pcf-single-row.grand_total .pcfsr-left p{
    font-weight: 600;
    font-size: 15px;
}

.pcf-single-row .pcfsr-amount {
    flex-basis: 20%;
    text-align: right;
}
.pcf-single-row.grand_total .pcfsr-amount .pcfsra-amount {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.purchase_note_textarea {
    border: none !important;
    font-size: 14px;
    padding: 0;
    border-radius: 0;
    min-height: 50px !important;
    resize: none;
}
.purchase_note_textarea:focus{
    border: none !important;
    box-shadow: none !important;
}
.ecom-primary-btn {
    padding: 10px 30px;
    color: #fff;
    text-transform: capitalize;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    /* box-shadow: 0px 3px 10px 0px rgb(4 142 197 / 17%); */
    box-shadow: 0px 3px 10px 0px rgb(99 4 197 / 50%);
    background: var(--primary-gradient) !important;
    border: 0;
    font-size: 16px;
    font-weight: 600;
}
.ecom-primary-btn:hover {
    background: var(--primary-gradient-hover) !important;
    color: #fff;
}

.admin-list-toolbar {
    row-gap: 0.75rem;
}

.admin-list-search {
    border: 1px solid #dfe4f5;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.06);
    min-width: 350px;
    width: 350px;
}

.admin-list-search-fluid {
    min-width: 0;
    width: 100%;
}

.admin-list-search .form-control {
    border: 0;
    border-radius: 12px 0 0 12px !important;
    min-height: 44px;
}

.admin-list-search .form-control:focus {
    box-shadow: none;
}

.admin-list-search .btn {
    align-items: center;
    background: var(--primary-gradient);
    border: 0;
    border-radius: 0 12px 12px 0 !important;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    min-width: 48px;
}

.admin-list-search .btn:hover,
.admin-list-search .btn:focus {
    background: var(--primary-gradient-hover);
    color: #fff;
}

.admin-filter-control {
    min-height: 44px;
}

.invoice-date-col {
    flex: 0 0 auto;
    width: 20.833333%;
}

.badge.bg-success-subtle.text-success {
    background: #eef2ff !important;
    border: 1px solid #c7d2fe;
    color: #1e40af !important;
    font-weight: 700;
    padding: 3px 10px;
}

.badge.bg-warning-subtle {
    background: #f5efff !important;
    border: 1px solid #ddd0fe;
    color: #7432b0 !important;
    font-weight: 700;
    padding: 3px 10px;
}

.btn-payment-action {
    background: var(--primary-gradient) !important;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(99, 4, 197, 0.22);
    color: #fff !important;
    font-weight: 700;
    padding: 6px 10px;
}

.btn-payment-action:hover,
.btn-payment-action:focus {
    background: var(--primary-gradient-hover) !important;
    color: #fff !important;
}

.stock-qty-link {
    align-items: center;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    color: #1e40af !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-width: 48px;
    padding: 6px 10px;
    transition: all 0.15s ease;
}

.stock-qty-link:hover,
.stock-qty-link:focus {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff !important;
}

.stock-qty-link-disabled,
.stock-qty-link-disabled:hover,
.stock-qty-link-disabled:focus {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b !important;
    cursor: default;
}

.payment-due-summary {
    align-items: center;
    background: linear-gradient(135deg, #eef2ff 0%, #f5efff 100%);
    border: 1px solid #d7ddfb;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.payment-due-summary span {
    color: #64708a;
    font-size: 13px;
    font-weight: 700;
}

.payment-due-summary strong {
    color: #1e40af;
    font-size: 18px;
}

@media (max-width: 575.98px) {
    .admin-list-search {
        min-width: 100%;
    }

    .invoice-date-col {
        width: 100%;
    }
}

.modern-modal .modal-dialog {
    max-width: 520px;
}

.modern-modal.modern-modal-lg .modal-dialog {
    max-width: 860px;
}

.modern-modal.modern-modal-xl .modal-dialog {
    max-width: 1180px;
}

.modern-modal .modal-content {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.modern-modal .modal-header {
    align-items: flex-start;
    background: var(--primary-gradient);
    border-bottom: 0;
    color: #fff;
    padding: 12px 15px;
}

.modern-modal .modern-modal-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 12px;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-right: 14px;
    width: 44px;
}

.modern-modal .modal-title {
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 3px;
}

.modern-modal .modal-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    margin: 0;
}

.modern-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    margin-top: 2px;
    opacity: 0.9;
}

.modern-modal .modal-body {
    background: #f8fafc;
    padding: 15px;
}

.modern-modal .modern-modal-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.form-info-icon,
.form-info-icon:hover,
.form-info-icon:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    padding: 0;
    margin-left: 3px;
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    color: #6f7787;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.form-info-icon:hover,
.form-info-icon:focus {
    color: #3b47c8;
}

.modern-modal .form-label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modern-modal .form-control {
    border-color: #dbe3ef;
    border-radius: 10px;
    min-height: 44px;
}

.modern-modal .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.modern-modal .modern-upload-box {
    background: #f8fafc;
    border: 1px dashed #b8c4d6;
    border-radius: 12px;
    padding: 8px 12px 12px;
}

.modern-modal .modern-modal-tall-textarea {
    min-height: 126px;
    resize: vertical;
}

.modern-modal .income-description-textarea,
.modern-modal .expense-description-textarea {
    min-height: 156px;
}

.modern-modal .income-receipt-upload-box,
.modern-modal .expense-receipt-upload-box {
    min-height: 156px;
}

.modern-modal .modern-upload-icon {
    align-items: center;
    background: #e0f2fe;
    border-radius: 10px;
    color: #0369a1;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.modern-modal .modal-actions {
    border-top: 1px solid #eef2f7;
    margin-top: 22px;
    padding-top: 18px;
}

.modern-modal .modal-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    min-width: 108px;
    padding: 10px 16px;
}

.modern-modal .modern-modal-submit {
    background: var(--primary-gradient) !important;
    border: 0;
    box-shadow: 0px 3px 10px 0px rgb(99 4 197 / 50%);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modern-modal .modern-modal-submit:hover {
    background: var(--primary-gradient-hover) !important;
    box-shadow: 0px 5px 14px 0px rgb(99 4 197 / 50%);
    transform: translateY(-1px);
}

.modern-modal .modern-modal-submit:focus {
    box-shadow: 0 0 0 0.2rem rgb(99 4 197 / 18%);
}

.modern-modal .modern-modal-add-btn {
    background: var(--primary-gradient) !important;
    border: 0;
    border-radius: 8px;
    box-shadow: 0px 3px 10px 0px rgb(99 4 197 / 28%);
    color: #fff !important;
    font-weight: 600;
    padding: 7px 12px;
}

.modern-modal .modern-modal-add-btn:hover {
    background: var(--primary-gradient-hover) !important;
    color: #fff !important;
}

.modern-modal .modern-modal-add-btn-compact {
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 8px;
}

.modern-modal .modern-modal-remove-btn {
    align-items: center;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 9px;
    color: #e11d48;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    transition: all 0.15s ease;
    width: 40px;
}

.modern-modal .modern-modal-remove-btn:hover {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff;
}

.receipt-preview-btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.receipt-preview-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.receipt-preview-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    display: flex;
    justify-content: center;
    min-height: 112px;
    overflow: hidden;
    padding: 8px;
    position: relative;
}

.receipt-preview-cell {
    position: relative;
}

.receipt-preview-delete {
    align-items: center;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    color: #be123c;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 8px;
    transition: all 0.15s ease;
    width: 30px;
    z-index: 2;
}

.receipt-preview-delete:hover {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff;
}

.receipt-preview-item img {
    border-radius: 8px;
    height: 100%;
    max-height: 150px;
    object-fit: cover;
    width: 100%;
}

.receipt-preview-pdf {
    flex-direction: column;
    font-size: 12px;
    gap: 8px;
    text-align: center;
    word-break: break-word;
}

.receipt-preview-pdf i {
    font-size: 30px;
}

.receipt-preview-overlay {
    align-items: center;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.15s ease;
}

.receipt-preview-item:hover .receipt-preview-overlay {
    opacity: 1;
}

.office-time-modal .modal-body {
    max-height: 82vh;
    overflow-y: auto;
}

.office-time-panel {
    padding: 20px;
}

.office-time-days {
    background: linear-gradient(135deg, #f8fbff 0%, #fbf7ff 100%);
    border: 1px dashed #b7c7f4;
    border-radius: 14px;
    padding: 14px;
}

.office-time-days-header,
.office-time-day-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 0.8fr 1.45fr;
    gap: 14px;
    align-items: center;
}

.office-time-days-header {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    padding: 0 4px 10px;
}

.office-time-day-row {
    background: #fff;
    border: 1px solid #e4eaf6;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 10px;
    transition: all 0.15s ease;
}

.office-time-day-row:last-child {
    margin-bottom: 0;
}

.office-time-day-row.is-weekend {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.office-time-day-label {
    align-items: center;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    color: #1e293b;
    display: flex;
    font-weight: 800;
    min-height: 42px;
    padding: 0 14px;
}

.office-time-day-row.is-weekend .office-time-day-label {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

.office-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.office-time-check {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    margin: 0;
    min-height: 38px;
    padding: 8px 10px;
}

.office-time-check input {
    accent-color: #1e40af;
}

.office-time-summary {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.office-time-summary span {
    color: #1e293b;
    font-weight: 700;
}

.office-time-summary small {
    color: #64748b;
}

.office-time-details {
    display: grid;
    gap: 14px;
}

.office-time-details-hero {
    align-items: center;
    background: linear-gradient(135deg, #eef2ff 0%, #f5efff 100%);
    border: 1px solid #d7ddfb;
    border-radius: 14px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 16px;
}

.office-time-details-hero h4 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
}

.office-time-details-hero p {
    color: #64748b;
    margin-bottom: 0;
}

.office-time-details-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.office-time-details-badges span {
    background: #fff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: #1e40af;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

.office-time-details-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.office-time-details-metrics > div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
}

.office-time-details-metrics span {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.office-time-details-metrics strong {
    color: #1e293b;
    font-size: 18px;
    font-weight: 900;
}

.office-time-details-days {
    display: grid;
    gap: 10px;
}

.office-time-details-day {
    align-items: center;
    background: #fff;
    border: 1px solid #e4eaf6;
    border-radius: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: 1.2fr 1.4fr 0.7fr;
    padding: 12px;
}

.office-time-details-day.is-weekend {
    background: #fff1f2;
    border-color: #fecdd3;
}

.office-time-details-day .day-name strong,
.office-time-details-day .day-name span {
    display: block;
}

.office-time-details-day .day-name strong {
    color: #1e293b;
    font-size: 15px;
    font-weight: 900;
}

.office-time-details-day .day-name span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.office-time-details-day.is-weekend .day-name span {
    color: #be123c;
}

.office-time-details-day .day-time {
    align-items: center;
    color: #1e40af;
    display: flex;
    font-weight: 900;
    gap: 10px;
}

.office-time-details-day .day-hour {
    color: #1e293b;
    font-weight: 900;
    text-align: right;
}

.office-time-details-day .day-hour small {
    color: #7432b0;
    display: block;
    font-size: 11px;
}

.weekend-chip {
    background: #ffe4e6;
    border: 1px solid #fecdd3;
    border-radius: 999px;
    color: #be123c;
    display: inline-flex;
    font-size: 12px;
    padding: 6px 10px;
}

.holiday-type-badge {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 10px;
}

.holiday-type-public {
    background: #ecfdf5 !important;
    border: 1px solid #bbf7d0;
    color: #047857 !important;
}

.holiday-type-company {
    background: #eef2ff !important;
    border: 1px solid #c7d2fe;
    color: #1e40af !important;
}

.holiday-type-other {
    background: #fff7ed !important;
    border: 1px solid #fed7aa;
    color: #c2410c !important;
}

.company-settings-card {
    overflow: hidden;
}

.company-settings-header {
    align-items: center;
    background: linear-gradient(135deg, #eef2ff 0%, #f5efff 100%);
    border: 1px solid #d7ddfb;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 16px;
}

.company-settings-header h4 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.company-settings-header p {
    color: #64748b;
    margin-bottom: 0;
}

.company-settings-icon {
    align-items: center;
    background: var(--primary-gradient);
    border-radius: 14px;
    color: #fff;
    display: inline-flex;
    font-size: 22px;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.company-settings-section {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 16px;
    padding: 16px;
}

.company-section-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.company-section-title span {
    color: #1e293b;
    font-size: 16px;
    font-weight: 800;
}

.company-section-title small {
    color: #64748b;
}

.working-days-picker {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.working-day-option {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    cursor: pointer;
    margin: 0;
    padding: 12px;
    transition: all 0.15s ease;
}

.working-day-option input {
    display: none;
}

.working-day-name,
.working-day-state {
    display: block;
}

.working-day-name {
    color: #1e293b;
    font-size: 14px;
    font-weight: 800;
}

.working-day-state {
    color: #1e40af;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.working-day-option.is-weekend {
    background: #fff1f2;
    border-color: #fecdd3;
    box-shadow: 0 8px 18px rgba(225, 29, 72, 0.08);
}

.working-day-option.is-weekend .working-day-state {
    color: #be123c;
}

.working-day-option.is-weekend .working-day-name {
    color: #9f1239;
}

.company-toggle-option {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    cursor: pointer;
    display: flex;
    font-weight: 800;
    gap: 10px;
    margin: 0;
    min-height: 48px;
    padding: 12px;
    transition: all 0.15s ease;
}

.company-toggle-option input {
    accent-color: #1e40af;
}

.company-toggle-option:has(input:checked) {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1e40af;
}

.company-color-input {
    width: 100%;
    min-height: 44px;
    padding: 6px;
}

.company-asset-upload {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 14px;
}

.company-asset-preview {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    height: 88px;
    justify-content: center;
    margin-bottom: 12px;
    padding: 12px;
}

.company-asset-preview img {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.company-asset-preview-sm img {
    max-height: 42px;
    max-width: 42px;
}
.invoice_footer_text{
    height: 44px;
}

.company-settings-summary {
    display: grid;
    gap: 14px;
}

.summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 0.3125rem 0.3125rem rgba(82, 63, 105, 0.05);
    padding: 18px;
}

.summary-card span {
    color: #64748b;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.summary-card strong {
    color: #1e293b;
    font-size: 22px;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .office-time-details-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .office-time-details-badges {
        justify-content: flex-start;
    }

    .office-time-details-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .office-time-details-day {
        grid-template-columns: 1fr;
    }

    .office-time-details-day .day-hour {
        text-align: left;
    }

    .office-time-days-header {
        display: none;
    }

    .office-time-day-row {
        grid-template-columns: 1fr 1fr;
    }

    .office-time-day-label,
    .office-time-options {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .office-time-details-metrics {
        grid-template-columns: 1fr;
    }

    .office-time-day-row {
        grid-template-columns: 1fr;
    }

    .office-time-day-label,
    .office-time-options {
        grid-column: auto;
    }
}

.receipt-preview-overlay i {
    font-size: 14px;
}

@media (max-width: 575.98px) {
    .modern-modal .modal-dialog {
        margin: 12px;
    }

    .modern-modal .modal-header {
        padding: 15px;
    }

    .modern-modal .modal-body {
        padding: 10px;
    }

    .modern-modal .modern-modal-panel {
        padding: 15px;
    }

    .modern-modal .modal-subtitle {
        display: none;
    }

    .modern-modal .modern-modal-icon {
        height: 36px;
        margin-right: 10px;
        width: 36px;
    }

    .modern-modal .modern-upload-box {
        padding: 12px;
    }

    .modern-modal .modal-actions {
        margin-top: 16px;
        padding-top: 12px;
    }

    .modern-modal .modal-actions .btn {
        min-width: auto;
        padding: 8px 12px;
    }
}

@media(max-width: 768px){
    .mobile-text-center{
        text-align: center !important;
    }
    .mobile-text-start{
        text-align: start !important;
    }
}

/* purchase table custom css */
.purchase-table-header {
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 40px 1fr 80px 110px 110px 100px 40px;
    gap: 12px;
    padding: 14px 12px;
    background-color: #0d47d517;
    border-radius: 20px 20px 0px 0px;
}

.purchase-table-header2{
    display: none;
}
.purchase-header-cell {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.purchase-header-cell:nth-child(3) { justify-content: center; }
.purchase-header-cell:nth-child(4),
.purchase-header-cell:nth-child(5){ justify-content: center; }
.purchase-header-cell:nth-child(6) { justify-content: right; }
.purchase-header-cell:nth-child(7) { justify-content: center; }

/* Item row - single layout for both desktop and mobile */
.purchase-item-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px 110px 110px 100px 40px;
    gap: 12px;
    padding: 10px 12px;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s;
    position: relative;
}

.purchase-item-row:hover {
    background: #f9fafb;
}

.purchase-item-index {
    background: #0d47d517;
    color: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.purchase-product-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.purchase-product-name {
    font-weight: 500;
    color: #111827;
}

.purchase-qty-cell,
.purchase-price-cell,
.purchase-amount-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-price-cell,
.purchase-amount-cell {
    justify-content: flex-end;
}

.purchase-input-field {
    width: 70px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 13px;
    text-align: center;
    background: white;
}

.purchase-input-field:focus {
    outline: none;
    border-color: #3b82f6;
}

.purchase-price-field {
    width: 110px;
    text-align: center;
}

.purchase-amount-display {
    font-weight: 600;
    color: #059669;
    text-align: right;
    font-size: 13px;
}
.purchase-action-cell {
    display: flex;
    justify-content: center;
}

/* Variable Product Styles */
.purchase-variable-row {
    background: #fffbeb;
}

.purchase-collapse-indicator {
    cursor: pointer;
    color: #6b7280;
    margin-right: 4px;
    transition: transform 0.2s;
}

.purchase-collapsed .purchase-collapse-indicator {
    transform: rotate(-90deg);
}

/* Variant container */
.purchase-variant-container {
    display: contents;
}

.purchase-variant-container.purchase-collapsed {
    display: none;
}

.purchase-variant-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px 110px 110px 100px 40px;
    gap: 12px;
    padding: 6px 12px;
    align-items: center;
    border-bottom: 1px solid #fde68a;
    font-size: 13px;
    background: #fefce8;
}

.purchase-variant-row:last-child {
    border-bottom: 1px solid #f3f4f6;
}

.purchase-variant-indent {
    padding-left: 32px;
    color: #92400e;
}

.purchase-variant-name {
    background: #fed7aa;
    color: #c2410c;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    margin-right: 6px;
    display: inline-block;
}

.purchase-variant-input {
    width: 70px;
    padding: 4px 8px;
    border: 1px solid #fbbf24;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    background: white;
    outline: none;
}

.purchase-variant-input:focus {
    box-shadow: 0 0 0 3px rgb(32 70 207 / 20%) !important;
    border-color: #8398e3 !important;
}

.purchase-variant-price {
    width: 110px;
    text-align: center;
}

.purchase-variant-amount {
    color: #059669;
    font-weight: 500;
    text-align: right;
    font-size: 12px;
}

/* Add labels for mobile - hidden by default */
.purchase-mobile-label {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Mobile responsive styles - transform grid to card */
@media (max-width: 768px) {
    .purchase-container {
        margin: 10px;
        border-radius: 0;
    }

    /* Hide table header on mobile */
    .purchase-table-header {
        display: none;
    }

    .purchase-table-header2 {
        display: block;
        background: #f3f4f6;
        border-bottom: 1px solid #e5e7eb;
        padding: 8px 12px;
    }

    /* Transform item rows to card layout */
    .purchase-item-row {
        display: block;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin: 12px;
        padding: 0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        background: white;
        position: relative;
    }

    .purchase-item-row:hover {
        background: white;
    }

    /* Card header */
    .purchase-item-row .purchase-item-index {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 1;
    }

    .purchase-item-row .purchase-product-info {
        padding: 12px 12px 12px 40px;
        border-bottom: 1px solid #f3f4f6;
        margin: 0;
    }

    .purchase-item-row .purchase-action-cell {
        position: absolute;
        top: 12px;
        right: 8px;
    }

    /* Transform grid cells to stacked inputs with labels */
    .purchase-qty-cell,
    .purchase-price-cell,
    .purchase-amount-cell {
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
        padding: 5px 12px 0 12px;
    }

    .purchase-price-cell.purchase-variable-item {
        display: none !important;
    }
    
    .purchase-amount-cell {
        padding-bottom: 16px;
    }

    /* Show mobile labels */
    .purchase-qty-cell .purchase-mobile-label:after { content: "Quantity"; }
    .purchase-price-cell:nth-child(4) .purchase-mobile-label:after { content: "Unit Price"; }
    .purchase-price-cell:nth-child(5) .purchase-mobile-label:after { content: "Sell Price"; }
    .purchase-amount-cell .purchase-mobile-label:after { content: "Total"; }

    .purchase-mobile-label {
        display: block;
    }

    /* Adjust input widths for mobile */
    .purchase-input-field {
        width: 100%;
        max-width: 80px;
        margin-top: 4px;
        text-align: left;
        font-size: 12px;
    }

    .purchase-amount-display {
        font-size: 14px;
        text-align: left;
        margin-top: 4px;
    }

    /* Variable products mobile styling */
    .purchase-variable-row {
        background: #fffbeb;
    }

    .purchase-variable-row .purchase-product-info {
        background: #fffbeb;
        position: relative;
    }

    .purchase-variable-row .purchase-collapse-indicator {
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .purchase-variable-row .purchase-qty-cell .purchase-mobile-label:after { content: "Total Quantity"; }
    .purchase-variable-row .purchase-amount-cell .purchase-mobile-label:after { content: "Total Amount"; }

    .purchase-variable-row .purchase-price-cell {
        display: none;
    }

    .purchase-variable-row .purchase-qty-cell,
    .purchase-variable-row .purchase-amount-cell {
        color: #6b7280;
    }

    /* Variant rows mobile */
    .purchase-variant-container {
        margin: 0 12px 12px 12px;
        border-radius: 6px;
        border: 1px solid #fde68a;
        background: #fefce8;
        display: block;
        padding: 12px;
    }

    .purchase-variant-row {
        display: block;
        padding: 0 0 12px 0;
        margin-bottom: 5px;
        border-bottom: 1px solid #fde68a;
        background: transparent;
    }

    .purchase-variant-row:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .purchase-variant-indent {
        padding: 0 0 8px 0;
        margin-bottom: 12px;
        border-bottom: 1px solid #fde68a;
    }

    .purchase-variant-row .purchase-qty-cell,
    .purchase-variant-row .purchase-price-cell,
    .purchase-variant-row .purchase-amount-cell {
        padding: 5px 0;
    }

    .purchase-variant-row .purchase-qty-cell .purchase-mobile-label:after { content: "Quantity"; }
    .purchase-variant-row .purchase-price-cell:nth-child(4) .purchase-mobile-label:after { content: "Unit Price"; }
    .purchase-variant-row .purchase-price-cell:nth-child(5) .purchase-mobile-label:after { content: "Sell Price"; }
    .purchase-variant-row .purchase-amount-cell .purchase-mobile-label:after { content: "Total"; }

    .purchase-variant-row .purchase-mobile-label {
        color: #92400e;
        font-size: 11px;
    }

    .purchase-variant-row .purchase-variant-amount {
        font-size: 14px;
        text-align: left;
    }
    .pcf-single-row .pcfsr-left {
        flex-basis: 72% !important;
    }
    .pcf-single-row {
        padding: 6px 10px !important;
    }

    .pcf-single-row .pcfsr-amount {
        flex-basis: 28% !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .purchase-item-row,
    .purchase-table-header,
    .purchase-variant-row {
        grid-template-columns: 35px 1fr 70px 80px 80px 80px 35px;
        gap: 8px;
        padding: 8px;
    }
    .purchase-table-header2{
        display: none;
    }

    .purchase-input-field {
        width: 70px;
        padding: 5px 8px;
        font-size: 12px;
    }

    .purchase-price-field {
        width: 80px;
    }

    .purchase-variant-input {
        width: 70px;
        padding: 5px 8px;
        font-size: 11px;
        text-align: left;
    }

    .purchase-variant-price {
        width: 80px;
    }
}

/* purchase table css end */

.searchable-input-wrapper{
    top: 0px;
    background: #fff !important;
    width: 97%;
    left: 1.5%;
    z-index: 2;
    border: 1px solid #ddd;
    border-radius: 0px 0px 10px 10px;
    box-shadow: rgb(11 62 185 / 29%) 0px 1px 9px;
}
.custom-searcable-input-wrap {
    padding: 10px;
}
.search-product-item-wrapper {
    height: 252px;
    overflow: hidden;
    overflow-y: scroll;
    padding-top: 0px;
}
.search-product-item {
    padding: 10px 25px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.search-product-item .smi-left {
    flex-basis: 60%;
}
.search-product-item .smi-left .product-name{
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    letter-spacing: .4px;
}
.search-product-item .smi-left .product-sku{
    color: #555;
    font-size: 12px;
}
.product-variation.variable {
    background: #f2e6ff;
    color: #9933ff;
    font-size: 10px;
    font-weight: 400;
    padding: 1px 4px;
    border-radius: 8px;
}
.search-product-item .smi-right p {
    font-size: 14px;
    color: #222;
    font-weight: 600;
}

.pur_note_box {
    padding: 0px 20px;
}
.pcf-single-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 20px;
}
.pcf-single-row .pcfsr-left {
    flex-basis: 82%;
}
.pcf-single-row .pcfsr-left p {
    text-align: right;
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
}
.pcf-single-row .pcfsr-amount {
    flex-basis: 20%;
    text-align: right;
}
.pcf-single-row .pcfsr-amount .pcfsra-amount{
    margin-bottom: 0;
    font-size: 14px;
    color: #222;
    font-weight: 500;
    padding-right: 5px;
}
.payment-input-right {
    float: right;
}
.discount_area_wrapper {
    text-align: right;
    font-size: 14px;
    color: #333;
}
.discount-type-label{
    margin: 0;
    margin-right: 4px;
    height: 24px;
    background-color: #f5f5f5;
    color: #2b2f4c;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 5px;
    font-weight: 700;
    line-height: 1.7;
}
.discount-type-label.checked {
    background-color: var(--primary);
    color: #fff;
}
.pcf-single-row .pnv-discount-amount {
    display: inline-block;
    position: relative;
}
.pcf-single-row .pnv-discount-amount .pnv_discount_amount_input {
    width: 90px;
    height: 32px;
    padding-left: 21px;
    border-radius: 8px;
}
.text13{
    font-size: 13px;
}
.fw-600{
    font-weight: 600 !important;
}
.cke_notification_warning{
    display: none !important;
}
.select2-container{
    width: 100% !important;
}
.select2-container .select2-selection--single{
    height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 34px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
    right: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 34px !important
}
.select2-container--default .select2-results__option--selected {
    background: linear-gradient(135deg, #3964df 0%, #5c53f1 100%) !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--selected.select2-results__option--highlighted {
    background: var(--primary-gradient) !important;
    color: #fff !important;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--rgba-primary-2) !important;
}
.dropdown-item{
    padding: 8px 16px;
}
.placement-box {
    position: relative;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ddd;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
.placement-box label {
    width: 100%;
    cursor: pointer;
}
.placement-input {
    position: absolute;
    top: 0;
    right: 0;
    accent-color: #fff;
}
.placement-box img {
    width: 30px;
    height: 30px;
}
th.variation-template-td {
    border-top: 0px;
}
.newVariableRemove {
    border: 0;
    font-size: 23px;
    background: none;
    color: red;
}
.inv_tr_delete_btn {
    background-color: transparent;
    color: #ff7676 !important;
    font-size: 11px;
    border: 0px;
}
.inv_tr_delete_btn:hover {
    color: #fc1f1f !important;
    background-color: transparent;
}
.image-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-preview-multiple img {
    width: 60px;
    margin-right: 10px;
}
.remove-image-button {
    position: absolute;
    float: right;
    top: -5px;
    right: 3px;
    color: #fff;
    background: red;
    padding: 0px 2px;
    border-radius: 50%;
    cursor: pointer;
}
#sidebar-menu ul li a.pos-sale-sidebar-link{
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    padding: 6px 18px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
}

#sidebar-menu ul li a.pos-sale-sidebar-link:hover{
    background-color: var(--bs-sidebar-menu-item-active-bg-color);
}
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a.pos-sale-sidebar-link{
    text-align: left !important;
}
#page-topbar.page-topbar-pos-sell, .footer.footer-pos-sell{
    left: 0px !important;
}   
.pos-product-item .card {
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #fff;
    box-shadow: 0rem 0.3125rem 0.3125rem 0rem rgba(82, 63, 105, 0.05);
}
.pos-product-item .card .card-body{
    padding: 5px;
}
.posImg {
    object-fit: cover;
    width: 100%;
    border-radius: 8px;
    height: 180px;
}
.pos-product-item .pos-service-name p{
    margin-bottom: 5px;
    margin-top: 10px;
    color: #2f2f2f;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 28px;
}
.pos-product-item .pos-service-price p {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
}

.pos-product-item .pos-service-qty p{
    margin: 8px 0px !important;
    color: #222;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--primary);
    padding: 4px 15px 3px 15px;
    border-radius: 75px;
    line-height: 1;
    height: auto !important;
}
.pos-product-item {
    margin-top: 10px;
}

.ecom-primary-color{
    color: var(--primary) !important;
}
.ecom-primary-bg{
    background-color: var(--primary) !important;
}
.ecom-btn-primary{
    color: #fff
}
.pos-cart-item.item-header {
    border-bottom: 1px solid #f5f5f5;
    background-color: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 0px;
}
.pos-cart-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px;
    border-bottom: 1px solid var(--rgba-primary-2);
}
.pos-cart-item.item-header>div {
    text-align: center;
    justify-content: center;
}
.pos-cart-item .pci-product {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-basis: 40%;
    padding: 0 10px 0 0;
}
.pos-cart-item.item-header h5 {
    margin: 0;
    color: #fff;
    font-size: 13px;
}
.pos-cart-wrapper .pos-cart-item:last-child {
    border-bottom: 1px solid var(--rgba-primary-6);
}
.pos-cart-item .pci-product {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-basis: 40%;
    padding: 0 10px 0 0;
}
.pos-cart-item .pci-product .pcip-img {
    margin-right: 8px;
}
.pos-cart-item .pci-product .pcip-img img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid #ddd;
}
.pos-cart-item .pci-product .pcip-details .pcipd-title {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 3px;
}
.pos-cart-item .pci-product .pcip-details .pcipd-vt-info {
    margin: 0;
    font-size: 11px;
    line-height: 1.3;
    color: #777;
}
.pos-cart-item .pci-unit-price {
    flex-basis: 20%;
    position: relative;
    padding-right: 10px;
}
.pos-cart-item .pci-unit-price::before{
    content: "";
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #222;
}

.pci-unit-price-input::before {
    content: "৳" !important;
}
.pos-cart-item .pci-unit-price .pciup-input {
    height: 30px;
    border-radius: 8px;
    padding-left: 19px;
    font-weight: 500;
    color: #222;
    font-size: 13px;
}
.pos-cart-item .pci-qty {
    flex-basis: 20%;
}
.qty-input-wrapper {
    display: flex;
    align-items: center;
}
.btn.qtychangebtn.minus {
    border-radius: 5px 0 0 5px;
    padding: 6px 11px 4px;
    height: 30px;
    background-color: #f5f5f5;
    color: #2b2f4c;
    cursor: pointer;
    font-size: 10px;
}
.qty-input {
    padding: 0;
    margin: 0;
    width: 45px;
    text-align: center;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    height: 30px;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid #f5f5f5 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    border-radius: 0;
}
input.qty-input:focus, .form-control.qty-input:focus {
    box-shadow: none !important;
    border-color: #f7f7f7 !important;
}
.btn.qtychangebtn.plus {
    border-radius: 0 5px 5px 0;
    padding: 6px 11px 4px;
    height: 30px;
    background-color: #f5f5f5;
    color: #2b2f4c;
    cursor: pointer;
    font-size: 10px;
}
.pos-cart-item .pci-total {
    flex-basis: 16%;
    text-align: right;
    margin-right: 7px;
}
.pos-cart-item .pci-total .pci-total-amount {
    margin: 0;
    font-size: 14px;
    color: #222;
    font-weight: 500;
}
.pos-cart-item .pci-currency-symbol {
    font-weight: 600;
}
.pos-cart-item .pci-action {
    flex-basis: 3%;
    text-align: center;
}
.pci-cart-remove-btn {
    background-color: transparent;
    border: none;
    color: #ff5c5c;
    /* color: #d4d4d4; */
}
.pci-cart-remove-btn:hover {
    color: #ff0000;
}
.pos-cart-footer-item {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}
.pos-cart-footer-item .pcfi-left {
    flex-basis: 40%;
}
.pos-cart-footer-item .pcfi-left p {
    font-size: 13px;
    color: #444;
    margin: 0;
    font-weight: 500;
}
.pos-cart-footer-item .pcfi-left>p>span.pcfi-total-item-number {
    font-weight: 600;
    font-size: 16px;
}
.pos-cart-footer-item .pcfi-center {
    flex-basis: 40%;
}
.pos-cart-footer-item .pcfi-center p {
    text-align: right;
    color: #444;
    padding-right: 10px;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}
.pos-cart-footer-item .pcfi-right {
    flex-basis: 19%;
}
.pos-cart-footer-item .pcfi-right .pos-cart-amount {
    margin: 0;
    font-size: 14px;
    color: #222;
    font-weight: 500;
    text-align: right;
    margin-right: 20%;
}
.pos-cart-footer-item .pcfi-center>div {
    text-align: right;
    color: #444;
    padding-right: 10px;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}
.pcfi-center .text {
    display: inline-block;
    margin-right: 10px;
}

.discount-type-label {
    margin: 0;
    margin-right: 4px;
    height: 24px;
    background-color: #f5f5f5;
    color: #2b2f4c;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 5px;
    font-weight: 700;
    line-height: 1.7;
    font-size: 13px;
}

.discount-type-label.checked{
    background-color: var(--primary);
    color: #fff;
}
.pos-discount-amount {
    position: relative;
    display: inline-block;
}
.pos_discount_amount_input{
    height: 32px;
    border-radius: 8px;
    font-weight: 500;
    color: #222;
    font-size: 13px;
    width: 80px;
}
.pos-cart-footer-wrapper{
    margin-top: 5px;
}

.invoice-select-item-wrapper {
    max-height: 510px;
    overflow-x: hidden;
    padding-right: 7px;
}
@media(max-height: 599px){
    .invoice-select-item-wrapper {
        max-height: 385px !important;
    }
}
.iipl-back-button-wrapper {
    margin-right: 10px;
}
.iipl-back-button {
    border: transparent;
    background-color: transparent;
    color: var(--primary);
}
.iipl-selected-item-info .iipl-sii-img img {
    width: 45px;
    height: 45px;
    border-radius: 100px;
    border: 1px solid #ddd;
}
.iipl-selected-item-info .iipl-sii-info{
    margin-left: 10px;
}
.iipl-selected-item-info .iipl-sii-info .name {
    margin: 0;
    font-size: 14px;
}
.iipl-selected-item-info .iipl-sii-info .category {
    margin: 0;
    font-size: 12px;
}
.iipl-selected-item-purchase-list {
    margin-top: 20px;
}
.iipl-selected-item-purchase-list .iipl-sip-item {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    margin-bottom: 15px;
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-sl {
    width: 20px
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-sl p {
    margin: 0;
    font-size: 17px;
    color: #222;
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-other {
    width: calc(100% - 20px);
    border: 1px solid var(--primary);
    padding: 5px 10px;
    border-radius: 12px;
    cursor: pointer;
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-other .date {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5px;
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-other .date p {
    margin: 0;
    color: #222;
    font-size: 13px;
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-other .date .expire-date{
    padding: 2px 15px;
    border-radius: 20px;
    color: #fff;
    background-color: var(--primary);
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-other .price-qty {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.iipl-selected-item-purchase-list .iipl-sip-item .iipl-sipi-other .price-qty p span {
    font-weight: 600;
}
body[data-sidebar-size=sm] .navbar-brand-box {
    padding: 0 10px !important;
}
.logo-login{
    width: auto;
    height: 50px;
}
.logo-header{
    width: auto;
    height: 50px;
}
.logo-header-sm{
    width: 50px;
    height: auto;
}

.pos-payment-compact {
    border-top: 1px solid #dee2e6;
    margin-top: 10px;
    padding: 12px 15px 8px 0px;
}

.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 10px;
}

.payment-label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
}

.payment-method-buttons {
    display: flex;
    gap: 6px;
    flex: 1;
    justify-content: flex-end;
}

.pm-btn {
    cursor: pointer;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    background-color: #fff;
    transition: all 0.2s ease;
    margin: 0;
}

.pm-btn input[type="radio"] {
    display: none;
}

.pm-btn:hover {
    border-color: var(--primary);
    background-color: #f8f9fa;
}

.pm-btn.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
}

.payment-input {
    flex: 1;
    max-width: 200px;
    height: 32px;
    font-size: 14px;
    padding: 4px 8px;
}

.due-row {
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
    margin-top: 8px;
}

.due-amount {
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    flex: 1;
    max-width: 200px;
}

.change-label {
    font-size: 12px;
    font-weight: normal;
    margin-left: 4px;
}

.small-device-label{
    display: none;
}

@media (max-width: 768px) {
    .payment-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .payment-label {
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .payment-method-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    
    .payment-input,
    .due-amount {
        max-width: 100%;
        width: 100%;
    }

    .small-device-label{
        display: inline-block;
        margin: 0px;
        padding-right: 10px;
    }
}
.text-primary{
    color: var(--primary) !important;   
}

.fl-wrapper[data-position$=-right]
{
    z-index: 9999 !important;
}

.fl-flasher .fl-icon{
    font-size: 14px !important;
}

.readonly {
    background: #f7f7f7 !important;
}
.table-responsive{
    min-height: 175px !important;
}

.custom-amount-text{
    font-size: 16px !important;
    font-weight: 500;
}
.paymentAmt{
    font-size: 18px;
    font-weight: 600;
}
