/* ********************************
404
********************************** */

.error-page {
    padding: 150px 50px 30px;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    text-align: center;
}

.error-page img {
    display: block;
    margin: 15px auto;
}

.error-page h2 {
    font-weight: 500;
    font-size: 45px;
    line-height: 1.5;
    color: #101116;
}

.error-page p {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #101116;
    margin-bottom: 15px;
}

a.backbnt {
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
    margin: 25px 5px;
    color: #fff;
    text-transform: uppercase;
    padding: 14px 50px;
    text-align: center;
    background: #101116;
    font-weight: 600;
    border: none;
}

.cus-btns {
    background: #101116;
    border-radius: 6px;
    width: 100%;
    padding: 13px 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    text-transform: uppercase;
    color: #fff;
}

.dealer_from_email {
    display: none !important;
}

.pagination>li.active>a {
    z-index: 3;
    color: #fff;
    background-color: #323348;
    border-color: #323348;
}

.pagination>li:last-child .page-link {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pagination>li:not(:first-child) .page-link {
    margin-left: -1px;
}

.pagination>li>a {
    position: relative;
    display: block;
    color: #323348;
    font-size: 14px;
    text-decoration: none;
    padding: 2px 8px;
    margin: 0 3px;
    border-radius: 3px;
    background-color: #fff;
    border: 1px solid #323348;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.please-call-for-price {
    background-color: #000;
    border-radius: 5px;
    padding: 12px 6px;
    color: #fff !important;
    font-size: 16px !important;
    text-align: center;
}


/* KBB */

.ico-adaptive {
    max-width: 100%;
    height: auto;
}

.ico-mobile {
    display: none;
}

@media only screen and (max-width: 600px) {
    .ico-desktop {
        display: none;
    }
    .ico-mobile {
        display: block;
    }
}


/* KBB */

.srp-net-price {
    text-align: center !important;
}

@media print {
    .contact-btn {
        display: none !important
    }
}

.carfax-logo {
    display: block;
    margin: 12px auto !important;
}

body app-root #expressBtn {
    background-color: #d20f06 !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
    margin-top: 15px !important;
    padding: 0 !important;
    width: 100% !important;
}

body app-root #expressBtn .mat-button-wrapper img {
    max-height: 80px !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 6px;
}

a.valuetrade {
    display: block;
    margin: 15px 0 0 0;
    width: 100%;
    background: #101116;
    border: 1px solid #101116;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    text-transform: uppercase;
}

a.valuetrade img {
    border-radius: 6px;
}

.trabdes a img {
    border-radius: 6px;
}

.commer-slider .item img {
    height: auto;
    width: auto;
    margin: 15px auto;
}


/* Why Buy From Us CMS */

.whybuy-area.choose .title h2 {
    font-size: 22px;
}


/* Why Buy From Us CMS */


/* FAQ CMS */

.whybuy-area.choose .title h2 {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: #000000;
    text-align: center;
}


/* *****************************
faq-area
******************************** */

.faq-area {
    padding: 50px 0;
}

.faq-area .title {
    text-align: center;
}

.faq-area .accordion-button {
    font-size: 16px;
    color: #101116;
    font-weight: 600;
}

.faq-area .accordion-body p {
    font-size: 16px;
    color: #232323;
    line-height: 1.5;
    margin-bottom: 10px;
}

.faq-area .accordion-body p a {
    font-size: 16px;
    color: #232323;
    line-height: 1.5;
    font-weight: 600;
}


/* FAQ CMS */

.eprice-price form textarea.form-control {
    height: 100px;
    padding-top: 15px !important;
}

.card-result .card-text,
.card-result .card-text b {
    color: #000 !important;
}

.card-result .card-text.card-stock-number,
.card-result .card-text b {
    font-weight: 800 !important;
}

.card-text>span {
    text-align: right;
}

.offer {
    display: inline-block;
}

.plugin-pre-qualified {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: 10px auto;
}

a.payment {
    margin: 10px 0 0 0 !important;
}

.trabdes a.offer {
    text-decoration: none;
    list-style: none;
    color: #000 !important;
}

.trabdes a {
    margin-bottom: 12px !important;
}


/* *************************
share-tab 
****************************/

.share-tab .nav-tabs {
    border-bottom: 1px solid transparent;
    justify-content: space-around;
}

.share-tab .nav>li {
    width: 48%;
    margin-right: 1%;
}

.share-tab .nav>li:last-child {
    margin-right: 0%;
}

.share-tab .nav-tabs .nav-link {
    width: 100%;
    background: #F5F5F5;
}

.share-tab .nav-tabs .nav-item.show .nav-link,
.share-tab .nav-tabs .nav-link.active {
    background: #FFBA00;
}

.share-con {
    padding-top: 15px;
}

.share-con p {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #323348;
    margin-bottom: 8px;
}

.share-con p b {
    font-weight: 700;
}

