/* Consolidated CSS: base utilities and application theme */

:root {
    --crm-primary: #5b5cf0;
    --crm-primary-dark: #4849d8;
    --crm-success: #2ecc71;
    --crm-active: #086ad8;
    --crm-danger: #ef5b66;
    --crm-warning: #f5a524;
    --crm-navy: #182033;
    --crm-sidebar: #1d2638;
    --crm-sidebar-muted: #9ca9bf;
    --crm-text: #263149;
    --crm-muted: #8490a7;
    --crm-border: #e8edf4;
    --crm-surface: #ffffff;
    --crm-background: #f5f7fb;
    --crm-shadow: 0 10px 35px rgba(31, 42, 67, .06);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
}


* {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:active,
*:hover,
*:focus {
    outline: 0px !important;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


body {
    font-family: "Google Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1;
    font-size: 15px;
    font-weight: 400;
    background: var(--crm-background);
    color: var(--crm-text);
}
input, button, textarea, select {
    font-family: inherit; 
    font-size: inherit;  
    color: inherit;
}


a,
a:hover,
a:focus {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

b,
strong {
    font-weight: bold;
}

img {
    border: 0;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled] {
    cursor: not-allowed;
}

small {
    font-size: 85%;
}

.thumbnail {
    display: block;
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    max-width: 100%;
}

.thumbnail>img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.text-info {
    color: #00afd1 !important;
}

.text-warning {
    color: #ffc61d !important;
}

.text-muted {
    opacity: .7;
}

.bg-default {
    background: #EEE !important;
    border-color: #EEE !important;
}

.bg-success {
    background: #27ae60 !important;
    color: #FFFFFF !important;
    border-color: #27ae60 !important;
}

.bg-info {
    background: #00afd1 !important;
    color: #FFFFFF !important;
    border-color: #00afd1 !important;
}

.bg-warning {
    background: #ffc61d !important;
    color: #FFFFFF !important;
    border-color: #ffc61d !important;
}

.bg-danger {
    background: #f6504d !important;
    color: #FFFFFF !important;
    border-color: #f6504d !important;
}



.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

[class*="col-"] {
    min-width: 0;
    grid-column: span 12;
}

.col-xs-12 { grid-column: span 12; }
.col-xs-11 { grid-column: span 11; }
.col-xs-10 { grid-column: span 10; }
.col-xs-9  { grid-column: span 9; }
.col-xs-8  { grid-column: span 8; }
.col-xs-7  { grid-column: span 7; }
.col-xs-6  { grid-column: span 6; }
.col-xs-5  { grid-column: span 5; }
.col-xs-4  { grid-column: span 4; }
.col-xs-3  { grid-column: span 3; }
.col-xs-2  { grid-column: span 2; }
.col-xs-1  { grid-column: span 1; }

/* SM */
@media (min-width: 768px) {
    .col-sm-12 { grid-column: span 12; }
    .col-sm-11 { grid-column: span 11; }
    .col-sm-10 { grid-column: span 10; }
    .col-sm-9  { grid-column: span 9; }
    .col-sm-8  { grid-column: span 8; }
    .col-sm-7  { grid-column: span 7; }
    .col-sm-6  { grid-column: span 6; }
    .col-sm-5  { grid-column: span 5; }
    .col-sm-4  { grid-column: span 4; }
    .col-sm-3  { grid-column: span 3; }
    .col-sm-2  { grid-column: span 2; }
    .col-sm-1  { grid-column: span 1; }
}

/* MD */
@media (min-width: 992px) {
    .col-md-12 { grid-column: span 12; }
    .col-md-11 { grid-column: span 11; }
    .col-md-10 { grid-column: span 10; }
    .col-md-9  { grid-column: span 9; }
    .col-md-8  { grid-column: span 8; }
    .col-md-7  { grid-column: span 7; }
    .col-md-6  { grid-column: span 6; }
    .col-md-5  { grid-column: span 5; }
    .col-md-4  { grid-column: span 4; }
    .col-md-3  { grid-column: span 3; }
    .col-md-2  { grid-column: span 2; }
    .col-md-1  { grid-column: span 1; }
}



.radio,
.checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(235, 237, 242, .4);
    margin: 0 5px 0 0;
    padding: 8px 10px;
    font-weight: normal;
    border-radius: 4px;
    cursor: pointer;
}

.radio input,
.checkbox input {
    margin-right: 5px;
}


.checkbox-list { display:grid;grid-template-columns: repeat(2, minmax(0, 1fr)); gap:15px; }
.btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

[disabled] {
    cursor: not-allowed;
    opacity: 0.65;
}


.dropup,
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: calc(50% - 80px);
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: .5rem 0;
    list-style: none;
    text-align: left;
    background: #FFF;
    box-shadow: 2px 0 20px 2px rgba(64,70,74,.25)!important;
    border-radius: 4px;
    color: #212529;
    background-clip: padding-box;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu > li > a {
    display: block;
    padding: 10px 15px;
    color: #869fb1;
    white-space: nowrap;
    transition: all .5s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > .active > a {
    background: #f5f6fc;
    color: #25378b;
}

.dropdown-menu > li > a .far {
    width: 25px;
    text-align: center;
}

.dropdown-menu > li > a .badge {
    position: relative;
    top: -1px;
    background: #27ae60;
    margin: 0px 5px;
    text-align: center;
}

.dropdown-header {
    display: block;
    padding: .5rem 1.5rem;
    font-size: .875rem;
    color: #6c757d;
    white-space: nowrap;
}

[class*=label-] {
    display: inline;
    padding: 6px 9px;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #ffffff;
    vertical-align: middle;
    border-radius: 4px;
}

[class*=label-]:hover,
[class*=label-]:focus {
    color: #FFFFFF;
}

.label-default {
    background: #6c757d;
}

.label-purple {
    background: #8e44ad;
}

.label-primary {
    background: #3498db;
}

.label-success {
    background: #27ae60;
}

.label-info {
    background: #00afd1;
}

.label-warning {
    background: #ffc61d;
}

.label-danger {
    background: #f6504d;
}

[class*=alert-] {
    display: block;
    padding: 15px;
    border-radius: 4px;
    border: none;
    text-align: center;
}

.alert-success {
    background: #dff0d8;
    color: #27ae60;
}

.alert-info {
    background: #d9edf7;
    color: #00afd1;
}

.alert-warning {
    background: #fcf8e3;
    color: #ffc61d;
}

.alert-danger {
    background: #f2dede;
    color: #f6504d;
}

.panel-footer {
    padding-top: 30px;
}

.panel-close {
    position: absolute;
    top: 30px;
    right: 30px;
}

@media (min-width: 768px) {


.modal-medium {
    width: 700px;
    max-width: 700px;
}

.modal-default {
    width: 450px;
    max-width: 450px;
}
.modal-small {
    width: 300px;
    max-width: 300px;
}
}

@media (min-width: 992px) {
    .modal-large {
        width: 75%;
        max-width: 75%;
    }
}

@media (max-width: 768px) {
    .modal-normal, .modal-medium, .modal-small, .modal-large { width:90%;max-width:90%; }
    .container { padding:0px 15px; }
}


.hide {
    display: none !important;
}

.show {
    display: block !important;
}

@-ms-viewport {
  width: device-width;
}

.alertify {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 15px 0px;
    font-size: 17px;
    -webkit-animation: alertify 0.3s forwards;
    -moz-animation: alertify 0.3s forwards;
    -o-animation: alertify 0.3s forwards;
    animation: alertify 0.3s forwards;
    -webkit-box-shadow: 0 1px 2px 0 rgb(0 0 0 / 8%);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 8%);
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
    -o-animation-duration: 1s;
    z-index: 999999999999;
}

.alertify .fa {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    margin-right: 10px;
    text-align: center;
    border-radius: 100%;
}

.alertify.success {
    background: #27ae60;
    color: #FFFFFF;
}

.alertify.success .fa {
    background: #FFFFFF;
    color: #27ae60;
}

.alertify.error {
    background: #E74C3C;
    color: #FFFFFF;
}

.alertify.error .fa {
    background: #FFFFFF;
    color: #E74C3C;
}

.alertify.warning {
    background: #f39C12;
    color: #FFFFFF;
}

.alertify.warning .fa {
    background: #FFFFFF;
    color: #f39C12;
}

@-webkit-keyframes fadeInDown {
    from { top:-500px;  }
    to { top:0px; }
}

@-moz-keyframes fadeInDown {
    from { top:-500px;  }
    to { top:0px; }
}

@keyframes fadeInDown {
    from {  top:-500px;  }
    to {  top:0px; }
}

.m0 {
    margin: 0;
}

.text-center {
    text-align: center !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}



.table > thead > tr > th:last-child,
.table > tfoot > tr > th:last-child {
    text-align: right;
}

table.dataTable.dtr-inline.collapsed tbody td:first-child:before,
table.dataTable.dtr-inline.collapsed tbody th:first-child:before {
    height: 16px;
    width: 16px;
    display: inline-block;
    color: white;
    margin-right: 5px;
    border-radius: 4px;
    text-align: center;
    line-height: 14px;
    box-sizing: content-box;
    content: '+';
    background-color: #31b131;
}

table.dataTable.dtr-inline.collapsed tbody tr.parent td:first-child:before,
table.dataTable.dtr-inline.collapsed tbody tr.parent th:first-child:before {
    content: '-';
    background-color: #d33333;
}

table.dataTable.dtr-inline.collapsed tbody tr.child td:before {
    display: none;
}

table.dataTable .child {
    padding: 0px !important;
}

table.dataTable tr.child ul {
    background: #FBFBFB;
}

table.dataTable tr.child span.dtr-title {
    font-weight: bold;
    margin-right: auto;
}

    .iti__search-input{ 

            padding:15px 20px;

     }
.iti__country{ padding:10px 20px; }

.iti { display:block; }

.is-invalid { border-color:red !important; }


.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 7px;
}

.table > tbody > tr {
    transition: background .18s ease;
}

.text-success {
    color: var(--crm-success);
}

.text-danger {
    color: var(--crm-danger);
}

.card {
    min-height: 146px;
    padding: 26px 29px;
    margin-bottom: 28px;
    border: 1px solid rgba(232, 237, 244, .8);
    border-radius: 4px;
    box-shadow: var(--crm-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(31, 42, 67, .1);
}

.card .card-title {
    margin-bottom: 13px;
    color: var(--crm-muted);
    font-size: 11px;
    font-weight: 700 ;
    letter-spacing: .6px;
}

.card .price {
    color: var(--crm-success);
    font-size: 22px;
    letter-spacing: -.55px;
}

.card .date {
    margin-top: 4px;
    color: var(--crm-muted);
    font-size: 14px;
}

[class*="btn-"] {
    position: relative;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background: none;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    overflow: hidden;
    padding: 14px 20px;
    border-radius: 4px;
    border:none;
    font-weight: 500;
}

.btn-sm {
    padding: 9px 13px;
    font-size: 14px;
}

.btn-xs {
    padding: 6px 9px ;
    font-size: 12px ;
}

.btn-default {
    color: #fff;
    background: #3c4658;
}

.btn-default:hover,
.btn-default:focus {
    color: #fff;
    background: #2f394a;
}



.btn-primary {
    color: #fff;
    border-color: #086ad8;
    background-color: #086ad8;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    border-color: #075bb9;
    background-color: #075bb9;
}

.btn-success {
    color: #fff;
    border-color: #2ecc71;
    background-color: #2ecc71;
}

.btn-success:hover,
.btn-success:focus {
    color: #fff;
    border-color: #27ae60;
    background-color: #27ae60;
}

.btn-danger {
    color: #fff;
    border-color: #ef5b66;
    background-color: #ef5b66;
}

.btn-danger:hover,
.btn-danger:focus {
    color: #fff;
    border-color: #d94d58;
    background-color: #d94d58;
}

.btn-warning {
    color: #fff;
    border-color: #f5a524;
    background-color: #f5a524;
}

.btn-warning:hover,
.btn-warning:focus {
    color: #fff;
    border-color: #dc9119;
    background-color: #dc9119;
}

.btn-info {
    color: #fff;
    border-color: #17a2b8;
    background-color: #17a2b8;
}

.btn-info:hover,
.btn-info:focus {
    color: #fff;
    border-color: #138496;
    background-color: #138496;
}

.btn-secondary {
    color: #fff;
    border-color: #8490a7;
    background-color: #8490a7;
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #fff;
    border-color: #6f7b91;
    background-color: #6f7b91;
}

.btn-dark {
    color: #fff;
    border-color: #1d2638;
    background-color: #1d2638;
}

.btn-dark:hover,
.btn-dark:focus {
    color: #fff;
    border-color: #141b29;
    background-color: #141b29;
}

.btn-light {
    color: #3c4658;
    border-color: #e1e6ee;
    background-color: #f5f7fb;
}

.btn-light:hover,
.btn-light:focus {
    color: #263149;
    border-color: #d4dae4;
    background-color: #e9edf3;
}

.form-control {
    display: block;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    width: 100%;
    min-height: 43px;
    padding:15px 20px;
    color: #57647c;
    background: #FFF;
    border: 1px solid #e5ebf3;
    border-radius: 4px;
}
.form-control:active {
    background: #eef3f7;
}

.form-control::-moz-placeholder {
    color: #5E6278;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #5E6278;
}

.form-control::-webkit-input-placeholder {
    color: #5E6278;
}

.form-control[readonly] {
    background: #f7f7f7;
    opacity: 1;
}

.form-control[disabled] {
    background: #f7f7f7;
    opacity: 1;
    cursor: not-allowed;
}

textarea.form-control {
    height: auto;
}

.form-control:hover {
    background: #ffffff;
    border-color: #d7dfeb;
}

.form-control:focus {
    background: #ffffff;
    border-color:#086ad8;
    box-shadow: 0 0 0 3px rgba(91, 92, 240, .1);
}

.form-group {
    margin-bottom: 22px;
}

.form-group > label {
    display: block;
    vertical-align: middle;
    margin-bottom: 8px;
    color: #536078;
    font-size: 14px;
    font-weight: 600;
}


.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    z-index: 1050;
    padding: 25px;
    background: rgba(20, 29, 46, .62);
    backdrop-filter: blur(4px);
}




.header {
    position: sticky;
    top: 0px;
    display: grid;
    grid-template-columns:100px 1fr 100px;
    align-items: center;
    justify-content: center;
    gap:15px;
    z-index: 1049;
    height: 74px;
    padding:0px 15px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #e5ebf3;
    box-shadow: none;
    backdrop-filter: blur(16px);
    margin-bottom: 30px;
}




.header a,
.header button{ 
    display: inline-block;padding:10px 10px 10px 0px;
    color: #20283a;
    font-size:20px; 
}

.header-center {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.header-center span {
    color: #a2a9b8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.header-center strong {
    display: flex;
    align-items: center;
    gap:5px;
    color: #20283a;
    font-size:18px;
}
.header-center strong small {  
    color: #a2a9b8;
}

.header-right {
   text-align: right;
}


.app {
    width:768px;
    max-width: 768px;
    margin:0 auto;
}

.loader {
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 222;
    color: var(--crm-primary);
    background: var(--crm-background);
    top: 74px;
    left: 276px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 12px;
    color: #fff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    transition: all .18s ease;
}

.quick-action:hover {
    color: #fff;
    background: rgba(255,255,255,.23);
    transform: translateY(-2px);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 21px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    min-height: 138px;
    padding: 19px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 4px;
    box-shadow: 0 7px 20px rgba(31, 42, 67, .035);
}

.stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: auto;
    color: #a0a8b8;
}

.stat-head span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.stat-head i {
    font-size: 17px;
}
.stat-card strong {
    margin-top: 16px;
    color: #263149;
    font-size: 24px;
    letter-spacing: -.7px;
}

.stat-card small {
    margin-top: 5px;
    color: #a1aaba;
    font-size: 14px;
}

.stat-card-primary {
    color: #fff;
    background: #252e43;
    border-color: #252e43;
}

.stat-card-primary .stat-head,
.stat-card-primary small {
    color: #9ca8bb;
}

.stat-card-primary strong {
    color: #fff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px;
    margin-bottom: 21px;
}

.dashboard-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 4px;
    box-shadow: 0 7px 20px rgba(31, 42, 67, .035);
}


