#datatable_length select {
    padding-right: 25px;  
    min-width: 80px;     
}
input, textarea {caret-color: black !important;}
.has-error .control-label,
.has-error .help-block,
.has-error .form-control {
    color: #d12724ff;           

}
.ui-datepicker-trigger {
    display: none !important;
}
.ui-datepicker {
    z-index: 2000 !important;  
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2) !important;
    opacity: 1 !important;
    color: #333 !important;
     max-width: 90vw !important; /* responsive on small screens */
    width: auto !important;     
    padding: 10px !important;
    box-sizing: border-box;         
}

.ui-datepicker-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 8px !important;
    background: #179F5D !important;
    color: white !important;
    border-bottom: none !important;
    border-radius: 8px !important;

}



.ui-datepicker-title {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    user-select: none;
}

.ui-datepicker-prev, .ui-datepicker-next {
    color: white !important;
    font-size: 18px !important;
    padding: 5px 12px !important;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;  
}

.ui-datepicker-prev {
    margin-right: 15px !important;
}
.ui-datepicker-next {
    margin-left: 15px !important;
}

.ui-datepicker-calendar {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 10px !important;
}


.ui-datepicker th, .ui-datepicker td {
    text-align: center !important;
    width: 14.28% !important;  
    padding: 6px 2px !important;
    box-sizing: border-box;
}


.ui-datepicker td a {
    display: block;
    color: #179F5D !important;
    background: transparent !important;
    padding: 4px 0;
    border-radius: 4px;
    text-decoration: none;
}

.ui-datepicker td a:hover {
  background: #3A3541  !important;
  color: white !important;
}
.modal-body,
.modal-content {
    overflow: visible !important;
}

