.invalid-feedback{
    margin-top: 10px;
}
.login_type_tabs:hover{
    cursor: pointer;
}
.login_type_tabs{
    background: #F5F5DC;
}
.login_type_tabs.active{
    background: #C4DBA0;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 8px 10px !important;
}
/* div#DataTable_wrapper {
    padding: 22px;
} */
table.dataTable.no-footer {
    margin-top: 50px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current{
    background: var(--secondary-color) !important;
    padding: 5px 15px;
    border: none;
}
.dataTables_paginate .paginate_button:hover{
    background: transparent !important;
    padding: 5px 15px !important;
    color: red !important;
    border: 1px solid var(--secondary-color);
    transition: 0.2s ease all;
}
.paginate_button {
    padding: 5px 15px !important;
    margin: 0 5px;
}
.detail-table{
    margin-top: 10px;
}
table.dataTable thead .sorting:after{
    content: none !important;
}

.alert-danger{
    color: tomato !important;
    background-color: #fff !important;
    border-color: tomato !important;
    padding: 10px;
    margin: 5px 10px 20px 10px;
    font-size: 0.9rem;
    text-align: center;
}
.text-small{
    font-size: calc(85%) !important;
}
.form-group label{
    margin-bottom: 5px;
}
.page-heading{
    margin-bottom: 10px;
}
#preloader {
    position: fixed;
    /* top: 40%; */
    /* left: 45%; */
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.loader {
    border: 10px solid #f3f3f3;
    border-top: 8px solid #779842;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#wrapper {
    display: none;
}
.toast-success .toast-header{
    border-bottom: 2px solid #0a3906;
}
.toast .btn-close{
    height: 0.75rem;
    width: 0.75rem;
}
.toast-error .toast-header{
    background: transparent;
    border-bottom: 2px solid #3f7e16;
}
.toast-error{
    /* background: #faecda; */
    color: #3f7e16;
    /* border: 2px solid #3f7e16; */
}
.toast-success{
    /* background: #faecda; */
    color: #3f7e16;
    /* border: 2px solid #3f7e16; */
}
.toast-container{
    display: none;
}
.btn-login, .btn-login:hover{
    border: none !important;
    background: transparent !important;
}
.btn-submit:hover{
    color: #fff;
}
.sidebar-nav li a{
    cursor: pointer;
}
.email_error{
    display: block;
}

.dataTables_filter {
   float: right;
    margin-bottom: 10px;
}


.alert-danger {
    color: #721c24 !important;
    background-color: #f5c2c7 !important;
    border-color: #f59f8f !important;
    padding: 10px;
    margin: 5px 10px 20px 10px;
    font-size: 0.9rem;
    text-align: left;
}

.column-toggles
{
    /* display: none; */
}

div.dt-buttons {
    /* float: right !important; */
    padding: 5px 0 0 5px !important;
}

/* .dt-button-collection{
    top: 44.0952px;
    left: 787.281px !important;
    width: fit-content !important;
} */

th.sorting {
    padding-right: 10px !important;
}

tr.table-heading-hp th {
    padding-right: 10px !important;
    font-weight: 500 !important;
    vertical-align: middle;
}

.select2-container--default .select2-selection--single
{
    background-color: inherit !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 5px !important;
    right: 1px;
    width: 20px;
}

.select2-container {
    z-index: 9999 !important; /* Ensure dropdown appears above modal */
}

/* .table-responsive {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    min-height: 500px;
overflow-y: hidden;
} */

table#icslist_DataTable {
    width: 100% !important;
}

th.sorting, tbody.table-body-hp td {
    text-wrap-mode: nowrap;
}

td.action-cls {
    /* display: flex; */
}


td.action-cls .btn {
    padding: .375rem 0px;
}
/* nc report add file css */


