@charset "utf-8";

/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
    --color1: #673AB7;
    --color2: #4f249b;
    --color1light: #f5f1fb;
    --white: #fff;
    --card-border-color: rgb(0 0 0 / 11%);
}


/** BASIC CSS **/

*:fullscreen *:-ms-fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
    overflow: auto !important;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #000;
    font-weight: normal;
    font-style: normal;
    overflow-x: hidden;
}

p {
    font-size: 12px;
    color: #848484;
    line-height: 14px;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: #555;
}

a {
    text-decoration: none;
    outline: none;
    color: #4b5460;
}

:focus {
    outline: none;
}

a:focus {
    outline: none;
}

a:hover,
a:focus {
    color: var(--color1);
    text-decoration: none;
}

hr {
    background: #e3e3e3;
    border-top: 1px solid #333;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

::selection {
    text-shadow: none;
    background: var(--color1);
    color: #fff;
}

::-moz-selection {
    text-shadow: none;
    background: var(--color1);
    color: #fff;
}

a,
input,
select,
textarea,
img {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.clearfix {
    clear: both;
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

.floatl {
    float: left;
}

.floatr {
    float: right;
}

.nopad {
    padding: 0 !important;
}

.nopadl {
    padding-left: 0;
}

.nopadr {
    padding-right: 0;
}

.btn:focus,
button:focus,
.form-control:focus {
    outline: 0;
    box-shadow: 0 0 0 0 transparent;
}

.csv-export-btn,
.bulk-export-excel,
.exportExcelBtn,
button[onclick*="exportExcel"],
button[onclick*="exportReportCsv"] {
    background-color: #1e9e5a !important;
    border-color: #1e9e5a !important;
    color: #fff !important;
}

.print-btn,
.bulk-export-pdf,
.exportPDFBtn,
button[onclick*="openPrintReport"],
button[onclick*="print"] {
    background-color: #d73b3b !important;
    border-color: #d73b3b !important;
    color: #fff !important;
}

.csv-export-btn i,
.bulk-export-excel i,
.print-btn i,
.bulk-export-pdf i {
    margin-right: 6px;
}

.form-control:focus {
    border-color: var(--color1);
}

dl,
ol,
ul {
    padding-left: 0;
}

.btn {
    padding: 7px 10px;
    line-height: 1.4;
    border: 0;
    font-size: 12px;
    justify-content: center;
}

select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 101% !important;
    background-position-y: 4px !important;
    padding-right: 2rem;
}


/** BASIC CSS END HERE **/

.btn-common {
    background-color: var(--color1);
    color: var(--white);
    border: 0;
    justify-content: center;
}

.btn-common:hover,
.btn-common:focus,
.btn-common:visited {
    background-color: var(--color2) !important;
    color: var(--white) !important
}

.pos_btn {
    color: #fff;
    background: var(--color2);
    padding: 9px 14px;
    border-radius: 8px;
    display: inline-block;
}

.pos_btn:hover,
.pos_btn:focus {
    color: #fff;
    background: var(--color2);
}

.login_screen {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color1);
}

.login_box {
    max-width: 450px;
    width: 94%;
    background: #fff;
    border-radius: 10px;
    padding: 2rem 3rem;
    box-shadow: 0px 2px 10px #00000047;
}

.login_box h1 {
    font-size: 20px;
    color: #000;
    margin-bottom: 18px;
}

.toggle_password {
    position: relative;
    width: 100%;
}

.toggle_password .show-pass {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    text-align: center;
    height: 24px;
    margin: auto;
    cursor: pointer;
    color: var(--color1);
}

.toggle_password input {
    padding-right: 24px;
}

.title_bar {
    padding: 6px 10px;
    background: var(--color2);
}

.title_bar h3 {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}

.main-container {
    padding: 5px;
}

.card {
    border-color: var(--card-border-color);
}

.card-header {
    border-color: var(--card-border-color);
}

.shadow-1 {
    box-shadow: 0px 3px 7px -1px #0000000a;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    margin: 0;
    gap: 10px;
}

.card-title > span:last-child,
.card-title > .list-table-actions,
.card-title .btn-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.card-title .btn,
.card-title .list-table-actions .btn,
.card-title .btn-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    white-space: nowrap;
}

.card-title .btn i,
.card-title .list-table-actions .btn i,
.card-title .btn-group .btn i {
    font-size: 13px;
}

.dataTables_length select {
    background: var(--color1light);
    border: 1px solid var(--color1);
    border-radius: 4px;
    font-size: 13px;
    padding: 4px 8px;
}

.dataTables_filter input {
    background: var(--color1light);
    border: 1px solid var(--color1);
    border-radius: 4px;
    font-size: 13px;
    padding: 4px 8px;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 5px;
}

table.dataTable {
    border-collapse: collapse !important;
}

.datatable thead {
    background: var(--color1);
    color: #fff;
}

