html, body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
}
body{
    -webkit-overflow-scrolling: touch;
    max-width: 1366px;
    margin: 0 auto;
    overflow-x: hidden;
}
table{
    font-size: 14px;
}
a{
    color: #212529 !important;
}

.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1050;
    margin-top: 6px;
    border-radius: 8px;
    max-height: 280px;
    overflow-y: auto;
    /* Soft Shadow */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}
.vin-option:focus{
    background-color: #f0f7ff !important;
}


.card-header{
    background: #495057;
    padding-block: 1em;
    color: #fff;
    border-radius: 6px !important;
    h5{
        color: white;
    }
}

.bg-gray-100{
    background: #f8f9fa;
}
.card-subheader{
    color: #0a3a66;
}
.card-subheader h5{
    color: #0a3a66;
}
.accessories-list{
    display: flex;
    flex-wrap: wrap;
    .form-group{
        margin-bottom: 1rem;
        width: 33%;
    }
    .form-check-label{
        font-size: 16px;
    }
}
.delivery-order-table tbody tr:nth-last-child(1) td{
    font-weight: bold;
}
.total-amount{
    margin-bottom: 8px;
    margin-top: 24px;
    h5{
        color: #000;
        width: 300px;
        border-bottom: 1px dashed #ddd;
        padding: 6px 4px;
        text-align: end;
        margin-bottom: 0;
        line-height: 150%;
    }
}
.sign{
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin: 0 100px;
    font-weight: 600;
}
.sign-box{
    margin-top: 150px;
    margin-bottom: 50px;
}
.total-amount-words{
    h5{
        color: #000;
        border-bottom: 1px dashed #ddd;
        padding: 6px 4px;
        margin-bottom: 0;
    }
}
.gatepass h5{
    width: calc(100% - 250px);
    text-align: start;
}
.grid-template-columns-2 {
    grid-template-columns: 1fr auto;
}

@media (max-width: 1200px) {
    .main-information label.col-form-label-sm {
        display: none !important;
    }
    .main-information .g-3{
        --bs-gutter-y: 0.2rem;
        --bs-gutter-x: 0.2rem;
    }
    .main-information>.row,
    .create-repair-order>.row{
        --bs-gutter-x: 0.5rem;
    }
    .scrollable-table{
        width: 991px !important;
    }
    .total-amount h5{
        width: calc(100% - 220px);
    }
    .sign{
        margin: 0;
    }

    }
@media (max-width: 991px){
    .table thead th{
        min-width: 100px;
    }
}


/*Accordion*/
.accordion-grid {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    overflow: hidden;
    opacity: 1;
}
.accordion-inner {
    min-height: 0;
    overflow-x: scroll;
}
.accordion-grid.collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
}
.accordion-arrow {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
[aria-expanded="false"] .accordion-arrow {
    transform: rotate(-180deg);
}
/*.accordion-grid table td {*/
/*    min-width: 130px;*/
/*}*/
table th{
    white-space: nowrap;
    min-width: 200px;
    width: auto;
}
.service-history-table td:nth-last-child(1) {
    min-width: 700px;
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.service-information-tabs .nav-item{
    background: #efefef;
    border: 1px solid #dddddd;
}
.service-information-tabs .nav-item .active {
    background: #083162;
    border-color: #083162;
    color: #fff !important;
}
.custom-placeholder::placeholder {
    font-size: 15px;
}
.custom-select {
    font-size: 15px;
    color: #6c757d;
}
.sub-header{
    padding: 8px 12px;
    background: #f7f7f7;
    border-radius: 4px;
}
.btn-blue{
    background: #002C5E;
    font-weight: 500;
    color: #fff;
    &:hover,
    &:focus{
        background: #0a53be;
        color: #fff;
    }
}
.icon-input {
    position: relative;
}

.icon-input input {
    padding-right: 45px; /* space for icon */
}

.icon-input i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #6c757d;
    pointer-events: none;
}
.customer-service-link a{
    color: #002C5E;
}


/*Bottom Nav*/
.pc-footer{
    margin-top: 60px;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    z-index: 1049;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    max-width: 1366px;
    margin: 0 auto;
}
.bottom-nav i{
    font-size: 2rem;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Public Sans', sans-serif;
    position: relative;
    transition: color 0.15s, background 0.15s;
}

.bottom-nav-item:hover { color: #003366; }

.bottom-nav-item.active {
    background: #003366;
    color: #fff !important;
}

.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #00AAD4;
}

.bottom-nav-item svg {
    width: 26px;
    height: 26px;
}

.pc-footer {
    margin-bottom: 72px;
}

@media (max-width: 576px) {
    .bottom-nav {
        height: 80px;
    }
    .bottom-nav-item {
        font-size: 10px;
        gap: 4px;
    }
    .bottom-nav-item svg {
        width: 28px;
        height: 28px;
    }
    .pc-footer {
        margin-bottom: 80px;
    }
    .service-information-tabs ul{
        display: flex;
        flex-direction: column;
    }
    .accessories-list .form-group{
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
.bottom-nav i{
    font-size: 1.4rem;
}

.fade:not(.show){
    display: none;
}


#service-customer-table {
    width: 100% !important;
    table-layout: fixed;

}

#service-customer-table th,
#service-customer-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.select2-container .select2-selection--single {
    height: 48px !important;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear{
    margin-right: 0;
}

#service-customer-table_wrapper .dataTables_length,
#service-customer-table_wrapper .dataTables_filter {
    display: inline-block;
    margin: 12px 0 16px 0;
}
#service-customer-table_wrapper .dataTables_length {
    float: left;
}
#service-customer-table_wrapper .dataTables_filter {
    float: right;
}
#service-customer-table_wrapper .dataTables_paginate .paginate_button.current,
#service-customer-table_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff !important;
    background: #3f4d67;
    border-color: #3f4d67;
}
#service-customer-table_wrapper .dataTables_paginate .paginate_button:not(.previous):not(.next) {
    color: #fff !important;
}
#service-customer-table_wrapper .dataTables_paginate .paginate_button.active .page-link{
    color: #fff !important;
}





canvas.ui-sigpad {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    touch-action: none;
}
.partList td select{
    font-size: 14px;
}
.ui-sigpad {
    width: 100%;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 6px;
    touch-action: none;
}












