.tw-hidden{
	display:none !important;
}
.modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}
/*PD documents start*/
.printtbl
{
	border-collapse: collapse;
	width:100%;
}
.printtbl th
{
	font-family: Nunito;
	font-size: 10px;
	border: 1px solid;
	padding: 5px;
}
.printtbl td
{
	font-family: Nunito;
	font-size: 10px;
	border: 1px solid;
	padding: 5px;
	
}
.printtbl h1
{
	font-family: Nunito;	
}

.printtbl-noborder
{
	border-collapse: collapse;
	width:100%;

}
.printtbl-noborder th
{
	font-family: Nunito;
	font-size: 10px;
	border: 0px;
	padding: 5px;
}
.printtbl-noborder td
{
	font-family: Nunito;
	font-size: 10px;
	border: 0px;
	padding: 5px;
	
}
.printtbl-noborder h1
{
	font-family: Nunito;	
}
}.tw-float-right{
/* 	//float:right;
 */	text-align:right
}
/*PD documents end*/

/*Traceability start*/
.tw-tcimage{
	width:100%;
	max-width:1000px;
	text-align:center;
}
.tw-tcbackground{
     background-image: linear-gradient(to right, #40A232 40%, #FFFFFF 80%);
}
.tw-tcSIlbl {
    font-size: 18px;
}
.tw-tcbackgroundcolor{
     background: #99C92655;
}
.tw-tcbackgroundcolor-dark{
     background: #40A232;
}
.tw-tctracewastelogo{
     height:50px;
	 width:auto;
}
/*Traceability end*/

.dataTables_scrollBody {
 min-height: 250px !important;
}
/* Dashboard Card scrollable*/
.tw_supplier_profile_card {
	height: 250px !important;
	overflow: hidden auto;
}
.tw-fullwidth {
	width:100%;
}
.hr-text {
  border: 0;
  line-height: 1em;
  position: relative;
  text-align: center;
  height: 1.5em;
  font-size: 14px;
  margin: 10px 10px;
}

.hr-text::before {
    content: "";
    background: linear-gradient(to right, transparent, #1a1a1a, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text::after {
    content: attr(data-content);
    position: relative;
    padding: 0 7px;
    line-height: 1.5em;
    color: #1a1a1a;
    background-color: white;
}
.epr-client-banner
{
	background: url("../../../assets/images/company_dashboard_background_banner.jpg");
	background-repeat: repeat-x;
	background-position: center;
}

.swal2-container {
  z-index: 20000 !important;
}

/* vehicle start */
.vehicle-table-container {
    position: relative;
    max-height: 500px;
    overflow-y: auto;
}

.vehicle-scroll-arrow {
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    z-index: 1000;
    display: none;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
}

.vehicle-scroll-arrow-left {
    position: absolute;
    left: 10px;
}

.vehicle-scroll-arrow-right {
    position: absolute;
    right: 10px;
}

.vehicle-scroll-arrow:hover {
    color: #0056b3;
}

#vehicleModalContent {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 0 20px;
}

#vehicleModalContent .vehicle-document-container {
    width: 90%;
    min-width: 90%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    flex-shrink: 0;
    height: 100%;
}

#vehicleModalContent img, #vehicleModalContent iframe {
    max-width: 100%;
    max-height: 75%;
    object-fit: contain;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 4px;
}

#vehicleModalContent .vehicle-document-title {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    text-align: center;
    white-space: normal;
    width: 100%;
    padding: 0 5px;
}

#vehicleTxtRemarks {
    resize: none;
}

.vehicle-remarks-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vehicle-remarks-container label {
    margin-bottom: 5px;
    font-weight: 500;
}

.vehicle-modal-footer-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.vehicle-modal-body > div {
    width: 100%;
    overflow: hidden;
}

/* vehicle end */
/* QC Report Styles */
.qc-report-body {
    font-size: 0.75rem;
    background-color: #fff;
}

.qc-report-form-control {
    height: 25px;
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
    border: 1px solid #ced4da;
    background-color: #fff;
    text-align: left;
}

.qc-report-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: separate;
    border-spacing: 0;
}

.qc-report-table th,
.qc-report-table td {
    padding: 0.3rem;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
}

.qc-report-sub-header {
    background-color: #f8f9fa !important;
    color: #000 !important;
    font-weight: bold;
    text-align: center;
    border: 1px solid #dee2e6;
    padding: 8px;
}

.qc-report-out-of-norm {
    background-color: #f8d7da !important;
    color: #721c24;
}

.qc-report-highlight-red {
    color: #dc3545;
    font-weight: bold;
}

.qc-report-average-cell {
    font-weight: bold;
}

.qc-report-total-row {
    font-weight: bold;
    background-color: #f8f9fa;
}

.qc-report-th-rotate {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    white-space: nowrap;
}

.qc-report-table input {
    width: 60px;
    height: 25px;
    padding: 0.2rem;
    font-size: 0.75rem;
}

.qc-report-pdf-value {
    display: inline-block;
    min-width: 40px;
    padding: 0 2px;
    text-align: left;
    font-family: Arial, sans-serif;
}