.panel-default {
    display: block;
    position: relative;
    background: #ffffff;
    padding: 30px;
    border: 1px solid var(--crm-border);
    border-radius: 4px;
}



.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
}





.panel-title {
    display: flex;
    align-items: center;
    gap:10px;
    font-weight: 600;
    color: var(--crm-text);
    letter-spacing: -.25px;
    font-size: 17px;
}

.panel-heading a { 
    color: #7678e9; }


.panel-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 5px;
    color: #999bff;
    opacity: 1;
}




.transaction-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 19px;
    border-bottom: 1px solid #f1f3f7;
}

.transaction-item:last-child {
    border-bottom: 0;
}

.transaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    font-size: 14px;
}

.transaction-icon.income {
    color: var(--crm-success);
    background: rgba(46, 204, 113, .12);
}

.transaction-icon.expense {
    color: #e85b69;
    background: #fff0f1;
}

.transaction-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.transaction-copy strong {
    overflow: hidden;
    color: #4a556b;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-copy small {
    overflow: hidden;
    color: #a0a9b9;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-price {
    font-size: 14px;
    white-space: nowrap;
}

.transaction-price.income {
    color: var(--crm-success);
}

.transaction-price.expense {
    color: #e85b69;
}

.dashboard-reports {
    margin-bottom: 0;
}