table.dataTable tbody th,
table.dataTable tbody td,
table.dataTable thead th,
table.dataTable thead td,
table.dataTable thead th,
table.dataTable tfoot th {
    padding: 3px 4px !important;
}

table.dataTable,
table.dataTable tr th,
table.dataTable tr td,
table.dataTable.no-footer {
    border-color: #d9d9d9 !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    top: 4px !important;
    left: 4px !important;
    height: 12px !important;
    width: 12px !important;
}

.dataTables_paginate a {
    padding: 10px !important;
}

.dataTables_paginate span a {
    background: var(--color1light) !important;
    color: var(--color1) !important;
    line-height: 0.8;
    border-color: 1px solid var(--color1) !important;
}

.dataTables_paginate span a:hover {
    border-color: 1px solid var(--color1) !important;
    color: var(--color1) !important;
}

.dataTables_paginate span a.current {
    background: var(--color1) !important;
    color: #fff !important;
    border-color: 1px solid var(--color1);
}

.paginate_button.disabled {
    display: none !important;
}

.paginate_button.previous {
    background: var(--color1light) !important;
    color: var(--color1) !important;
    padding: 7px !important;
    line-height: 0.8;
    border-color: 1px solid var(--color1) !important;
}

.paginate_button.next {
    background: var(--color1light) !important;
    color: var(--color1) !important;
    padding: 7px !important;
    line-height: 0.8;
    border-color: 1px solid var(--color1) !important;
}

.modal-header {
    padding: 10px;
    background: var(--color1);
}

.modal-title {
    font-size: 13px !important;
    color: #fff;
    font-weight: 400;
}

.btn-close {
    backdrop-filter: invert(2);
    filter: brightness(3.5);
}

.text-theme {
    color: var(--color1);
}

.form-control[readonly] {
    background: #ebebeb;
}

.form-control {
    border-color: #aaa;
}

.dropdown-menu {
    box-shadow: 2px 4px 20px 0px #00000047;
}

.input-group-text {
    /* border-color: #aaa; */
    border-color: var(--color2);
    background: var(--color2);
    color: #fff;
}

.form-control::placeholder {
    color: #9b9b9bc5 !important;
}

.select2-container {
    display: block !important;
    width: 100% !important;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice {
    background-color: var(--color1) !important;
    border: 1px solid var(--color2) !important;
    color: #fff !important;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
}

.select2-container .select2-selection--single {
    height: 32px !important;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.input-group {
    flex-wrap: nowrap !important;
}

table thead th input[type="checkbox"],
table tbody td input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
}

.timg {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: inline-block;
}

.deleteselect {
    display: none;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
}

.dashboard-filter-form {
    width: 100%;
}

.dashboard-filter-row {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
}

.dashboard-filter-group label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dashboard-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

.dashboard-stat {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--card-border-color);
    border-radius: 6px;
    color: #333;
    box-shadow: 0px 3px 7px -1px #0000000a;
}

.dashboard-stat:hover,
.dashboard-stat:focus {
    color: #333;
    transform: translateY(-1px);
}
.chart-bars,.chart-panel{
    overflow: auto;
}
.chart-panel {
    margin-top: 20px;
    padding: 14px 12px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    min-height: 180px;
    padding-top: 8px;
}

.chart-col {
    display: flex;
    flex: 1 1 0;
    min-width: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    text-align: center;
}

.chart-track {
    width: 100%;
    max-width: 48px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 4px 0 0;
    background: #edf2f7;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.chart-bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #8b5cf6 0%, #4f46e5 100%);
    min-height: 8px;
}

.chart-col small {
    font-size: 10px;
    color: #64748b;
}

.chart-col span {
    font-size: 10px;
    font-weight: 700;
    color: #334155;
}

.progress-line {
    margin-bottom: 12px;
}

.progress-line-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #334155;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0%, #4f46e5 100%);
}

.dashboard-stat-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    flex: 0 0 42px;
}

.dashboard-stat-body {
    display: grid;
    gap: 4px;
}

.dashboard-stat-body strong {
    font-size: 19px;
    line-height: 1;
    color: #202020;
}

.dashboard-stat-body span {
    font-size: 12px;
    color: #666;
}

.dashboard-stat-primary .dashboard-stat-icon {
    background: var(--color1);
}

.dashboard-stat-success .dashboard-stat-icon {
    background: #198754;
}

.dashboard-stat-warning .dashboard-stat-icon {
    background: #d99b00;
}

.dashboard-stat-danger .dashboard-stat-icon {
    background: #dc3545;
}

.dashboard-stat-info .dashboard-stat-icon {
    background: #0dcaf0;
}

.dashboard-stat-dark .dashboard-stat-icon {
    background: #3e4651;
}

.site-status-grid,
.finance-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.site-status-item,
.finance-strip div {
    background: var(--color1light);
    border: 1px solid var(--card-border-color);
    border-radius: 6px;
    padding: 12px;
}