td.action-cls .btn {
    padding: .375rem 0px;
}
/* nc report add file css */
.title-sub-form-hp {
    font-weight: 600;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.title-sub-form-hp input,
.sub-hp-form-trf input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.btn-sec-hp {
    float: inline-end;
    margin-top: 40px;
}

.btn-line {
    background: transparent;
    color: black;
    border: 1px solid black;
    padding: 0.375rem 0.75rem;
}

.btn-primary {
    background: #005040;
}
textarea.text-area-hp {
border: 1px solid #22222230;
border-radius: 4px;
padding: 0 12px;
width: 100%;
font-size: 16px;
}


.file-input__input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-input__label {
cursor: pointer;
display: inline-flex;
align-items: center;
border: 1px solid #22222230;
border-radius: 4px;
height: 48px;
padding: 0 12px;
width: 100%;
font-size: 16px;
justify-content: center;
color: #22222250;
}

.file-input__label svg {
    height: 16px;
    margin-right: 4px;
    margin-left: 8px;
}
/* end ncreport add css */


/* ncreport detail page css */
.table-report-hp tr,
        .table-report-hp td,
        .table-report-hp th {
            border: none;
        }
        .table-report-hp tbody {
            border: none;
        }
        .table-report-hp table th:after, .table-report-hp table th:before {

   display: none;

}
svg.hp-svg-doe-icon.svg-inline--fa.fa-upload.fa-w-16 {
    width: 18px;
    transform: rotate(180deg);
}
i.fa-solid.fa-file.rep-hp-icon {
    font-size: 30px;
    margin-right: 15px;
}
section.table-report-hp.my-30 table.table {
    margin: 0;
}
section.table-report-hp.my-30 .col-lg-6.col-md-6 {
    margin: 10px 0 0 0;
}
/* end css */

/* dispatch checklist css */
.form-switch.swetch-hp .form-check-input {
    float: right;
    height: 24px;
    width: 40px;
}

.form-switch.swetch-hp {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    width: 25%;
}

.d-fl-hp-oneline {
    display: flex;
    justify-content: space-between;
}

.form-switch .form-check-input {
    margin: 0;
    background-color: #c4dba036;
}

.form-check-input:focus {
    border-color: var(--secondary-color);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(196 219 160 / 16%);
}

.form-check-question {
    width: calc(100% - 25%);
}

li.swetch-hp-li {
    margin-bottom: 30px;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
}

textarea.text-area-hp::placeholder {
    color: #22222250;
}
/* end dispatch checklist css  */

.error{
    color: red; /* Error message color */
    font-size: 12px;
    margin-top: 5px;
}


/* Dispatch report page css */

.table-report-hp tr,
.table-report-hp td,
.table-report-hp th {
    border: none;
}

.table-report-hp table th:after,
.table-report-hp table th:before {

    display: none;

}

table#report-view tr.table-heading-hp {
    border-top: 1px solid #22222250;
    border-bottom: 1px solid #22222250;
}

svg.hp-svg-doe-icon.svg-inline--fa.fa-upload.fa-w-16 {
    width: 18px;
    transform: rotate(180deg);
}

i.fa-solid.fa-file.rep-hp-icon {
    font-size: 30px;
    margin-right: 15px;
}

section.table-report-hp.my-30 table.table {
    margin: 0;
}

section.table-report-hp.my-30 .col-lg-6.col-md-6 {
    margin: 10px 0 0 0;
}
/* End dispatch report page css */



/* dispatch checklist detail page css */

.form-switch.swetch-hp .form-check-input {
    float: right;
    height: 24px;
    width: 40px;
}

.form-switch.swetch-hp {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    width: 25%;
}

.d-fl-hp-oneline {
    display: flex;
    justify-content: space-between;
}

.form-switch .form-check-input {
    margin: 0;
    background-color: #c4dba036;
}

.form-check-input:focus {
    border-color: var(--secondary-color);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(196 219 160 / 16%);
}

.form-check-question {
    width: calc(100% - 25%);
}

li.swetch-hp-li {
    margin-bottom: 30px;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
}

textarea.text-area-hp::placeholder {
    color: #22222250;
}
/* end dispatch checklist css */





/* hardik direct */
button.select2-selection__clear {
    visibility: hidden;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color);
    color: white;
}
small.small-hp {
    font-size: 10px;
    color: #22222250;
}
.input-hp::placeholder {
    color: #22222250;
}
/* .input-hp[type="date" i] {
    color: #22222250;
} */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    /* color: #22222250 !important; */
    line-height: 28px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {

    top: 65% !important;
}
.table-report-hp .lebal-hp {
    height: 44px;
}
a.edit-btn {
    cursor: pointer;
}
thead.table-heading-highlight th {
    font-weight: 400;
    background: #22222250;
}
thead.table-heading-highlight span {
    font-weight: 500;
}

/* select2 multiple css */

.select2-results__option {
    display: flex;
    align-items: center;
}

.select2-results__option input[type="checkbox"] {
    margin-right: 8px;
}

/* end select2 multiple css */