.report-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-strip div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-right: 1px solid #f0f2f6;
}

.report-strip div:last-child {
    border-right: 0;
}

.report-strip span {
    color: #a1aaba;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.report-strip small {
    color: #a7afbd;
    font-size: 10px;
}

@media screen and (max-width: 1050px) {
    .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 1fr; }
}

.user-copy small {
    color: #9ca5b6;
    font-size: 14px;
}



.report-strip strong {
    color: var(--crm-success);
    letter-spacing: -.45px;
    font-size: 19px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.title .left h1 {
    color: var(--crm-text);
    font-weight: 700;
    letter-spacing: -.45px;
    font-size: 25px;
}

.title .right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.title .right > * {
    margin-left: 0;
}




.table {
    width: 100% !important;
    max-width: 100% !important;
    border-spacing: 0;
    overflow: hidden;
    background: var(--crm-surface);
    border-radius: 4px;
    box-shadow: none;
    border:1px solid #dfe5ed;
}

table.dataTable thead th.sorting:after {
    font-family: Font Awesome\ 5 Pro;
    font-weight: 400;
    margin-left: 10px;
    font-size: 13px;
    color: #c4ccda;
    content: "\f0dc";
}

table.dataTable thead th.sorting_asc:after {
    font-family: Font Awesome\ 5 Pro;
    font-weight: 400;
    margin-left: 10px;
    font-size: 13px;
    content: "\f106";
    color: var(--crm-primary);
}

table.dataTable thead th.sorting_desc:after {
    font-family: Font Awesome\ 5 Pro;
    font-weight: 400;
    margin-left: 10px;
    font-size: 13px;
    content: "\f107";
    color: var(--crm-primary);
}

.dataTables_paginate .paginate_button:hover {
    cursor: hand;
    color: var(--crm-primary);
    background: #f1f1ff;
    border-color: #dadaff;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover,
.dataTables_paginate .paginate_button.current:active,
.dataTables_paginate .paginate_button.current:focus {
    color: #fff;
    background: var(--crm-primary);
    border-color: var(--crm-primary);
    box-shadow: 0 4px 10px rgba(91, 92, 240, .2);
}

.dataTables_paginate .paginate_button.disabled {
    cursor: default;
    opacity: .45;
}

.dt-buttons {
    display: flex;
    gap: 7px;
}



table.dataTable tr.child ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    padding: 14px 18px;
    border-bottom-color: #edf0f5;
    font-size: 14px;
}



.dataTables_wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    gap:30px;
}