.site-status-item span,
.finance-strip span {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 6px;
}

.site-status-item strong,
.finance-strip strong {
    display: block;
    color: #202020;
    font-size: 18px;
    line-height: 1.1;
}

.site-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.finance-strip {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media screen and (max-width: 991px) {
    .site-status-grid,
    .finance-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 575px) {
    .site-status-grid,
    .finance-strip {
        grid-template-columns: 1fr;
    }
}

.quick-action-list {
    display: grid;
    gap: 8px;
}

.quick-action-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 10px;
    background: var(--color1light);
    border: 1px solid var(--card-border-color);
    border-radius: 6px;
    color: #333;
    font-weight: 500;
}

.quick-action-list a i {
    color: var(--color1);
}

.dashboard-table thead {
    background: var(--color1);
    color: #fff;
}

.dashboard-table th,
.dashboard-table td {
    padding: 6px 8px;
    font-size: 12px;
    vertical-align: middle;
}

@media screen and (max-width: 575px) {
    .site-status-grid,
    .finance-strip {
        grid-template-columns: 1fr;
    }
}


/* .card-body{
	overflow: auto;
} */

table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    border-bottom: 1px solid #efefef;
    padding: 0.5em 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

table.dataTable>tbody>tr.child ul.dtr-details li .dtr-data {
    text-wrap: auto;
    flex-wrap: wrap;
    display: flex;
    text-align: end;
}

.table-dark {
    --bs-table-bg: var(--color1) !important;
}

.salepurchasetable .form-control[type="text"]:read-only,
.salepurchasetable label.form-control:read-only {
    background: transparent !important;
    border: 0 !important;
    font-weight: 500;
}

.ui-menu-item-wrapper:hover {
    background-color: var(--color1) !important;
    border-color: var(--color1) !important;
}

.batch_prod_list {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #bfbfbf;
    padding: 5px;
}

.batch_prod_list:last-child {
    border-bottom: 0;
}

.batch_prod_list span {
    display: block;
    width: 100%;
}

table.dataTable tbody td.pad-0 {
    padding: 0 !important;
}

.holddropdown {
    min-width: 22rem !important;
}

.holddropdown .btn {
    padding: 1px 6px;
}

.hold_table {
    width: 100%;
    max-height: 200px;
    overflow: auto;
}

.hold_table .table thead {
    position: sticky;
    top: -1px;
}

.form-check-input:checked {
    background-color: var(--color1);
    border-color: var(--color1);
}

.form-check-input:focus {
    border-color: var(--color1) !important;
    box-shadow: 0 0 0 .25rem var(--color1light) !important;
}

.img_prev_box {
    width: 100%;
    height: 100px;
    text-align: center;
    background: rgb(188 205 231 / 25%);
    border: 1px dashed #c9c9c9;
    border-radius: 5px;
    margin: 5px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.img_prev_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img_prev_box label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.img_prev_box input {
    display: none;
}

.img_prev_box:hover {
    background: rgb(85 94 109 / 25%);
}

.checkcart {
    display: none;
}

.title_bar h3,
.card-title,
.page-title,
.section-title,
.card-header h1,
.card-header h2,
.card-header h3,
.btn,
.dropdown-item,
.nav-link,
.sidebar-link,
.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.title_bar h3 i,
.card-title i,
.page-title i,
.section-title i,
.card-header h1 i,
.card-header h2 i,
.card-header h3 i,
.btn i,
.dropdown-item i,
.nav-link i,
.sidebar-link i,
.link-btn i,
.card-icon i {
    margin-right: 0;
}

#global-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: min(360px, calc(100vw - 20px));
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-message {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.96);
    color: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
    border-left: 5px solid var(--color1);
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

.toast-message.hide {
    opacity: 0;
    transform: translateX(20px);
}

.toast-success {
    background: rgba(22, 101, 52, 0.96);
    border-left-color: #22c55e;
}

.toast-danger {
    background: rgba(127, 29, 29, 0.96);
    border-left-color: #ef4444;
}

.toast-warning {
    background: rgba(120, 53, 15, 0.96);
    border-left-color: #f59e0b;
}

.toast-info {
    background: rgba(30, 64, 175, 0.96);
    border-left-color: #60a5fa;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.toast-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.toast-content strong {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.toast-content span {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
}

.app-install-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

.app-install-banner[hidden] {
    display: none;
}

.app-install-banner__content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.app-install-banner__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-install-banner__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-install-banner__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.app-install-banner__text strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.app-install-banner__text span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.app-install-banner__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

#global-flash-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2001;
    max-width: 360px;
    width: min(360px, calc(100vw - 20px));
}

@media (max-width: 575px) {
    .app-install-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .app-install-banner__content {
        width: 100%;
    }

    .app-install-banner__actions {
        width: 100%;
        justify-content: flex-end;
    }
    #global-toast-container,
    #global-flash-toast {
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}