.share-con h2 {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #101116;
}

.share-con .contact-form {
    margin-top: 15px;
}

.hide-field {
    transition: all 0.4s ease;
    display: none;
}

.hide-field.show {
    transition: all 0.4s ease;
    display: block;
}

a.offer:hover {
    display: inline-block;
    color: #000;
}

.loader {
    z-index: 999999 !important;
}

.srp-loader {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 110px;
    height: 110px;
    background: url(../img/three-dots-gif-8.gif) 50% 50% no-repeat #f5f5f5;
    z-index: 999999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

section.margintop .specials-banners {
    margin-bottom: auto !important;
}

@media (max-width: 767px) {
    #userwayAccessibilityIcon {
        left: 70px !important;
        top: 80% !important;
    }
}

.part-con p b {
    font-size: 14px;
    font-weight: 600;
}

.in-transit-tag {
    float: right;
}

.paginations {
    clear: both;
    width: 100%;
    margin-bottom: 15px;
}

/* ********************************
Check Availability Side Panel
********************************** */

.availability-side-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    z-index: 999999;
    transition: right 0.3s ease-in-out;
}

.availability-side-panel.active {
    right: 0;
}

.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.availability-side-panel.active .side-panel-overlay {
    opacity: 1;
    visibility: visible;
}

.side-panel-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    z-index: 999999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.side-panel-header {
    position: relative;
    background: transparent;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000000;
    min-height: 60px;
}

.side-panel-header .close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000001;
}

.side-panel-header .close img {
    height: 32px;
    width: auto;
    display: block;
}

.side-panel-body {
    padding: 0;
    background: #fff;
}

.availability-form-container {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    margin: 20px;
    max-width: 100%;
}

/* Check Availability Button Icon Styling */
.trade-con#checkAvailabilityBtn img,
.trade-con#checkAvailabilityBtn2 img {
    filter: brightness(0) invert(1);
    height: auto;
    max-height: 30px;
    max-width: 30px;
    width: auto;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}

.availability-title {
    font-size: 28px;
    font-weight: 700;
    color: #323348;
    text-align: center;
    margin: 0 0 15px 0;
}

.availability-intro {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.availability-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0 0 25px 0;
}

.vehicle-details-box {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.vehicle-details-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.vehicle-image-small {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.vehicle-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-info {
    flex: 1;
}

.vehicle-name {
    font-size: 18px;
    font-weight: 700;
    color: #323348;
    margin: 0 0 5px 0;
}

.vehicle-trim {
    font-size: 14px;
    color: #666;
    margin: 0 0 3px 0;
}

.vehicle-detail {
    font-size: 13px;
    color: #666;
    margin: 3px 0;
}

.availability-contact-form {
    margin-top: 25px;
}

.availability-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.availability-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.availability-contact-form .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #323348;
    margin-bottom: 8px;
}

.required-star {
    color: #C32435;
    margin-left: 3px;
}

.availability-contact-form .form-group .form-control,
.availability-contact-form input.form-control,
.availability-contact-form textarea.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #323348 !important;
    background-color: #fff !important;
    transition: border-color 0.3s ease;
    width: 100%;
}

.availability-contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.availability-contact-form .form-group .form-control:focus,
.availability-contact-form input.form-control:focus,
.availability-contact-form textarea.form-control:focus {
    outline: none;
    border-color: #C32435;
    background-color: #fff !important;
    color: #323348 !important;
    box-shadow: 0 0 0 3px rgba(195, 36, 53, 0.1);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.required-note {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.submit-btn {
    background: #C32435;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #a01d2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(195, 36, 53, 0.3);
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* Form Loader Overlay */
.availability-contact-form.loading {
    position: relative;
    pointer-events: none;
}

.availability-contact-form.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.availability-contact-form.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #E5E5E5;
    border-radius: 50%;
    border-top: 4px solid #C32435;
    border-bottom: 4px solid #C32435;
    animation: spin 1s linear infinite;
    z-index: 1001;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .availability-side-panel {
        max-width: 100%;
        width: 100%;
    }
    
    .side-panel-header {
        padding: 15px;
    }
    
    .side-panel-header h4 {
        font-size: 18px;
    }
    
    .side-panel-close {
        padding: 6px;
    }
    
    .side-panel-close img {
        width: 20px;
        height: 20px;
    }
    
    .availability-form-container {
        padding: 20px;
        margin: 15px;
    }
    
    .availability-title {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vehicle-details-content {
        flex-direction: column;
    }
    
    .vehicle-image-small {
        width: 100%;
        height: 150px;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .side-panel-header {
        padding: 12px;
    }
    
    .side-panel-header h4 {
        font-size: 16px;
    }
    
    .availability-form-container {
        padding: 15px;
        margin: 10px;
    }
    
    .availability-title {
        font-size: 20px;
    }
    
    .availability-intro {
        font-size: 13px;
    }
}