.table > thead > tr > th {
    border-bottom-width: 1px;
    text-align: left;
    padding: 13px 16px;
    color: #697589;
    background: #FFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.table > tfoot > tr > th {
    text-align: left;
    border-top: 1px dashed #eff2f5;
    border-bottom-width: 0px;
    padding: 13px 16px;
    color: #697589;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.table > tbody > tr > td {
    vertical-align: middle;
    padding: 13px 16px;
    color: #566276;
    border-top: 1px solid #edf1f5;
}

.table > tbody > tr:hover {
    background: #fafcff;
}

.table > tbody > tr > td:last-child {
    text-align: right;
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_info {    display: block;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    width: 100%;
    min-height: 43px;
    padding: 15px 20px;
    color: #57647c;
    background: #FFF;
    border: 1px solid #e5ebf3;
    border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: center;
     text-align: center;
    font-size: 13px;
    gap: 4px;
}

.dataTables_paginate .paginate_button {
    text-align: center;
    cursor: pointer;
    border-color: var(--crm-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    color: #768297;
    background: #fff;
    border: 1px solid #e7ebf2;
    font-size: 13px;
    transition: all .18s ease;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 4px;
}

.dataTables_paginate .paginate_button + .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    color: #768297;
    background: #fff;
    border: 1px solid #e7ebf2;
    font-size: 13px;
    transition: all .18s ease;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 4px;
}

@media screen and (max-width: 768px) {
.xs-mb-30 {
    margin-bottom: 30px;
}



.widget {
    margin-bottom: 34px !important;
}

.title .left h1,
.widget .title h1 {
    font-size: 19px !important;
}

.card {
    min-height: 125px;
    padding: 22px !important;
}



.sidebar {
    top: 0;
    left: -276px;
    width: 276px;
}

.sidebar.open {
    left: 0;
}

.content {
    padding: 87px 15px 30px;
}

.loader {
    top: 64px;
    left: 0;
}

.dashboard-hero {
    display: block;
    padding: 22px 19px;
}



.hero-actions {
    flex-wrap: wrap;
    margin-top: 16px;
}

.quick-action {
    flex: 1;
    justify-content: center;
    min-width: 95px;
}

.dashboard-stats {
    gap: 11px;
}

.stat-card {
    min-height: 120px;
    padding: 15px;
}



.dashboard-grid {
    gap: 15px;
    margin-bottom: 15px;
}

.panel-heading {
    padding: 15px;
}

.transaction-item {
    padding: 12px 15px;
}

.report-strip {
    grid-template-columns: 1fr;
}

.report-strip div {
    border-right: 0;
    border-bottom: 1px solid #f0f2f6;
}

.report-strip div:last-child {
    border-bottom: 0;
}

.title {
    display: block;
    text-align: left;
}

.title .right {
    justify-content: flex-start;
    margin-top: 16px;
}



.dataTables_filter label {
    width: 100%;
}

.dataTables_wrapper .dataTables_info {
    float: none;
    justify-content: center;
    padding: 14px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate {
    float: none;
    justify-content: center;
    padding: 14px;
    text-align: center;
    border-top: 1px solid #edf0f5;
}

.dataTables_filter input {
    width: 100%;
}

.table > thead > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th {
    white-space: nowrap;
    font-size: 14px;
    padding: 12px 13px;
}
}




.login {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #1d2435 0%, #1d2435 38%, transparent 100%);
    gap:50px;
    min-height: 100vh;
    overflow: hidden;
}



 .login::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .4;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, .9), transparent 78%);
}

 .login-left {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    color: #FFFFFF;
    max-width: 620px;
    z-index: 2;
}

 .login-left span {
    display: inline-block;
    padding:5px 20px;border-radius: 999px;
    color: #FFF;
    background: #086ad8;
    font-weight: bold;
    letter-spacing: -.5px;

}