@media print {
    .qc-report-body {
        margin: 0;
        padding: 0;
        background: white;
        font-size: 10pt;
        visibility: visible !important;
    }

    .qc-report-sub-header {
        background-color: #f8f9fa !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .qc-report-table th.qc-report-sub-header {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
        display: table-cell !important;
        visibility: visible !important;
    }

    .qc-report-table thead th {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
        display: table-cell !important;
        visibility: visible !important;
    }

    .qc-report-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
    }

    .qc-report-btn,
    .qc-report-input-date,
    .qc-report-input-radio,
    .qc-report-textarea,
    .qc-report-form-check,
    .qc-report-form-check-label,
    .qc-report-form-control {
        display: none !important;
    }

    .qc-report-container * {
        visibility: visible !important;
    }

    .qc-report-table,
    .qc-report-table thead,
    .qc-report-table tbody,
    .qc-report-table th,
    .qc-report-table td,
    .qc-report-table tr {
        display: table !important;
        visibility: visible !important;
    }

    .qc-report-table th.qc-report-th-rotate {
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        display: table-cell !important;
        visibility: visible !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .qc-report-table {
        border-collapse: collapse !important;
        width: 100% !important;
    }

    .qc-report-table td,
    .qc-report-table th {
        border: 1px solid #000000 !important;
        padding: 2px 4px !important;
        display: table-cell !important;
        visibility: visible !important;
    }

    .qc-report-out-of-norm,
    .qc-report-sub-header,
    .qc-report-total-row {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .qc-report-h4,
    .qc-report-h5,
    .qc-report-h6 {
        display: block !important;
        visibility: visible !important;
    }

    #qcParameters th:first-child,
    #qcParameters th:nth-child(2),
    #qcParameters th:last-child,
    #qcParameters td:first-child,
    #qcParameters td:nth-child(2),
    #qcParameters td:last-child {
        background-color: #ffffff !important;
        color: #000000 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #qcParameters thead th {
        background-color: #ffffff !important;
    }
}

/* QC Form Specific Styles */
.qc-form-form-control {
    text-align: center;
}

/* QC Form Ends */

.hyperlink-underline
{
	text-decoration: underline;
}

/* Scrap Dashboard Start */
:root { --panel-h: 460px; }
    .equal-card{height:var(--panel-h);display:flex;flex-direction:column}
    .equal-card .card-body{overflow:auto}

    .modal-fullscreen { width: 100vw; max-width: 100%; }
    #cardExpandModal .modal-dialog { height: 100dvh; margin: 0; }
    #cardExpandModal .modal-content { height: 100%; display: flex; flex-direction: column; }
    #cardExpandModal .modal-header { flex: 0 0 auto; }
    #cardExpandModal .modal-body { flex: 1 1 auto; overflow: hidden; padding: 0.75rem; }
    #expandChart { height: 100%; min-height: 480px; }
    #expandTableWrap, #expandChartWrap { height: 100%; }
    #expandTableWrap { overflow: auto; -webkit-overflow-scrolling: touch; }
    #expandChartWrap { overflow: hidden; }
    #expandTableWrap .table-responsive { height: 100%; }
    @supports not (height: 100dvh) { #cardExpandModal .modal-dialog { height: 100vh; } }

    .card-title{margin:0;font-size:1.05rem}
    .btn-icon{display:inline-flex;align-items:center;justify-content:center}
    .btn-icon i{pointer-events:none}
/* Scrap Dashboard End */


.tw_cursor_pointer {
    cursor: pointer;
}

/* Navang Start */
.stepper-vertical {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative
}

.stepper-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    transition: .3s;
    position: relative;
    z-index: 2;
    flex-shrink: 0
}

.stepper-item::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 44px;
    width: 3px;
    height: calc(100% - 20px);
    background: #e0e0e0;
    z-index: 1
}

.stepper-item:last-child::after {
    display: none
}

.stepper-item.active .stepper-circle {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(13, 110, 253, .25);
    transform: scale(1.1)
}

.stepper-item.completed .stepper-circle {
    background: #40A232;
    color: #fff
}

.stepper-label h6 {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: #495057
}

.stepper-item.active .stepper-label h6, .stepper-item.completed .stepper-label h6 {
    color: #0d6efd;
    font-weight: 700
}

.stepper-item.completed .stepper-label h6 {
    color: #40A232
}

.stepper-circle span {
    display: inline-block;
    min-width: 18px;
    text-align: center;
    font-weight: bold
}

.stepper-item.completed .stepper-circle span {
    font-size: 1.3rem;
    font-weight: 900
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #dee2e6;
    background: #fff
}

.header-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50
}

.header-logo img {
    height: 48px
}

.logo-dark {
    display: block
}

.logo-light {
    display: none
}

[data-bs-theme="dark"] .logo-dark {
    display: none
}

[data-bs-theme="dark"] .logo-light {
    display: block
}

[data-bs-theme="dark"] .header-logo {
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color)
}

.kyc-row {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff
}

.kyc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: .8rem
}

.compact-upload {
    position: relative;
    display: block
}

.compact-upload input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer
}

.btn-upload {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: .95rem;
    color: #495057;
    transition: .2s
}

.btn-upload:hover {
    background: #e3f2fd;
    border-color: #0d6efd
}

.btn-upload.has-file {
    background: #d1edff;
    border-color: #0d6efd;
    color: #0d6efd
}

.preview-box {
    width: 100%;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.preview-box img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px
}

.preview-box iframe {
    width: 100%;
    height: 100%;
    border: none
}

.preview-box.empty {
    color: #aaa;
    font-size: .9rem;
    background: #f1f3f5
}
/* Navang End */