.navbar-brand-box {align-self: center;text-align: center;}
.dtr-details li {display: flex; display: grid; display: -ms-grid; display: -moz-grid;}
.dtr-details .dtr-title { margin-right: 15px;}
/* checkbox input */
.dtr-data input[switch]{position: absolute;display: block; opacity: 0; left: 20px; z-index: 1;  width: 100%; height: 100%;}
.dtr-data{position: relative;}
/* css-common */
.error { color: red; }
body[data-layout-mode=dark] .form-check-input:checked { background-color: #5156be; border-color: #5156be;}
.form-check-input:checked { background-color: #5156be; border-color: #5156be; }
/* new design css code */
* { margin: 0 0; padding: 0; outline: none; -ms-word-break: break-word; word-break: break-word; word-wrap: break-word;  }
html {scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; font-weight: normal !important; font-style: normal !important; overflow-x: hidden; padding: 0px !important; }
body.sidebar-enable { overflow: hidden; }
button, input, optgroup, select, textarea { font-family: "Inter", sans-serif !important; }
img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.btn { border-radius: 8px; box-shadow: none !important; background: transparent !important; border: 1px solid transparent !important; font-weight: 700; font-size: 14px; line-height: 16px; color: #FFFFFF; padding: 14px; }
/* scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px;}
::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); -webkit-border-radius: 10px; border-radius: 10px;}
::-webkit-scrollbar-thumb {-webkit-border-radius: 10px; border-radius: 10px; background: rgba(46, 86, 192, 0.6); -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);}
::-webkit-scrollbar-thumb:window-inactive { background: rgba(255, 255, 255, 0.3);}
input:-webkit-autofill, input:-webkit-autofill:hover,  input:-webkit-autofill:focus,
textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus,
select:-webkit-autofill, select:-webkit-autofill:hover,
select:-webkit-autofill:focus { border: 1px solid #DDE2E8; -webkit-text-fill-color: #3A3541; -webkit-box-shadow: 0 0 0px 1000px rgba(243, 243, 243, 1) inset; transition: background-color 5000s ease-in-out 0s;}
input, textarea { caret-color: white;}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0;}
input[type=number] {-moz-appearance: textfield;}
.help-block { font-size: 12px; }
/* auth pages */
.auth_page { background:#010604 url(../images/authbg.png) no-repeat; background-position: center; background-size: cover; width: 100%; min-height: 100vh; padding: 65px 15px; }
.auth_page .sitelogo { max-width: 357px; height: 79px; width: 100%; margin: 0px auto 122px; }
.auth_form_block { box-shadow: 0px 0px 4px 0px #00000026; background: #fff url(../images/logoicon.png) no-repeat; max-width: 730px; width: 100%; min-height: 515px; border-radius: 30px; padding: 20px; display: flex; align-items: center; justify-content: center; margin: 0px auto; background-position: left center; background-size: contain; }   
.auth_form_block .afb_block { max-width: 330px; width: 100%; margin: 0px auto; }
.auth_form_block .afb_title { font-weight: 700; font-size: 26px; line-height: 31px; color: #000000; text-align: center; margin-bottom: 24px; }
.forgot_page .auth_form_block .afb_title { margin-bottom: 10px; }
.auth_form_block .afb_text { font-size: 14px; line-height: 17px; color: #89868D; margin-bottom: 25px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group .form-label { font-size: 14px; line-height: 17px; color: #3A3541; margin-bottom: 3px; font-weight: 400; }
.form-group .form-control { background-color: #F9F8F9; border: 1px solid #DDE2E8; border-radius: 8px; box-shadow: none !important; font-size: 14px; line-height: 16px; padding: 14px; color: #3A3541; }
.input-group .eye_btn { color: #727272 !important; border: 1px solid #DDE2E8 !important; border-radius: 8px; background: #F9F8F9 !important; border-left: 0px !important; padding: 10px; z-index: auto; }
.input-group:focus-within { outline: 1px solid #179F5D !important; border-radius: 8px; }
.input-group:focus-within .form-control { border-color: transparent !important; }
.form-group .form-control::placeholder { color: #727272; }
.form-control:focus {border-color: #179F5D !important; }
.form-group.has-error .form-control, .form-group.has-error .form-control:focus { border-color: red; } 
.invalid-feedback { font-size: 12px; }
.form-group.has-error .input-group .eye_btn { border-color: red !important; } 
.text_link { width: 100%; display: block; padding-bottom: 25px; font-size: 14px; line-height: 17px; }
.text_link a { color: #179F5D !important; }
.text_link a:hover { text-decoration: underline !important; }
.common_btn { background: #179F5D !important; width: 100%; }
.common_btn:hover { border-color: #179F5D !important; background: transparent !important; color: #179F5D !important;  }
.primary_btn{background: #0d6efd !important; width: 10%; }
.primary_btn:hover { border-color: #0d6efd !important; background: transparent !important; color: #0d6efd !important;  }
.goother_page { font-size: 14px; line-height: 17px; text-align: center; color: #179F5D; text-align: center; }
.goother_page a { color: #179F5D !important; }
.goother_page a:hover { text-decoration: underline !important; }
.forgot_page .btnrow { display: block; padding: 10px 0px 30px; }
.checkemail_page .auth_form_block .afb_title { margin-bottom: 10px; }
.checkemail_page .auth_form_block .afb_text { margin-bottom: 18px; }
.checkemail_page .auth_form_block .afb_block { max-width: 470px; }
.auth_page .common_btn { max-width: 330px; margin: 0px auto; display: block; }
.otp-inputs { display: flex; justify-content: center; gap: 10px; }
.otp-inputs input { width: 50px; height: 50px; text-align: center; }
.checkemail_page .text_link a { color: #179F5D !important; font-weight: 600; }
/*  */
.vertical-menu { top: 0 !important; background: #FFFFFF; border: none !important; width: 270px; bottom: auto !important; height: 99%; }
.main-content { background: #F4F5F9 url(../images/authbg.png) no-repeat; background-position: center; background-size: cover; padding: 24px; margin-left: 270px !important; min-height: 100vh;}
.footer { display: none !important; }
.page-content { padding: 0px !important; min-height: 95vh;}
/* side nav bar */
.vertical-menu .site_logo { max-width: 90%; margin: 0px auto; height: 110px; padding: 25px 0px; }
.sidemenu_block { height: calc(100% - 110px); }
.vertical-menu .site_logo a {  height: 100% !important; }
.vertical-menu .site_logo img { height: 100% !important; }
.simplebar-content { height: 100% !important; }
.metismenu li { margin-bottom: 2px; padding: 1px 16px; position: relative; border-left: 2px solid transparent; } 
.metismenu li:last-child { margin-bottom: 0px !important; }
#sidebar-menu { height: 100% !important; padding: 0px; }
#sidebar-menu .metismenu { height: 100% !important; display: flex; flex-direction: column; }
#sidebar-menu ul li.account_item { margin-top: auto; }
#sidebar-menu ul li a { font-weight: 400; font-size: 14px; line-height: 16px; color: #3A3541; padding: 10px 8px; border-radius: 8px; }
#sidebar-menu ul li a img { width: 20px; height: 20px; margin-right: 7px; vertical-align: text-top; }
#sidebar-menu ul li a img + img { display: none; }
#sidebar-menu ul li a.active, #sidebar-menu ul li a:hover { color: #179F5D !important; background: linear-gradient(90deg, #D4FFEA 0%, #FFFFFF 100%); }
#sidebar-menu ul li a.active img , #sidebar-menu ul li a:hover img { display: none; }
#sidebar-menu ul li a.active img + img, #sidebar-menu ul li a:hover img + img { display: inline-block; }
#sidebar-menu ul li ul.sub-menu li { margin-bottom: 0px !important; }
#sidebar-menu ul li ul.sub-menu li a { padding: 5px 16px; display: flex; align-items: center; color: #3A3541; font-size: 14px; }
#sidebar-menu ul li ul.sub-menu li a img { width: 20px; height: 12px;  }
.mm-active > a { color: #179F5D !important; }
#sidebar-menu .has-arrow::after { font-size: 20px; display: block !important; }
#sidebar-menu .metismenu li.mm-active { border-left: 2px solid #179F5D; }
#sidebar-menu .metismenu li.mm-active a img { display: none; }
#sidebar-menu .metismenu li.mm-active a img + img { display: inline-block; }
/*  */
.page-title-box h4 { font-weight: 700; font-size: 26px; line-height: 31px; color: #3A3541; margin-bottom: 0px; }
.page_content_body { background: #FFFFFF; width: 100%; min-height: 700px; border-radius: 8px; }
/* account setting page */
.form_page_content_body { padding: 30px 15px; }
.common_from_block { max-width: 700px; width: 100%; margin: 0px auto; }
.common_from_block .common_btn { max-width: 170px; display: block; margin: 10px auto; }
.common_from_block .form-group .form-control { background-color: #FDFDFD; border: 1px solid #E5E5E5; }
.common_from_block .form-group .eye_btn {background: #FDFDFD !important; border-color:  #E5E5E5 !important; }
.change_password_block { width: 100%; padding-top: 85px; }
.cfb_title { font-weight: 700; font-size: 14px; color: #3A3541; margin-bottom: 20px; }
/* password icon */
.password_show_hide { border: none; background: transparent; box-shadow: none !important; font-size: 20px; color: #86848D; }
.password_show_hide img { width: 16px; height: 16px; }
.password_show_hide img + img { display: none; }
input[type="input"] + .password_show_hide img { display: none; }
input[type="input"] + .password_show_hide img + img { display: inline-block; }
/*  */
.image_preview { width: 80px; height: 80px; margin-top: 10px; border: 1px solid #E5E5E5; background: #FDFDFD; border-radius: 8px; }
/* table css */
.table > thead { background: #3A3541; }
.table > thead th { font-weight: 500; font-size: 14px; line-height: 16px; color: #FFFFFF; padding: 13px; }
.table > tbody td { font-size: 12px; line-height: 15px; color: #6F757E; vertical-align: middle; padding: 8px 12px; border-bottom: 1px solid #E8E8E8; height: 50px; }
.table > tbody td a { color: #6F757E !important; text-decoration: underline !important;  }
.table_action_btn { width: 100%; display: flex; align-items: center; }
.table_action_btn a { background: linear-gradient(180deg, #44D08C 0%, #179F5D 100%); box-shadow: 0px 2px 4px 0px #BDBDBD; border-radius: 4px; padding: 1px; width: 24px; height: 24px; margin-left: 10px; }
.table_action_btn .btn { background: #179F5D !important; border-radius: 4px; padding: 2px !important; width: 100%; height: 100%; }
.table_action_btn .btn img { vertical-align: top; }
#datatable_wrapper .dataTables_length,
#datatable_wrapper .dataTables_filter { display: none; }
#datatable_length label {  font-size: 0; margin-bottom: 0px; }
#datatable_length label select { width: 60px; font-size: 14px; background: #3A3541; border: none !important;  background: url(../images/downarrowfill.svg) no-repeat; background-size: 10px; background-position:right center; margin: 0px !important; padding: 0px 10px; }
/* toggle button switch */
.switch_button {  box-shadow: 0px 2px 4px 0px #BDBDBD; border-radius: 40px; width: fit-content;  padding: 1px; height: 26px; }
input[switch]:checked + label {  background: #179F5D !important;  }
input[switch] + label { margin-bottom: 0px !important; background: #fff !important; width: 46px; }
.switch_button:has(input[switch] + label) { background: linear-gradient(180deg, #848484 0%, #414141 100%)red; }
.switch_button:has(input[switch]:checked + label) { background: linear-gradient(180deg, #44D08C 0%, #179F5D 100%); }
input[switch]:checked + label::after { background: url(../images/checked.png) no-repeat; background-size: cover; background-position: center; }
input[switch] + label::after { background: url(../images/cancel.png) no-repeat; background-size: cover; background-position: center; }
input[switch] + label::before { display: none; }
input[switch]:checked + label::after { left: 23px;}
/*  */
.table_elements_block { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px; }
.blackbg_btn { background: #3A3541 !important; }
.blackbg_btn:hover { color: #3A3541 !important; border-color: #3A3541 !important; background: transparent !important;  }
.table_elements_block .btn { max-width: 170px; margin-left: 10px; }
.teb_right_block { width: 100%; flex: 1; margin-left: auto; display: flex; align-items: center; justify-content: flex-end;  }
.teb_right_block .search_btn { min-width: 24px; height: 24px; background: transparent; box-shadow: none !important; border: none !important; padding: 0px; display: block; margin-left: 10px; }
.datatable-custom-search {  display: none; }
.datatable-custom-search .form-control { background-color: #FDFDFD; border: 1px solid #E5E5E5; border-radius: 8px; box-shadow: none !important; font-size: 14px; line-height: 20px; padding: 12px; color: #3A3541; }
.table > tbody tr:nth-child(odd) {background: #F4FFFA;}
.table > tbody tr:nth-child(even) {background: #FFF;}
div.dataTables_wrapper div.dataTables_paginate { padding: 10px;}
.pagination .page-item .page-link { font-size: 14px; color: #6F757E; box-shadow: none !important; border: 1px solid #E8E8E8; }
.pagination .page-item.active .page-link { background: #179F5D !important;  border-color: #179F5D !important; color: #fff; }
.page-item.disabled .page-link { opacity: 0.5; }
.table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before { background-color: #179F5D;}
.assign_btn { width: auto !important; }
.assign_btn .btn { font-size: 12px; font-weight: 400; color: #fff !important; padding: 0px 8px !important; }

/* modal */
.common_modal { background: rgba(0, 0, 0, 0.25); }
.common_modal .mtitle { font-weight: 700; font-size: 26px; line-height: 31px; text-align: center; color: #3A3541; margin-bottom: 25px; }
.common_modal .modal-dialog { max-width: 500px; }
.newwidth_common_modal .modal-dialog { max-width: 796px !important; }
.modal-content { background: #fff url(../images/logoicon.png) no-repeat; background-position: left center; background-size: contain; border: none !important; border-radius: 10px; }
.modal-header { border: none !important; }
.modal-header .btn-close { color: #3A3541 !important; }
.common_modal .user_info_block { padding: 0px 90px 35px; }
.common_modal .user_info_block p { font-weight: 700; font-size: 12px; line-height: 20px; color: #3A3541; margin-bottom: 10px; display: flex; }
.common_modal .user_info_block p span { font-weight: 700; width: 78px; }
.common_modal .user_info_block p span + span { font-weight: 400; width: 100%; flex: 1; padding-left: 20px; }
.company_modal .user_info_block p span { width: 132px;}
.machine_modal .user_info_block p span { width: 132px;}
.machine_modal.common_modal .user_info_block { padding: 0px 45px 35px;}
.inspection_modal .user_info_block { width: 100%; display: flex; flex-wrap: wrap; padding: 0px 25px 30px; }
.inspection_modal .user_info_block p { width: 50%; padding: 0px 10px; }
.inspection_modal.common_modal .user_info_block p span { width: 110px; }
.assing_carton_modal .common_from_block { padding: 0px 50px; }

.delete_btn { background: linear-gradient(180deg, #44D08C 0%, #179F5D 100%); width: 24px; height: 24px; margin-left: 10px; background: #179F5D !important; border-radius: 4px; padding: 2px !important;}
.delete_btn img { vertical-align: top;}

/*  */
.page_back { font-weight: 700; font-size: 14px; line-height: 17px; display: flex; align-items: center; text-align: right; color: #3A3541 !important; }
.page_back img { width: 10px; height: 10px; margin-right: 5px; }
.page_back:hover { text-decoration: underline !important; }
/*  */
.custom_radio_btn { width: 100%; display: flex; flex-wrap: wrap; align-items: center;  }
.crb_box { margin-right: 50px; padding: 13px 0px; }
[type="radio"]:checked, 
[type="radio"]:not(:checked) { position: absolute; left: -9999px;}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label { position: relative; padding-left: 28px; cursor: pointer; line-height: 20px; display: inline-block; color: #3A3541; font-size: 14px; margin-bottom: 0px; }
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before { content: '';  position: absolute; left: 0; top: 0; width: 20px; height: 20px; border: 1px solid #E5E5E5; border-radius: 100%; background: #fff;}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after { content: ''; width: 14px; height: 14px; background: #179F5D; position: absolute; top: 3px; left: 3px; border-radius: 100%; -webkit-transition: all 0.2s ease; transition: all 0.2s ease;}
[type="radio"]:not(:checked) + label:after { opacity: 0; -webkit-transform: scale(0); transform: scale(0);}
[type="radio"]:checked + label:after { opacity: 1; -webkit-transform: scale(1); transform: scale(1);}
/*  */
.checkbox_custom { width: 100%; display: flex; margin-bottom: 20px; flex-wrap: wrap; }
.checkbox { position: relative; padding-left: 27px; cursor: pointer;font-size: 14px; line-height: 24px;  -webkit-user-select: none; color: #3A3541 !important;  -moz-user-select: none;-ms-user-select: none;user-select: none; margin-bottom: 0; margin-left: 0px; }
.checkbox input { position: absolute; opacity: 0;cursor: pointer;height: 0; width: 0;}
.checkmark { position: absolute; top: 2px; left: 0; height: 20px; width: 20px; background: #FDFDFD; border: 1px solid #E5E5E5; border-radius: 0px; }
.checkmark::after { display: none;content: "";position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid #179F5D; border-width: 0 2px 2px 0;-webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
input:checked ~ .checkmark::after { display: block;}
.check_block { width: 33.33%; margin-bottom: 20px; padding-right: 20px; }
/*  */
.table > tbody td .rtime { width: fit-content; font-size: 12px; line-height: 15px; color: #6F757E; display: block; padding: 5px; border-radius: 4px; background: #D5FFEB;}
.table > tbody td .rtime.not_received { background: #FFD9D9; }
.table > tbody td .checkmark { position: relative; padding-left: 0px; margin: 0px; display: block; }
/*  */
.if_contnet_block { width: 100%; display: block; padding: 0px 38px 25px; }
.if_contnet_block .sub_title { font-size: 12px; line-height: 20px; font-weight: 700; color: #3A3541; margin-bottom: 0px; }
.if_contnet_block .sub_title span { color: red; }
.if_contnet_block ul { margin-bottom: 0px; padding-left: 18px; }
.if_contnet_block ul li { font-size: 12px; line-height: 20px; color: #3A3541; margin-bottom: 0px; }
.upload_file_block { width: 100%; padding: 0px 0px 30px; }
.upload_file_block .file-upload-wrapper { display: flex; align-items: center; justify-content: center; }
.upload_file_block .file-upload-wrapper .required { color: red; margin-right: 2px; }
.upload_file_block .file-upload-wrapper label { margin-bottom: 0px; font-weight: 400; font-size: 14px; color: #3A3541; margin-right: 6px; }
.upload_file_block .select-btn { background-color: #3A3541; color: white; border: none; padding: 8px 20px; border-radius: 5px; font-weight: 500; font-size: 12px; }
.upload_file_block .select-btn:hover { background-color: #26212e; /* darker on hover */}
.modalbtnblock { text-align: center; padding-bottom: 10px; }
.modalbtnblock .common_btn { max-width: 170px; width: 100%; display: block; margin: 0px auto 15px; }
.cancelBtn { font-size: 14px; color: #3A3541; margin: 10px; }
.cancelBtn:hover { color: #179F5D !important; text-decoration: underline !important;}
.template-link { color: #3A3541; font-size: 14px; margin-top: 15px; }
.template-link:hover { color: #179F5D !important; text-decoration: underline !important; }
/*  */
.common_modal h2 { width: 100%; text-align: center; border-bottom: 1px dashed #C4C3C3; font-size: 14px; color: #3A3541; font-weight: 400; line-height: 0.1em; margin: 10px 0 30px; } 
.common_modal h2 span { background:#fff; padding:0 10px; }
/*  */
.report_card { width: 100%; display: block; background: #fff; padding: 16px; border-radius: 8px; margin: 0px auto 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.report_card .rc_icon { width: 120px; height: 120px; margin-bottom: 10px; margin: 0px auto 12px; transition: transform 0.3s ease; }
.report_card .rc_title { font-weight: 700; font-size: 20px; line-height: 28px; text-align: center; color: #3A3541; }
.report_card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);}
.report_card:hover .rc_icon { transform: scale(1.1); }
/*  */
.report_balance_sheet_page table th, .report_balance_sheet_page table td { text-align: center; }
table td .id_block { display: flex; align-items: center; justify-content: center; margin-bottom: 0px; }
table td .id_block span { padding: 0px 10px; }
.qty_ok_ng { width: 100px; }
.report_balance_sheet_page .table > thead th { padding: 8px 12px;}
.stock-header { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; }
.stock-header .sh_block { width: fit-content; padding: 10px 18px; }
.stock-header .sh_block  p { font-size: 14px; color: #3A3541; }
.stock-header .sh_block  h6 { font-size: 16px; color: #179F5D; margin-bottom: 2px; }
.filter_block { display: flex; align-items: center; justify-content: space-between; }
.filter_block span { font-size: 12px; color: #3A3541; margin-right: 10px; }
.filter_block input { border: 1px solid #C4C4C4; background: #FFFFFF; border-radius: 30px; font-size: 12px; line-height: 15px; color: #3A3541; padding: 8px 10px; box-shadow: none !important; } 
.filter_block input.part_input { width: 124px; }
.filter_block input.date_to_date_input { width: 250px; margin-left: 16px; }
/* tabs */
.nav-tabs { border: 1px solid #C4C4C4; border-radius: 50px; display: inline-flex; margin-left: auto; margin-bottom: 10px; }
.nav-tabs .nav-link { font-weight: 700; font-size: 12px; line-height: 15px; text-align: center; color: #3A3541; border: none !important; padding: 8px 15px; }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { background: #179F5D; color: #fff; }
.nav-tabs .nav-item:first-child .nav-link { border-radius: 50px 0px 0px 50px; }
.nav-tabs .nav-item:last-child .nav-link { border-radius: 0px 50px 50px 0px; }
/*  */
.shb_filter { width: 100%; display: flex; align-items: center; }
.dropdown_block { display: flex; align-items: center; margin-bottom: 10px; margin-right: 10px; }
.dropdown_block label { margin-bottom: 0px; font-weight: 400; font-size: 14px; line-height: 20px; color: #3A3541; }
.dropdown_block .form-select { border:none; box-shadow: none !important; background-color: transparent !important; border-bottom:1px solid #C5C5C5; border-radius:0; width:120px; color: #3A3541; font-size: 16px; padding: 3px; background-position: right 0rem center; }
/*  */
.report_balance_sheet_page table th { border: none !important; }
.report_balance_sheet_page table tfoot { background: #585162; }
.report_balance_sheet_page table tfoot td { text-align: left; padding: 8px 12px; font-weight: 500; font-size: 14px; line-height: 20px; color: #fff; }
.report_balance_sheet_page table tfoot td span { display: inline-block; padding: 7px 12px; margin-right: 10px; }
table tfoot tr.tfoot_sub_row td { font-size: 12px; font-weight: 400; color: #333333; text-align: center; }
table tfoot tr.tfoot_total_row { background: #3A3541; }
table tfoot tr.tfoot_total_row td { text-align: center; color: #fff; font-size: 12px; font-weight: 600; }
.june_page table td { text-align: center; }
.june_page table th { text-align: center; border: none !important; }
 
.daily_output_graph_view_section { width: 100%; display: flex; align-items: center; padding: 18px; }
.daily_graph_block { box-shadow: 0px 2px 6px 0px #0D0A2C14; background: #FFFFFF; width: 100%; max-width: 1044px; height: 567px; border-radius: 20px; padding: 32px; margin-right: 20px; }
.daily_graph_block .dgb_title { font-weight: 700; font-size: 22px; line-height: 28px; color: #3A3541; border-bottom: 1px solid #E5E5EF; text-align: left; margin-bottom: 0px; padding-bottom: 32px; }

.dogv_list_block { box-shadow: 0px 2px 6px 0px #0D0A2C14; background: #fff; max-width: 400px; width: 100%; border-radius: 20px; margin-left: auto; }
.dogv_list_block p { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #C5C5C5; margin-bottom: 0px; }
.dogv_list_block p:last-child { border: none !important; }
.dogv_list_block p span { width: 70%; }
.dogv_list_block p span + span { width: 30%; }

.lotsheet_page table tfoot td { text-align: center; border: none !important; background: #3A3541; height: 50px; }
.lotsheet_page table tfoot tr.footer-text td { font-size: 12px; line-height: 15px; color: #3A3541; background: #fff !important; text-align: left; padding-left: 40px; }
.inventory_report_page table tfoot td { text-align: center; font-size: 12px; font-weight: 400; }

/*  */
.settlement_calculation_block { width: 100%; display: flex; justify-content: flex-end; padding-right: 100px; }
.settlement_calculation_block table tr th { font-weight: 700; font-size: 12px; line-height: 15px; color: #3A3541; padding: 10px 20px; text-align: right; }
.settlement_calculation_block table tr th:first-child { text-align: left; }
.settlement_calculation_block table tr td { font-weight: 400; font-size: 12px; line-height: 20px; color: #3A3541; text-align: right; padding: 1px 20px; }
.settlement_calculation_block table tr td:first-child { text-align: left; }
.inventory_report_page table tfoot tr.footer-text td { font-size: 12px; line-height: 15px; color: #3A3541; background: #fff !important; text-align: center; border: none !important; }
.eddy_current_output_block p { font-weight: 500; font-size: 14px; line-height: 12px; text-align: center; color: #3A3541; margin-bottom: 0px; }   
.eddy_current_output_block p span { display: inline-block; padding: 0px 20px 10px; }
.eddy_current_output_block p span:last-child { padding-right: 0px; }  
/* dashboard */

.dash_top_block { width: 100%; display: block; margin-bottom: 50px; }
.dash_top_block .dash_card { width: 100%; display: flex; align-items: center; border-radius: 8px; background: #FFFFFF; padding: 18px 20px; }
.dash_top_block .dash_card .dash_icon { width: 64px; height: 64px; margin-right: 36px; }
.dash_top_block .dash_card .dashbody { width: 100%; flex: 1; }
.dash_top_block .dash_card .dcount { font-weight: 700; font-size: 32px; line-height: 28px; color: #179F5D; margin-bottom: 5px; }
.dash_top_block .dash_card .dtitle { font-weight: 700; font-size: 20px; line-height: 28px; color: #3A3541; margin-bottom: 0px; }
.dash_top_block .plus_minus_info { display: flex; align-items: center; width: 50%; justify-content: space-evenly; }
.dash_top_block .plus_minus_info p { font-weight: 700; font-size: 24px; line-height: 28px; color: #179F5D; padding: 0px 20px; margin-bottom: 0px; }
.dash_top_block .plus_minus_info p span { font-weight: 600; font-size: 16px; display: block; }
.dash_top_block .plus_minus_info p.minus { color: #FF2121; }

.ecmb_card_outer { width: 100%; display: block; padding-bottom: 50px; }
.ecmb_card_outer .ecmb_title { background: linear-gradient(180deg, #179F5D 3.56%, #083921 100%); font-weight: 700; font-size: 14px; line-height: 16px; text-align: center; color: #FFFFFF; display: inline-block; padding: 8px 35px; transform: skew(-36deg); border-radius: 5px 15px 0px 0px; margin-left: 16px; }
.ecmb_card_outer .ecmb_title span { transform: skew( 36deg); display: block; }
.ecmb_card_inner { width: 100%; /* height: 500px; */ border-radius: 8px; background: #fff; padding: 10px 16px 0px; }
.ecmb_card_inner .status { font-weight: 700; font-size: 14px; line-height: 28px; text-align: center; margin-bottom: 15px; color: #3A3541; }
.ecmb_card_inner .ec_content { width: 100%; padding: 0px 50px 20px; }
.ecmb_card_inner .ecinfo { background: linear-gradient(90deg, #F0F0F0 0.71%, #FFFFFF 100.71%); width: 100%; font-size: 12px; color: #3A3541; padding: 5px 20px; border-radius: 40px; margin-bottom: 6px; display: flex; align-items: center; }
.ecmb_card_inner .ecinfo span { padding: 0px 10px; text-align: center; font-weight: 600; }
.rounded_graph_block {
    box-shadow: 0px 4px 50px 0px #00000014;
    background: #FFFFFF;
    width: 171px;
    height: 171px;
    border-radius: 50%;
    margin: 10px auto;
    
    display: flex;           /* flex container */
    align-items: center;     /* vertical center */
    justify-content: center; /* horizontal center */
    position: relative;
}.graph_info_block { width: 100%; display: block; padding: 35px 0px; }
.graph_info_block p { font-size: 12px; color: #3A3541; margin-bottom: 5px; display: flex; align-items: center; }
.graph_info_block p span { width: 10px; height: 10px; border-radius: 50%; display: block; margin-right: 5px; }
.ecmb_card_inner .common_btn { max-width: 170px; margin: 0px auto -23px;  }
.cke_chrome {background-color: #FDFDFD; border: 1px solid #E5E5E5 !important; box-shadow: none !important;  }
.cke_bottom { display: none !important; }
.form-control.is-invalid, .was-validated .form-control:invalid { background-image: none !important; }
.apexcharts-pie-area.apexcharts-donut-slice-0 { background: linear-gradient(201.76deg, #179F5D 13.18%, #21C475 85.15%); }
.apexcharts-pie-area.apexcharts-donut-slice-1 { background: linear-gradient(149.83deg, #5D179F 39.05%, #A355EE 65.6%); }
.apexcharts-pie-area.apexcharts-donut-slice-2 { background: linear-gradient(149.83deg, #9F1719 39.05%, #EE5557 65.6%); }

.ui-datepicker { border-radius: 8px !important; border: 1px solid #E5E5E5 !important; }

.tfilter_block { max-width: 285px; width: 100%; margin: 0px 10px; }
.tfilter_block .form-group {  display: flex; align-items: center; width: 100%; margin-bottom: 0px; }
.tfilter_block .form-group label { font-size: 12px; line-height: 15px; color: #3A3541; white-space: nowrap; margin-bottom: 0px; margin-right: 10px; }
.tfilter_block .form-group .form-select { background-color: #FFFFFF; max-width: 200px; width: 100%; border-radius: 50px; border: 1px solid #C4C4C4; font-size: 12px; padding: 7px 10px; }

 .modal-dialog-centered {  min-height: auto !important; height: auto !important;  }

/* Preloader */
.ctn-preloader { -webkit-box-align: center;align-items: center;background: #fff; cursor: none;display: -webkit-box;display: flex;height: 100%;-webkit-box-pack: center;justify-content: center;position: fixed;left: 0;top: 0;width: 100%;z-index: 9999;}
.ctn-preloader .animation-preloader {position: absolute;z-index: 100;}
/* Spinner loading */
.ctn-preloader .animation-preloader .spinner {-webkit-animation: spinner 1s infinite linear; animation: spinner 1s infinite linear;border-radius: 50%;border: 3px solid rgba(0, 0, 0, 0.2);border-top-color: #fff;height: 9em;margin: 0 auto 30px auto;width: 9em;display: flex; align-items: center; justify-content: center;}
.ctn-preloader .animation-preloader .spinner img { -webkit-animation: imgspinner 1s infinite linear;animation: imgspinner 1s infinite linear; }
/* Loader section Settings */
.ctn-preloader .loader-section {background-color: #000; height: 100%;position: fixed;top: 0;width: calc(50% + 1px);}
.ctn-preloader .loader-section.section-left {left: 0;}
.ctn-preloader .loader-section.section-right {right: 0;}
/* Fade effect in loading animation */
.loaded .animation-preloader {opacity: 0;-webkit-transition: 0.4s ease-out;transition: 0.4s ease-out;}
/* Curtain effect */
.loaded .loader-section.section-left {-webkit-transform: translateX(-101%);transform: translateX(-101%);-webkit-transition: 3.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 2.000);transition: 3.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 2.000);}
.loaded .loader-section.section-right {-webkit-transform: translateX(101%);transform: translateX(101%);-webkit-transition: 3.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 2.000);transition: 3.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 2.000);}
/* Preloader Animation */
@-webkit-keyframes spinner {
to {-webkit-transform: rotateZ(360deg);transform: rotateZ(360deg);}
}
@keyframes spinner {
to {-webkit-transform: rotateZ(360deg);transform: rotateZ(360deg);}
}
@-webkit-keyframes imgspinner {
to {-webkit-transform: rotateZ(-360deg);transform: rotateZ(-360deg);}
}
@keyframes imgspinner {
to {-webkit-transform: rotateZ(-360deg);transform: rotateZ(-360deg);}
}
@media screen and (max-width: 767px) {
.ctn-preloader .animation-preloader .spinner {height: 8em;width: 8em;}
.ctn-preloader .animation-preloader .txt-loading {font: bold 3.5em 'Montserrat', sans-serif;}
}
@media screen and (max-width: 500px) {
.ctn-preloader .animation-preloader .spinner {height: 7em;width: 7em;}
.ctn-preloader .animation-preloader .txt-loading {font: bold 2em 'Montserrat', sans-serif;}
}

.ui-datepicker td.ui-datepicker-today a { background: #3A3541 !important; color: white !important; }


  .ui-datepicker-title {
      text-align: center;
      font-weight: 600;
      font-size: 1.1em;
  }
  #ui-datepicker-div {min-width: 290px;}
#ui-datepicker-div .ui-datepicker-header{
  position: relative;
  padding: 8px 36px; /* leave room for arrows */
}

#ui-datepicker-div .ui-datepicker-title{
  margin: 0 auto;
  text-align: center;       /* center text */
  font-weight: 600;         /* optional */
}

/* keep arrows at edges, vertically centered */
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto; height: auto; /* allow text “Prev/Next” if icons missing */
}

#ui-datepicker-div .ui-datepicker-prev{ left: 8px; }
#ui-datepicker-div .ui-datepicker-next{ right: 8px; }
#ui-datepicker-div .ui-datepicker-current-day a,
#ui-datepicker-div .ui-state-active {
  background: #2ab57d !important;
  color: #fff !important;
}

/* today (default highlight for "current day") */
#ui-datepicker-div .ui-state-highlight {
  background: #e8f7ee;
  border-radius: 6px;
}
.ui-state-disabled {color: #bcbcbc;}
  .ui-state-highlight {
  background: #3f9461ff;
}
/* today's date */
.ui-datepicker .ui-state-highlight {
  background: #e8f7ee !important;
  color: #000 !important;
  border-radius: 6px;
}

/* selected date */
.ui-datepicker .ui-state-active {
  background: #2ab57d !important;
  color: #fff !important;
  border-radius: 6px;
}

#ui-datepicker-div .ui-datepicker-prev span, #ui-datepicker-div .ui-datepicker-next span { display: none; }
#ui-datepicker-div .ui-datepicker-prev { width: 22px; height: 22px; padding: 0px !important; background: url(../images/left.svg) no-repeat; background-position: center; background-size: contain; }
#ui-datepicker-div .ui-datepicker-next { width: 22px; height: 22px; padding: 0px !important;  background: url(../images/right.svg) no-repeat; background-position: center; background-size: contain;  }

.saveMissingQtyBtn, .editMissingQtyBtn { background: #179F5D !important; border-radius: 4px; padding: 4px !important; width: 24px; height: 24px; margin-left: 10px; box-shadow: 0px 2px 4px 0px #BDBDBD; border: none !important; } 
.tdinput.form-control { background-color: #FDFDFD; border: 1px solid #E5E5E5; font-size: 12px; color: #3A3541; border-radius: 4px; box-shadow: none !important; padding: 3px 10px; }


/* -------------------------------------------------------------------------------------------------------- */
/* responsive view */

@media (min-width: 1200px) and (max-width: 1300px) {

.ecmb_card_inner .ecinfo span {padding: 0px 4px;}
.ecmb_card_inner .ecinfo { font-size: 12px; padding: 5px 15px;}
.dash_top_block .dash_card .dash_icon { width: 50px; height: 50px; margin-right: 16px;}
.ecmb_card_inner .ec_content { padding: 0px 10px 15px;}
.tfilter_block { max-width: 250px;}
.auth_page { padding: 40px 15px; }
.auth_page .sitelogo { margin: 0px auto 45px;}


}

@media (min-width: 1300px) and (max-width: 1490px) {

.dash_top_block .dash_card .dash_icon { width: 56px; height: 56px; margin-right: 20px;}
.ecmb_card_inner .ec_content { padding: 0px 10px 15px;}


}

@media (max-width: 1500px) {

.btn { padding: 12px;}
.table_elements_block .btn {max-width: 140px;}
.report_card .rc_icon { width: 105px; height: 105px;}
.auth_page .sitelogo { margin: 0px auto 70px;}



}


@media (min-width: 1680px) {

}


@media (min-width: 2100px){

    
}

@media (min-width: 1700px){


}

@media (max-width: 1199px) {

#page-topbar {  background: #fff; position: relative !important; padding: 5px 15px; height: 60px; }

.navbar-header { width: 100%; padding: 0px; height: 45px;}
.navbar-brand-box, body[data-sidebar-size="sm"] .navbar-brand-box { width: 180px !important; margin-right: auto; display: block !important;  margin-bottom: 0px !important; border: none !important; background: transparent !important; box-shadow: none !important; padding: 0px !important; height: 45px; }
.navbar-brand-box img { object-position: left; vertical-align: top; }
.header-item, .header-item:hover {color: #FFF;  padding: 0px !important; height: auto !important; min-width: unset !important; }
body:not([data-sidebar-size="sm"]) #vertical-menu-btn { margin-left: 0; margin-right: 0px; padding: 0 !important; color: #000; }
.vertical-menu { display: none !important; }
.sidebar-enable .vertical-menu { z-index: 5; top: 60px !important; border-right: 1px solid #e9e9ef !important; display: block !important; height: calc(100% - 60px); overflow-y: auto; padding: 10px 0px; }
.vertical-menu .site_logo { display: none !important; }
.main-content { padding: 15px; margin-left: 0px !important;}
.sidemenu_block { height: 100%;}
.navbar-brand-box a { width: 100%; height: 100%; display: block; }
.navbar-brand-box a span { width: 100%; height: 100%; display: block; }


/*  */

.ecmb_card_inner .ec_content { padding: 0px 40px 20px;}
.page-title-box h4 { font-size: 24px; }
.dash_top_block .dash_card { padding: 15px 20px;}
.dash_top_block .dash_card .dash_icon {width: 56px; height: 56px; margin-right: 20px;}
.dash_top_block .dash_card .dcount { font-size: 26px; line-height: 24px;}
.dash_top_block .dash_card .dtitle { font-size: 18px; line-height: 24px;}
.dash_top_block .plus_minus_info p { font-size: 20px; line-height: 24px;}
.dash_top_block .plus_minus_info p span { font-size: 14px;}

.table_elements_block { padding: 10px;}

.form-group .form-control { padding: 12px;}
.report_card .rc_title { font-size: 18px; line-height: 24px;}
.report_card .rc_icon { width: 95px; height: 95px;}
.report_card { margin: 0px auto 20px;}

.change_password_block { padding-top: 40px;}

.daily_graph_block .dgb_title { font-size: 18px; line-height: 22px; padding-bottom: 20px;}
.report_balance_sheet_page table tfoot td span {padding: 5px 10px; margin-right: 5px; font-size: 12px;}
.table > thead th { font-size: 12px;}
.daily_graph_block { padding: 24px; }

.table_elements_block .btn { max-width: fit-content;}
.tfilter_block { max-width: 250px;}
.datatable-custom-search .form-control { font-size: 12px; line-height: 18px; padding: 8px;}



}

@media (max-width: 991px) {

.dash_top_block { margin-bottom: 25px;}
.dash_top_block .dash_card { margin-bottom: 15px; }
.ecmb_card_inner .ec_content { padding: 0px 2px 20px;}
.graph_info_block { padding: 25px 0px;}
.page_content_body { min-height: auto;}

.teb_right_block { width: auto; flex: 1; padding-left: 10px; }

.daily_output_graph_view_section { display: block; }
.dropdown_block .form-select { font-size: 14px; }
.daily_graph_block { margin-right: 0px; margin-bottom: 20px; }
.dogv_list_block { margin: 0px auto; }

.settlement_calculation_block { padding-right: 50px; padding-bottom: 20px;}

.table_elements_block .btn { padding: 10px !important; margin-left: 6px; }
.tfilter_block { margin-right: 5px; }



}

@media (max-width: 767px) {


.dash_top_block .dash_card .dcount { font-size: 22px; line-height: 20px;}
.dash_top_block .dash_card .dtitle { font-size: 16px; line-height: 20px;}
.dash_top_block .plus_minus_info p { font-size: 18px; line-height: 20px;}
.page-title-box h4 { font-size: 20px;}
.navbar-brand-box, body[data-sidebar-size="sm"] .navbar-brand-box { width: 160px !important; height: 38px; }
.logo { line-height: unset;}
.navbar-header { height: auto;}
#page-topbar { padding: 12px 15px; height: auto;}
.dash_top_block .dash_card .dash_icon { width: 50px; height: 50px; margin-right: 15px;}
.dash_top_block { margin-bottom: 15px;}
.page-title-box {padding-bottom: 15px;}

#datatable_length label select { width: 50px; font-size: 12px; padding: 0px 8px;}
.common_modal .mtitle { font-size: 22px; line-height: 24px;}
.newwidth_common_modal .modal-dialog { max-width: 96% !important;}

.auth_page .sitelogo { margin: 0px auto 35px;}
.auth_page { padding: 30px 15px; }
.auth_form_block { min-height: auto;}
.auth_page .sitelogo { max-width: 280px;}
.sidebar-enable .vertical-menu { top: 62px !important; height: calc(100% - 62px); }

.manage_user_group_page .table_elements_block .btn { max-width: 145px;}
.dropdown_block .form-select { font-size: 14px;}

.settlement_calculation_block { padding-right: 20px; padding-bottom: 20px;}

.tfilter_block { max-width: 210px;}
.teb_right_block .search_btn { min-width: 20px; height: 20px; margin-left: 8px;}



}

@media (max-width: 700px) {

}

@media (max-width: 600px) {

.common_modal .user_info_block {padding: 0px 30px 25px;}
.inspection_modal .user_info_block p { width: 100%; padding: 0px 10px;}
.dash_top_block .plus_minus_info p { padding: 0px 10px;}
.machine_modal.common_modal .user_info_block { padding: 0px 30px 35px;}

.stock-header .sh_block { width: 100%;}
.filter_block { display: block;}
.filter_block span { margin-bottom: 10px; display: block; }
.filter_block input.part_input {width: 100%; margin-bottom: 10px;}
.filter_block input.date_to_date_input { width: 100%; margin-left: 0;}
.stock-header .sh_block p { font-size: 12px;}
.stock-header .sh_block h6 { font-size: 14px;}
.stock-header .sh_block { padding: 6px 18px;}

.pagination .page-item .page-link { font-size: 12px;}
.shb_filter { display: block;}

.settlement_calculation_block {  padding-right: 0px; padding-bottom: 20px; overflow-x: scroll; display: block;}
.settlement_calculation_block table { width: 500px; }

.stock-header .sh_block { padding: 6px 18px; display: block !important;}
.eddy_current_output_block { padding-top: 20px; }
.eddy_current_output_block p span {  padding: 0px 10px 10px;}

.table_elements_block { flex-wrap: wrap; }
.teb_right_block { flex: unset !important; width: 100% !important; flex-wrap: wrap; padding-left: 0px; }
.table_elements_block .btn { margin-top: 10px;}
.datatable-custom-search { display: block; width: 100%; margin-top: 10px;}
.teb_right_block .search_btn { display: none; }
.tfilter_block { max-width: 100%; margin: 10px auto 0px;}
.tfilter_block .form-group .form-select { max-width: 100%;}

.permission_row .form-check { margin-right: 0px !important; padding-left: 10px !important; }
.permission_row .perm_label { width: 100px; }
[type="radio"]:checked + label, [type="radio"]:not(:checked) + label { font-size: 12px;}
.form_page_content_body { padding: 20px 15px;}
.checkbox { font-size: 12px;}


}

@media (max-width: 500px) {


}