.login-left h1 {
    max-width: 540px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
}

.login-left p {
    max-width: 485px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .78);
}

.login-left ul {
    display: grid;
    max-width: 510px;
    gap: 15px;
}

.login-left ul li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .78);
}

.login-left ul li i {
    color: #2ecc71;
    font-size: 20px;
}


.login-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap:15px;
    width: 100%;
    max-width: 445px;
    padding: 40px;
    border-radius:4px;
    background: #fff;
    z-index: 2;
}


.login-right h2 {
    color: #1d2435;
    font-size: 27px;
}

.login-right p {
    color: #7c879a;
    margin-bottom: 15px;
}


.login .btn-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

.login-right small {
    margin-top: 10px;
    color: #9aa5b4;
    font-size: 13px;
    text-align: center;
}

.pos-heading-meta {
    display: flex;
    gap: 8px;
}

.pos-heading-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    color: #68758a;
    border: 1px solid #e5eaf1;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
}

.pos-heading-meta i {
    color: #086ad8;
}

.pos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    position: fixed;
    top:74px;
    left:276px;
    right:0;
    bottom:0;
}

.pos-catalog-panel {
    border-right: 1px solid #e7ebf1;
    padding: 30px;
}




.pos-search {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 30px;
}


.pos-search input {
    height: 42px;
}