/* gate entry unloading view page css */
.table-report-hp tr,
.table-report-hp td,
.table-report-hp th, .table-report-hp tbody {
    border: none !important;
    padding: 0;
}
.table-report-hp table th:after, .table-report-hp table th:before {

display: none;

}
svg.hp-svg-doe-icon.svg-inline--fa.fa-upload.fa-w-16 {
width: 18px;
transform: rotate(180deg);
}
i.fa-solid.fa-file.rep-hp-icon {
font-size: 30px;
margin-right: 15px;
}
section.table-report-hp.my-30 table.table {
margin: 0;
}
section.table-report-hp.my-30 .col-lg-6.col-md-6 {
margin: 10px 0 0 0;
}
/* End gate entry unloading view page css */


/* stack wise css */
.heading-title-page-stack-wise {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

a#addmore {
    border: 1px solid #222222;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 12;
}

.required_inp {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
@media (max-width: 1030px) {
.required_inp {
display: block;
margin: 10px 0;

}
input.inputRemove {
margin-top: 20px;
margin-left: 0 !important;
}
}

input.inputRemove {
background: transparent;
border: 1px solid #222222;
border-radius: 4px;
font-size: 18px;
width: 40px;
height: 40px;
font-family: cursive;
font-weight: 700;
color: #222222;
margin-left: 10px;
}
.btn-sec-hp {
float: inline-end;
margin-top: 40px;
}
.btn-line {
background: transparent;
color: black;
border: 1px solid black;
padding: .375rem .75rem;
}
.btn-primary {
background: #005040;
border-color: #005040;
}
.modal-footer {
    border-top: none;
}
/* End Stack wise css */
/* quality */
.col-8.flex-hp-end {
    display: flex;
    align-items: flex-end;
}
input.inputRemove.quality-add-data-remove {
    left: 25.3%;
    position: absolute;
    top: 13%;
}
.required_inp {
    position: relative;
    margin: 20px 0;
    display: flex;
    align-items: flex-end;
}

p.data-show-hp {
    border: 1px solid #22222230;
    border-radius: 4px;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    color: #22222250;
}


/* START Alert error css */
.alert {
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 0;
    border-radius: 0.375rem;
}

.alert-danger {
    background-color: #ffebee;
    color: #b71c1c;
    border-left: 5px solid #ef5350;
}

.alert-heading {
    color: #b71c1c;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.error-content {
    font-size: 0.95rem;
}

.variety-list {
    margin-top: 0.5rem;
}

.variety-item {
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
}

hr.border-danger {
    opacity: 0.25;
    margin: 0.75rem 0;
    border-color: #ef5350;
}
/* END Alert error css */

/* Select2 search model css */
.select2-container--open {
    z-index: 9999;
}

.modal {
    z-index: 1050;
}

/* End model css */


/* domestic tc document reated css */
.selected-file {
    background-color: #f8f9fa;
    border: 1px solid #e2e6ea;
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.selected-file .remove-file-btn {
    color: #dc3545;
}



/* date show black after selected */
input[type="date"].input-hp {
    color: #999; /* Default gray color for placeholder */
  }

  input[type="date"].input-hp.has-value {
    color: #22222250; /* Black color for selected values */
  }
  .swal2-icon.swal2-warning {
    border-color: #005040 !important;
    color: #005040 !important;
}



.small-icon .swal2-icon {
    width: 5em !important;
    height: 5em !important;
    margin: 1em auto 1em !important;
}

.small-icon .swal2-icon .swal2-icon-content {
    font-size: 3.75em !important;
}

.swal2-icon
{
    width: 3em;
    height: 3em;
}

th.sorting_disabled,th.sorting{
    font-weight: 500 !important;
}


/*  */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px;
}
.choose-file-btn {
    margin-right: 10px;
}
.file-count-display {
    color: #6c757d;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 3px;
}


/* model overwrite css */
.modal {
    z-index: 1050;
}

.modal-dialog {
    overflow: visible;
}

.modal-content {
    overflow: visible;
}

.modal-body {
    overflow: visible;
    max-height: 70vh; /* Adjust as needed */
    overflow-y: auto;
}


.icon-btn {
    border: none;
    background: none;
    padding: 0;
    margin: 0 2px; /* optional spacing */
    cursor: pointer;
}

/* Clear All button for Select2 multi-select fields - positioned next to label */
.btn-clear-select2-label {
    background: #dc3545;
    color: white;
    border: none;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-clear-select2-label:hover {
    background: #c82333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-clear-select2-label:active {
    transform: scale(0.95);
}

/* Position relative for parent container */
.position-relative {
    position: relative;
}

/* Adjust Select2 dropdown z-index */
.select2-container {
    z-index: 1051 !important;
}

.select2-dropdown {
    z-index: 1052 !important;
}
