:root {
    --border:     #e2e8f0;
    --toolbar-bg: #f8fafc;
    --text:       #1e293b;
    --muted:      #94a3b8;
}
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;
}

/*.header-search {*/
/*    --search-results-display: none;*/
/*    justify-self: stretch;*/
/*    display: block;*/
/*    position: relative;*/
/*}*/
/*@media (width>= 992px) {*/
/*    .header-search {*/
/*        display: block;*/
/*    }*/

/*}*/

/*.header-search .input-group-text {*/
/*    background-color: transparent;*/
/*    border-right: none;*/
/*    padding-right: 16px;*/
/*    color: #222;*/
/*    border-color: #222;*/
/*}*/
/*.header-search .input-group .form-control {*/
/*    background-color: transparent;*/
/*    border-left: none;*/
/*    color: #222;*/
/*    padding: 8px 12px;*/
/*    padding-left: 0;*/
/*    --bs-border-color: inherit;*/
/*    min-height: unset;*/
/*}*/

/*.header-search:not(:has(input[type="search"]:placeholder-shown)) {*/
/*    --search-results-display: block;*/
/*}*/
/*.header-search-results {*/
/*    position: absolute;*/
/*    padding: 7px;*/
/*    border-radius: 4px;*/
/*    display: var(--search-results-display);*/
/*    width: 100%;*/
/*    background-color: #fafafb;*/
/*    margin-top: 0;*/
/*    z-index: 1;*/
/*    top: 35px;*/
/*    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;*/
/*    height: 180px;*/
/*    overflow-y: scroll;*/
/*}*/
/*.header-search-results:not(:has(*)) {*/
/*    --search-results-display: none;*/
/*}*/
/*.header-search-item {*/
/*    display: grid;*/
/*    !*grid-template-columns: 48px 1fr;*!*/
/*    column-gap: 8px;*/
/*    align-items: center;*/

/*    padding: 0.25rem 0.25rem;*/
/*    color: #212529;*/
/*}*/
/*.header-search-item:hover {*/
/*    !*background-color: #f1f1f1;*!*/
/*    --hover-color: rgba(0, 0, 0 );*/
/*}*/

/*.header-search-item-name {*/
/*    font-weight: 500;*/
/*    !*color: var(--hover-color, rgba(0, 0, 0 ));*!*/
/*    border-bottom: 1px solid #CED4DA;*/
/*    padding: 4px;*/
/*}*/
/*.header-search-item-name:hover{*/
/*    background: #dddbdb;*/
/*    cursor: pointer;*/
/*}*/
/*.advance-form-control{*/
/*    padding: 0.45rem 0.75rem;*/
/*}*/
/*.advance-form-control:hover{*/
/*    background: #fff;*/
/*}*/
/*.flatpickr-input[readonly]{*/
/*    background: #fff !important;*/
/*}*/
/*.header-search-item .header-search-item-name:nth-last-child(1){*/
/*    border-bottom: none !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: 440px;
        border-bottom: 1px dashed #ddd;
        padding: 6px 4px;
        text-align: end;
        margin-bottom: 0;
        line-height: 150%;
    }
}
.sign{
    border-top: 1px solid #ddd;
    padding: 12px 50px;
    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;
}
table td{
    min-width: 130px;
}
.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: white;
}
.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;
}




/*Nottom 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;
}

.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;
    }
}
.bottom-nav i{
    font-size: 1.4rem;
}