.pos-search input:focus,
.pos-field select:focus,
.pos-discount input:focus {
    border-color: #086ad8;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(8, 106, 216, .09);
}

.pos-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pos-filter {
    min-height: 34px;
    border: 1px solid #e1e6ee;
    border-radius: 4px;
    padding: 0 12px;
    color: #69768b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
    transition: all .16s ease;
}

.pos-filter:hover {
    color: #086ad8;
    border-color: #b7d3f2;
    background: #f7fbff;
}

.pos-filter.active {
    color: #fff;
    border-color: #086ad8;
    background: #086ad8;
}

.pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.pos-product-card {
    position: relative;
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e7ebf1;
    border-radius: 4px;
    padding: 14px;
    text-align: left;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.pos-product-card:hover {
    border-color: #b8d6f6;
    box-shadow: 0 9px 20px rgba(8, 106, 216, .08);
    transform: translateY(-2px);
}

.pos-product-icon {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    color: #086ad8;
    border-radius: 4px;
    font-size: 16px;
    background: rgba(8, 106, 216, .08);
}

.pos-product-category {
    margin-bottom: 5px;
    color: #2ecc71;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.pos-product-card strong {
    padding-right: 20px;
    color: #354158;
    font-size: 14px;
    line-height: 1.35;
}

.pos-product-card small {
    margin-top: 5px;
    color: #9ca6b7;
    font-size: 11px;
}

.pos-product-card b {
    margin-top: auto;
    padding-top: 13px;
    color: #086ad8;
    font-size: 15px;
}

.pos-product-add {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    background: #086ad8;
}

.pos-product-empty {
    display: none;
    min-height: 270px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #9aa5b4;
    text-align: center;
}

.pos-product-empty.active {
    display: flex;
}

.pos-product-empty i {
    margin-bottom: 11px;
    color: #b8c1ce;
    font-size: 27px;
}

.pos-product-empty strong {
    color: #68758a;
    font-size: 14px;
}

.pos-product-empty span {
    margin-top: 6px;
    font-size: 13px;
}

.pos-cart-panel {
    padding: 18px;
    background: #fff;
}


.pos-field {
    display: block;
    margin-bottom: 16px;
}

.pos-field > span,
.pos-payment > span {
    display: block;
    margin-bottom: 7px;
    color: #59667b;
    font-size: 12px;
    font-weight: 700;
}

.pos-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #dfe5ed;
    border-radius: 4px;
    padding: 0 10px;
    color: #526077;
    font-family: inherit;
    font-size: 14px;
    background: #fbfcfe;
}

.pos-cart-list {
    max-height: 290px;
    overflow-y: auto;
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.pos-cart-empty {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    color: #a2adbc;
    text-align: center;
}

.pos-cart-empty i {
    margin-bottom: 12px;
    color: #c2cbd7;
    font-size: 26px;
}

.pos-cart-empty strong {
    color: #758196;
    font-size: 14px;
}

.pos-cart-empty span {
    max-width: 230px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.55;
}

.pos-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 13px 25px 13px 0;
    border-bottom: 1px solid #edf0f5;
}

.pos-cart-item:last-child {
    border-bottom: 0;
}

.pos-cart-item-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.pos-cart-item-copy strong {
    overflow: hidden;
    color: #3a465a;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-cart-item-copy small {
    margin-top: 3px;
    color: #a1aaba;
    font-size: 10px;
}

.pos-cart-item-price {
    color: #086ad8;
    font-size: 12px;
    font-weight: 700;
}

.pos-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pos-quantity button {
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e6ee;
    border-radius: 4px;
    color: #738095;
    font-size: 9px;
    background: #fff;
    cursor: pointer;
}

.pos-quantity button:hover {
    color: #086ad8;
    border-color: #b9d6f4;
}

.pos-quantity span {
    min-width: 17px;
    color: #515e73;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.pos-cart-remove {
    position: absolute;
    top: 50%;
    right: 0;
    border: 0;
    color: #bdc5d0;
    font-size: 11px;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.pos-cart-remove:hover {
    color: #ef5b66;
}

.pos-summary {
    display: grid;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f5;
}

.pos-summary div,
.pos-summary label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #778397;
    font-size: 13px;
}

.pos-summary strong {
    color: #47546a;
    font-size: 13px;
}

.pos-discount {
    display: flex;
    align-items: center;
    border: 1px solid #e0e5ed;
    border-radius: 4px;
    overflow: hidden;
}

.pos-discount input {
    width: 45px;
    height: 28px;
    border: 0;
    padding: 0 5px;
    color: #556278;
    font-family: inherit;
    font-size: 12px;
    text-align: right;
}

.pos-discount b {
    display: flex;
    height: 28px;
    align-items: center;
    padding: 0 7px;
    color: #8e99aa;
    font-size: 11px;
    background: #f5f7fa;
}

.pos-summary .pos-total {
    margin-top: 3px;
    padding-top: 12px;
    border-top: 1px dashed #dfe4ec;
}

.pos-summary .pos-total span {
    color: #354158;
    font-weight: 700;
}

.pos-summary .pos-total strong {
    color: #086ad8;
    font-size: 21px;
}

.pos-payment {
    padding: 15px 0 2px;
}

.pos-payment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.pos-payment-option {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 7px;
    border: 1px solid #e2e7ee;
    border-radius: 4px;
    padding: 0 9px;
    color: #748095;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    background: #fff;
    cursor: pointer;
    transition: all .16s ease;
}

.pos-payment-option i {
    color: #a0aaba;
    font-size: 13px;
}

.pos-payment-option:hover {
    border-color: #b7d4f3;
    background: #f8fbff;
}

.pos-payment-option.active {
    color: #086ad8;
    border-color: #086ad8;
    background: rgba(8, 106, 216, .06);
}

.pos-payment-option.active i {
    color: #086ad8;
}

.pos-complete-sale {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    border: 0;
    border-radius: 4px;
    padding: 0 15px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    background: #2ecc71;
    box-shadow: 0 8px 17px rgba(46, 204, 113, .2);
    cursor: pointer;
    transition: all .16s ease;
}

.pos-complete-sale:hover {
    background: #27ae60;
    transform: translateY(-1px);
}

.pos-complete-sale:disabled {
    color: #aab4c2;
    background: #edf0f4;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.pos-notice {
    display: none;
    margin-top: 11px;
    border-radius: 4px;
    padding: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.pos-notice.active {
    display: block;
}

.pos-notice.info {
    color: #086ad8;
    background: rgba(8, 106, 216, .08);
}

.pos-notice.warning {
    color: #a36c00;
    background: rgba(245, 165, 36, .13);
}

.pos-notice.success {
    color: #188b4a;
    background: rgba(46, 204, 113, .12);
}

@media screen and (max-width: 1180px) {
    .pos-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
    }

    .pos-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    }
}

@media screen and (max-width: 980px) {
    .pos-layout {
        display: block;
    }

    .pos-cart-panel {
        position: static;
        margin-top: 16px;
    }
}

@media screen and (max-width: 600px) {
    .pos-heading,
    .pos-catalog-head {
        display: block;
    }

    .pos-heading-meta {
        margin-top: 13px;
    }

    .pos-heading-meta span {
        flex: 1;
        justify-content: center;
    }

    .pos-search {
        max-width: none;
        margin-top: 13px;
    }

    .pos-catalog-panel,
    .pos-cart-panel {
        padding: 14px;
    }

    .pos-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .pos-product-card {
        min-height: 178px;
        padding: 12px;
    }
}

