/* Fund Request Page Styles - Main.css */
.riyal-icon {
    height: 14px;
    width: auto;
    margin-right: 5px;
    vertical-align: middle;
}

.fund-request-page {
    position: relative;
    margin-top: 100px;
}

.fund-request-page .mb-3 {
    margin-bottom: 25px !important;
}

.mb-30 {
    margin-bottom: 32px;
}

/* Header Styles */
.fund-request-page .fund-request-header {
  background: #4DDBE5;
  padding: 20px 0 15px;
  position: relative;
  color: #1e293b;
  margin-bottom: 50px;
  border-radius: 20px;
}

.fund-request-page .fund-request-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/fund-request/arrow-bg-header.svg);
    background-repeat: repeat;
    background-size: inherit;
    pointer-events: none;
    z-index: 1;
}

.fund-request-page .fund-request-header .container {
    position: relative;
    z-index: 2;
}

.fund-request-page .fund-request-header .header-icon {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 ;
   gap: 10px;
}

.fund-request-page .fund-request-header .header-icon img {
    width: 50px;
}

.fund-request-page .fund-request-header .header-title {
  font-size: 24px;
  font-family: tajawal-medium;
  margin-bottom: 5px;
  color: #1F2937;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.fund-request-page .fund-request-header .header-desc {
    font-size: 16px;
    margin-bottom: 5px;
}

.fund-request-page .fund-request-header .header-badges {
  display: flex;
  justify-content: end;
  gap: 30px;
  position: absolute;
  left: 30px;
  bottom: 0px;
  color: #000000;
}

.fund-request-page .fund-request-header .badge-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fund-request-page .fund-request-header .badge-item img {
    width: 15px;
}

/* Confirmation Step Header */
.confirmation-step-header {
    background: #4DDBE5;
    border-radius: 20px;
    padding: 30px 40px;
    position: relative;
    color: #1e293b;
    margin-bottom: 40px;
}

.confirmation-step-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/fund-request/arrow-bg-header.svg);
    background-repeat: repeat;
    background-size: inherit;
    pointer-events: none;
    z-index: 1;
}

.confirmation-step-header .header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.confirmation-step-header .header-left .car-icon-wrapper {
    position: absolute;
    left: 0;
    bottom: -40px;
}



.confirmation-step-header .header-center {
    text-align: center;
    flex: 1;
}

.confirmation-step-header .step-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
    text-align: right;
}

.confirmation-step-header .step-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0px;
    text-align: right;
}

.confirmation-step-header .header-right .icon-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-step-header .header-right .icon-badge img {
    width: 80px;
}



@media (max-width: 991px) {
    .confirmation-step-header {
        padding: 20px;
    }

    .confirmation-step-header .header-left,
    .confirmation-step-header .header-right {
        display: none;
    }
}

/* =========================================
   Request Complete Page Styles
   ========================================= */

.request-complete-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Custom side-by-side layout for the two columns */


/* Order ID pill – centered inside the right card */
.order-id-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #7AE4EB;
    border-radius: 50px;
    padding: 8px 28px;
    font-size: 16px;
}

.order-id-pill .order-id-label {
    color: #147E85;
    font-size: 14px;
}

.order-id-pill .order-id-value {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    font-family: 'tajawal-bold';
}

/* ---- Sidebar ---- */
.complete-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-via-card {
  background: #F6FFED;
  border: 1px solid #B7EB8F;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.contact-via-card:hover {
    transform: translateY(-3px);
}

.contact-via-title {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.contact-via-title i {
    color: #1AA8B2;
    font-size: 14px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 7px 50px 0px 0;
  font-size: 14px;
  color: #1E293B;
}

.contact-info-row i {
    font-size: 14px;
    flex-shrink: 0;
}

.support-card {
  background: #F9FAFB;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.support-card-title {
  font-size: 14px;
  color: #364153;
  margin-bottom: 14px;
  text-align: right;
  line-height: 1.6;
}

.support-info-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #231F20;
}

.support-info-row i {
    color: #1DB8C3;
    font-size: 14px;
    flex-shrink: 0;
}

/* ---- Main Details Card ---- */
.complete-main-card {
    background: #F9FAFB;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.complete-card-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.complete-inner-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

.complete-inner-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  padding-bottom: 5px;
}

.complete-inner-card-header .card-icon {
    width: 36px;
    height: 36px;
    background: #E9FAFC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1AA8B2;
    font-size: 15px;
    flex-shrink: 0;
}

.complete-inner-card-header h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
}

.complete-details-table {
    width: 100%;
}

.complete-details-table tr td {
    padding: 4px 4px;
    font-size: 13.5px;
    vertical-align: middle;
}

.complete-details-table tr:last-child td {
    border-bottom: none;
}

.complete-details-table td:first-child {
    color: #64748B;
    text-align: right;
}

.complete-details-table td:last-child {
    color: #1E293B;
    text-align: left;
}

.complete-details-table[hidden] {
    display: none !important;
}

@media (max-width: 767.98px) {
    .complete-inner-card-header {
        cursor: pointer;
        margin-bottom: 0;
    }

    .complete-inner-card-header::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #1AA8B2;
        margin-inline-start: auto;
        transition: transform 0.2s ease;
    }

    .complete-inner-card.is-expanded .complete-inner-card-header {
        margin-bottom: 16px;
    }

    .complete-inner-card.is-expanded .complete-inner-card-header::after {
        transform: rotate(180deg);
    }
}

/* ---- Back Button ---- */
.btn-outline-pill-teal {
    border: 2px solid #1AA8B2;
    color: #1AA8B2;
    border-radius: 50px;
    padding: 11px 50px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    background: transparent;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-pill-teal:hover {
    background: #1AA8B2;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(26, 168, 178, 0.25);
}

/* alert Bar */
.alert-info-bar {
    background: #E6F7FF;
    border: 1px solid #91D5FF;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    margin-top: -30px;
}

.alert-info-bar p {
    font-size: 14px;
    color: #364153;
    line-height: 1.6;
}

.alert-info-bar.alert-success {
    background: #F6FFED;
    border: 1px solid #B7EB8F;
}

.alert-info-bar.alert-success img {
    width: 15px;
    filter: brightness(1) invert(0);
}

.alert-info-bar.alert-success i {
    color: #00806C;
}

@media (max-width: 767.98px) {
    .alert-info-bar .d-flex {
        align-items: flex-start;
    }

    .alert-info-bar .security-info-text-wrapper .d-md-none {
        position: relative;
    }

    .alert-info-bar .security-info-preview {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        padding-inline-end: 70px;
        margin-bottom: 0;
    }

    .alert-info-bar .security-info-preview.expanded {
        display: block;
        -webkit-line-clamp: unset;
        padding-inline-end: 0;
    }

    .alert-info-bar .security-info-toggle {
        position: absolute;
        inset-inline-end: 0;
        bottom: 0;
        color: #00806C;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        line-height: 1.4;
        margin-top: 0;
    }

    .alert-info-bar .security-info-preview.expanded + .security-info-toggle {
        position: static;
        margin-top: 6px;
    }

    .alert-info-bar .security-info-toggle .toggle-icon {
        transition: transform 0.2s ease;
    }

    .alert-info-bar .security-info-toggle[aria-expanded="true"] .toggle-icon {
        transform: rotate(180deg);
    }
}

/* Form Card */
.fund-request-page .wizard-content-card {
    background: #F9FAFB;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.fund-request-page .wizard-content-card .step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.fund-request-page .wizard-content-card .step-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.fund-request-page .wizard-content-card .spec-card-details {
    background: var(--light-bg);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Form Controls */
.fund-request-page .form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    display: block;
    font-size: 12px;
}

.hints-label {
    font-size: 12px;
    color: var(--primary-color);
}

.fund-request-page .form-control,
.fund-request-page .form-select {
    height: 60px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 0 20px;
    font-size: 16px;
    background-color: var(--light-bg);
    transition: all 0.3s;
    font-weight: 400;
}
.fund-request-page textarea.form-control {
  padding-top: 10px;
  resize: none;
}

.fund-request-page .form-control[type=email] , .fund-request-page .form-control[type=number] {
    direction: rtl;
}
.fund-request-page .form-control[type=number]::-webkit-outer-spin-button,
.fund-request-page .form-control[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.fund-request-page .form-control[type=number] {
  -moz-appearance: textfield;
}
/*.fund-request-page .form-control.is-invalid ,.fund-request-page .form-select.is-invalid ,.fund-request-page .form-control.is-invalid + .input-group-text  {*/
/*  margin-bottom: 30px;*/
/*}*/
.fund-request-page .form-control:focus,
.fund-request-page .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 191, 199, 0.1);
    background-color: var(--light-bg);
}

/* Select2 Customization */
.select2-container--default .select2-selection--single {
    height: 60px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    background-color: var(--light-bg) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 58px !important;
    padding-right: 20px !important;
    text-align: right !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 58px !important;
    left: 15px !important;
    right: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%23364153' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 16px !important;
    height: 10px !important;
    margin-top: 0 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transition: transform 0.3s ease !important;
    opacity: 0.6;
}

.fund-request-page .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(180deg) !important;
}

.fund-request-page .wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.fund-request-page .wizard-actions .btn {
    min-width: 257px;
    justify-content: center;
    gap: 10px;

}


/* Buttons */
.fund-request-page .btn-primary-teal {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 17px 40px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border: none;
    justify-content: center;
}

.fund-request-page .terms-modal-btn {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 13px 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border: none;
    justify-content: center;
    width: 60%;
    margin: auto;
    font-weight: 400;
}

.fund-request-page .btn-primary-teal:hover,
.fund-request-page .terms-modal-btn:hover {
    background-color: #0b5963;
    transform: translateY(-2px);
}

.fund-request-page .btn-outline-teal {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 13px 40px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
}

.unavailable-car-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    color: #147E85;
    gap: 20px;

}

.unavailable-car-head {
    color: #147E85;
}

.unavailable-car-button {
    color: #147E85;
    border-radius: 8px;
    font-size: 16px;
    padding: 8px 60px;
    border: 1px solid #147E85 !important;
}

.unavailable-car-prev {
    color: var(--text-gray);
}

/* Sidebar Progress */
.fund-request-page .progress-indicator-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.form-check-input {
    width: 19px;
    height: 19px;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.fund-request-page .progress-indicator-card .card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.fund-request-page .steps-nav .step-nav-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.fund-request-page .steps-nav .step-nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 35px;
    right: 20px;
    width: 2px;
    height: calc(100% - 0px);
    background: var(--border-color);
}

.fund-request-page .steps-nav .step-nav-item .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.3s;
}

.fund-request-page .steps-nav .step-nav-item .step-icon img {
    width: 20px;
}

.fund-request-page .steps-nav .step-nav-item .step-name {
    display: block;
    font-weight: 600;
    color: #64748B;
    font-size: 15px;
}

.fund-request-page .steps-nav .step-nav-item .step-desc {
    display: block;
    color: var(--text-gray);
    font-size: 13px;
}

.fund-request-page .steps-nav .step-nav-item.active .step-icon {
    background: #7AE4EB ;
    color: var(--light-bg);
    box-shadow: 0 0 0 6px rgba(20, 126, 133, 0.1);
    animation: pulse-active 2s infinite;
    position: relative;
    overflow: hidden;
    width: 25px;
    height: 25px;
    margin: 8px;
}

.fund-request-page .steps-nav .step-nav-item.active .step-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: flash-shimmer 1s infinite;
}


.fund-request-page .steps-nav .step-nav-item.active .step-icon img {
    opacity: 0;
}

@keyframes pulse-active {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 228, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(122, 228, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(122, 228, 235, 0);
    }
}

.fund-request-page .steps-nav .step-nav-item.active .step-name {
    color: var(--dark-text);
}

.fund-request-page .steps-nav .step-nav-item.completed .step-icon {
    background: #7AE4EB ;
    color: #141B34;
    box-shadow: 0 0 0 10px rgba(122, 228, 235, 0);
    outline: 5px solid #D3F6F8;
}

.fund-request-page .steps-nav .step-nav-item.completed .step-icon img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(6037%) hue-rotate(197deg) brightness(99%) contrast(94%);
}

/* Progress Section */
.fund-request-page .progress-bar-container {
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    position: relative;
    margin-top: 15px;
}

.fund-request-page .progress-fill {
    height: 100%;
    background: #7AE4EB;
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.fund-request-page .progress-car {
    position: absolute;
    top: -12px;
    left: -20px ;
    right: unset ;
    transition: right 0.5s ease;
    color: var(--primary-color);
    font-size: 18px;
    z-index: 3;
}

.fund-request-page .progress-car img {
    width: 22px;
}

/* Footer Decoration */
.fund-request-footer {
    width: 100%;
    background-image: url(../img/fund-request/footer-section-bg.svg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0;
    background-color: transparent;
    position: relative;
    height: 226px;
}

.fund-request-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 260px;
    height: 133px;
    background-image: url("../img/fund-request/car-footer.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}

.fund-request-footer .footer-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 20px;
}

.fund-request-footer h3 {
    font-weight: 700;
    color: var(--dark-text);
    font-size: 31px;
    position: relative;
    top: 40px;
}

/* Info Card (Step 3) */
.fund-request-page .info-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.fund-request-page .info-card .info-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: right;
}

.fund-request-page .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fund-request-page .info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

.fund-request-page .info-list .badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #43BFC7;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 400;
}

/* Error Labels */
.fund-request-page .error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 3px;
    display: block;
    text-align: right;
    bottom: -20px;
    position: absolute;
}

.fund-request-page .form-group,
.fund-request-page .col-md-6 {
    position: relative;
}

/* Utility to hide steps */


.text-teal {
    color: var(--primary-color) !important;
}

.total-progress-section .progress-step-text {
    font-size: 12px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color);
    color: var(--light-bg);
    position: relative;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--primary-color);
    color: var(--light-bg);
}

.select2-container--default .select2-results__option[aria-selected="true"]::after {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 20px;
    transform: translateY(-50%);
    color: var(--light-bg);
    font-weight: bold;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 57px;
    color: #E91E63;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
    margin-left: 25px;
    padding: 10px;
}

.form-control-radio-btn {
    display: flex;
    background-color: var(--light-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px;
    height: 58px;
    justify-content: flex-start;
    align-items: center;
    padding: 0 15px;
    position: relative;
}

.form-control-radio-btn .form-check {
    width: 200px;
    max-width: 49%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-control-radio-btn .form-check-input {
    width: 24px;
    height: 24px;
    position: relative;
    top: -2px;
}

.success-icon-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 10px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    background-color: #f1fefb;
    border-radius: 50%;
}

.success-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 85px;
    height: 85px;
    background-color: #e3faf6;
    border-radius: 50%;
}

.success-icon-circle {
    width: 65px;
    height: 65px;
    background-color: #fff;
    border: 4px solid #1ebbad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1ebbad;
    font-size: 30px;
    position: relative;
    z-index: 2;
}

.success-icon-circle::after {
    display: none;
}

.btn-primary-teal {
    background-color: #1ebbad;
    border-color: #1ebbad;
    color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-teal:hover {
    background-color: #17a094;
    border-color: #17a094;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 187, 173, 0.2);
}

.btn-primary-pill-teal {
    background: #1AC0C6;
    color: white;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}
.header-title-container {
  text-align: start;
}
.btn-primary-pill-teal:hover {
    background: #14a0a5;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(26, 192, 198, 0.4);
}

.btn-primary-pill-teal i {
    font-size: 20px;
}

.btn-outline-pill-teal {
    background: white;
    color: #1AC0C6;
    border: 1px solid #1AC0C6;
    padding: 14px 40px;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.btn-outline-pill-teal:hover {
    background: #f0fdfe;
    color: #1AC0C6;
    border-color: #1AC0C6;
    transform: translateY(-3px);
}

.shadow-teal {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
}

.btn-outline-teal {
    color: #1ebbad;
    border: 1px solid #1ebbad;
    background-color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-teal:hover {
    background-color: #f0fdf9;
    border-color: #17a094;
    transform: translateY(-2px);
}



.btn-close {
    opacity: 0.8;
    transition: all 0.2s;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

#successModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#successModal .modal-title {
    color: #333;
    font-size: 20px;
}

#successModal p {
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 991px) {

    .progress-indicator-card .steps-nav .step-nav-item .step-desc {
        display: none;
    }

    .progress-indicator-card .steps-nav .step-nav-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
      text-align: center;
    }

    .wizard-actions {
        position: fixed;
        z-index: 1000;
        bottom: 0;
        width: 100%;
        left: 0;
        padding: 15px;
        background-color: #fff;
    }

    .fund-request-footer {
        background-position: right;
        height: 122px;
        margin-top: 55px;
    }

    .fund-request-footer::after {
        width: 165px;
        height: 81px;
    }

    .fund-request-footer h3 {
        display: none;
    }

    .fund-request-page .wizard-actions .btn {
        min-width: 49%;
    }

    .fund-request-page .fund-request-header {
        padding: 40px 0 60px;
    }

    .fund-request-page .wizard-content-card {
        padding: 25px;
    }

    .fund-request-page .progress-indicator-card {
        position: static;
        margin-top: 20px;
    }
    .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
      margin-left: 10px;
      margin-right: 0;
      padding: 10px 10px 10px 20px;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
      left: 8px !important;
    }
    .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
      padding-left: 0;
    }
}



.blocking-alert {
    background-color: #fff1f0;
    border: none;
    border-radius: 12px;
    padding: 15px 25px;
    color: #f5222d;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    width: 100%;
}

.blocking-alert span {
    flex-grow: 1;
    text-align: start;
}

.blocking-alert i {
    font-size: 12px;
    background-color: #f5222d;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.loading-alert {
  background-color: #e9fafc;
  border: 1px solid #7AE4EB;
  border-radius: 12px;
  padding: 15px 25px;
  color: #147E85;
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  width: 100%;
}

.loading-alert span {
  flex-grow: 1;
  text-align: start;
  color: #147E85;
}

.loading-alert i {
  font-size: 16px;
  color: #1AA8B2;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.confirmation-actions-container {
    margin: 30px auto;
    gap: 10px;
}


.offer-summary-box.golden-offer .offer-name {
    color: #B88D00 !important;
}

.offer-summary-box.golden-offer .stars i {
    color: #B88D00 !important;
}
.privacy-notice {
  background: #f6ffedcc;border:
  1px solid #B7EB8F;

}

/* Shake animation for validation errors */
.error-shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    border-color: #dc3545 !important;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Absher Failed Modal Styles */
.absher-icon-wrapper.failed .absher-icon-circle {
    background-color: #fff1f2 !important;
    border-color: #fecaca !important;
    color: #ef4444 !important;
}

#absherOtpFailedModal .modal-title {
    color: #1a1a1a;
    font-size: 20px;
}

#absherOtpFailedModal .modal-subtitle {
    color: #666;
    line-height: 1.5;
}

.session-expired-modal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.session-expired-modal .modal-body {
    padding: 16px 8px 12px;
}

.session-expired-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(26, 168, 178, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.session-expired-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.session-expired-modal .modal-title {
    color: #333;
    font-size: 20px;
    line-height: 1.45;
    max-width: 340px;
    margin-inline: auto;
}

.session-expired-progress {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: #e7e7e7;
    overflow: hidden;
    direction: ltr;
}

.session-expired-progress-fill {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--primary-color);
}

.session-expired-progress-fill.is-running {
    animation: session-expired-countdown 5s linear forwards;
}

@keyframes session-expired-countdown {
    from { width: 100%; }
    to { width: 0; }
}
.text-danger {
    color: #ef4444 !important;
}

/* =========================================
   Financing Offers Step 3 – fo-* classes
   ========================================= */

/* Eligibility / Congrats Banner */
.fo-congrats-banner {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
}



.fo-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.fo-banner-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.fo-banner-amount {
    font-size: 22px;
    font-weight: 900;
}

.fo-banner-subtitle {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 0;
}

.fo-banner-car-img {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 120px;
}

.fo-banner-car-img img {
    width: 100%;
    object-fit: contain;
}

.fo-riyal-icon {
    height: 14px;
    width: auto;
    vertical-align: middle;
}

/* Info Alert */
.fo-info-alert {
    background: #E6F7FF;
    border: 1px solid #91D5FF;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #364153;
    line-height: 1.6;
}

.fo-info-alert i {
    color: #1890ff;
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Cars Section */
.fo-cars-section {
    margin-bottom: 8px;
}

.fo-cars-section-header {
    margin-bottom: 6px;
}

.fo-cars-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.fo-cars-count {
    font-size: 13px;
    color: #64748b;
}

/* Select Hint Bar */
.fo-select-hint {
    background:#e9fafc ;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #1A1A1A;
  justify-content: center;
}



/* Car Cards List */
.fo-cars-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Car Card */
.fo-car-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fo-car-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.fo-car-img-wrapper {
    flex-shrink: 0;
    width: 110px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fo-car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fo-car-info {
    flex: 1;
    min-width: 0;
}

.fo-car-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    text-align: right;
}

/* Specs row */
.fo-car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.fo-spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
}

.fo-spec-item img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: 0.7;
}

/* Card Footer: price + actions */
.fo-car-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.fo-car-price {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fo-price-value {
    font-size: 18px;
    font-weight: 700;
}

.fo-car-actions {
    display: flex;
    gap: 8px;
}

/* Details button (outline) */
.fo-btn-details {
  border: 1px solid #1AA8B2;
  color: #1AA8B2;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 13px;
    background: #fff;
    transition: all 0.2s;
}

.fo-btn-details:hover {
    border-color: #1AA8B2;
    color: #1AA8B2;
}

/* Request Financing button (solid teal) */
.fo-btn-request {
    background: #1AA8B2;
    color: #fff;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 13px;
    border: none;
    transition: all 0.2s;
}

.fo-btn-request:hover {
    background: #0e8a93;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,168,178,0.25);
}

/* Bottom CTA + Contact */
.fo-bottom-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
}

/* Contact Footer */
.fo-contact-footer {
  text-align: center;
  background: #fff;
  padding: 20px;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
}

.fo-contact-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.fo-contact-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.fo-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1AA8B2;
    text-decoration: none;
    transition: color 0.2s;
}

.fo-contact-item:hover {
    color: #0e8a93;
}

.fo-contact-item i {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .fo-congrats-banner {
      flex-direction: column;
      align-items: flex-start;
      padding: 5px 0px;
    }

  .unavailable-car-button {
    padding: 8px 15px;
  }


  .fo-banner-car-img {
        display: none;
    }

    .fo-car-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .fo-car-img-wrapper {
        width: 100%;
        height: 140px;
    }




    .fo-car-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
.unavailable-offers {
    text-align: center;
}
.unavailable-offers img {
  padding: 30px 0;
}
.unavailable-offers-head {
  color: #1F2937;
  font-size: 20px;
  font-weight: 700;
}
.unavailable-offers-head span {
  display: block;
  font-size: .73em;
  font-weight: 400;
}
#dobGroup .error {
  position: static;
}
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

@font-face {
  font-family: 'tajawal-regular';
  src: url('../fonts/Tajawal/Tajawal-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'tajawal-medium';
  src: url('../fonts/Tajawal/Tajawal-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'tajawal-bold';
  src: url('../fonts/Tajawal/Tajawal-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-medium';
  src: url('../fonts/roboto/Roboto_Condensed-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Regular';
  src: url('../fonts/roboto/Roboto_Condensed-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'poppins-Regular';
  src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
}


:root {
  --primary-color: #1AA8B2;
  --secondary-color: #009DA3;
  --light-theme: #E9FAFC;
  --bg-gray: #f4f4f4;
  --dark-bg: #111111;
  --dark-text: #1E293B;
  --light-bg: #FFFFFF;
  --black-text: #000000;
  --text-gray: #666666;
  --dark-gray: #94A3B8;
  --border-color: #E2E8F0;
  --font-main: 'tajawal-regular';
  --font-main-medium: 'tajawal-medium';
  --font-main-bold: 'tajawal-bold';
  --shadow-main: 0px 25px 50px -12px #0000000D;
}

body {
  font-family: 'tajawal-regular';
}



h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: 'tajawal-regular';
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  padding: 10px 0;
  background: var(--light-bg);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar .dropdown-menu {
  padding: 0;
}

.navbar-brand .logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .logo-text img {
  height: 40px;
}

.navbar-brand .logo-text span {
  color: var(--primary-color);
}


.nav-link {
  font-weight: 500;
  color: var(--dark-text) !important;
  margin: 0 15px;
  font-size: 1.05rem;
  padding: 5px 0 !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 3px solid var(--primary-color);
}

.lang-switch-btn {
  border: 1px solid var(--border-color);
  background: var(--light-bg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 50px;
  color: var(--dark-text);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
}

.lang-switch-btn:hover {
  border-color: var(--primary-color);
  background: var(--border-color);
}

/* Custom CSS Arrow */
.lang-switch-btn::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-gray);
  border-bottom: 2px solid var(--text-gray);
  transform: rotate(45deg);
  margin-top: -4px;
  margin-left: 4px;
  transition: 0.3s;
  border-left: none !important;
  border-top: none !important;
}

.lang-switch-btn.show::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.dropdown-menu-end .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 8px;
  margin-top: 10px !important;
}

.dropdown-menu-end .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
  color: var(--dark-text);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(26, 192, 198, 0.05);
  color: var(--primary-color);
}


/* Custom Switch for Dark Mode */
.custom-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-switch .form-check-input {
  width: 60px !important;
  height: 36px !important;
  background-color: var(--light-bg) !important;
  border-color: var(--border-color) !important;
  background-image: url("../img/btn-toggle.svg") !important;
  background-size: 24px !important;
  background-position: left 4px center !important;
  cursor: pointer;
  border-radius: 50px;
  position: relative;
  top: -2px;
}

.custom-switch .form-check-input:checked {
  background-color: #333333 !important;
  border-color: #333333 !important;
  background-image: url("../img/dark-toggle.svg") !important;
  background-position: right 4px center !important;
}

/* Hero Section */
.banner-slider .item {
  position: relative;
  height: 560px;
  display: flex;
  align-items: baseline;
  overflow: hidden;
  padding-top: 110px;
  width: calc(100% + 4px);
  left: -1px;
  position: relative;
}

.img-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 102% !important;
  top: 0;
  left: -1%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  animation: move-right 10s linear infinite;
}

.img-item {
  position: absolute;
  top: 100px;
  left: 30px;
  height: 450px;
  width: unset !important;
  z-index: 1;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.owl-item.active .img-item {
  opacity: 1;
  transform: translateX(0);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0.5s;
}

@keyframes move-right {
  0% {
    transform: translateX(-1%);
  }

  50% {
    transform: translateX(1%);
  }

  100% {
    transform: translateX(-1%);
  }
}

/* .hero-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-text);
  opacity: 0.3;
} */

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
  width: 482px;
  max-width: 100%;
}

.banner-slider .item {
  position: relative;
}

.hero-subtitle-top {
  font-size: 21px;
  color: #fff;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 45px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 100px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-title span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 15px;
  right: 0;
  width: 100%;
  height: 10px;
  background: rgba(26, 192, 198, 0.15);
  z-index: -1;
  border-radius: 5px;
}

/* Sticky Navbar */
.navbar.sticky-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.btn-main {
  padding: 6px 30px;
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  font-size: 14px;
  height: 44px;
  min-width: 177px;
  justify-content: center;
}

.owl-carousel .owl-item .btn-main img,
.btn-main img {
  width: 16px;
}

.btn-primary-teal {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(26, 192, 198, 0.2);
}

.price-sidebar-card .btn-primary-teal {
  height: 56px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 500;
  width: 100%;
}

.btn-secondary-teal {
  background: var(--light-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}

/* Footer improvements */
footer {
  background: #EBEEF1;
  padding: 50px 0 30px;
}

footer .list-unstyled li a:hover {
  color: var(--primary-color) !important;
  padding-right: 5px;
  transition: 0.3s;
}

.footer-head {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-main-medium);
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}


/* Car Dots (Slider Pagination) */
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.owl-carousel,
.owl-stage-outer {
  overflow: hidden !important;
  /* Prevent browser from scrolling container on focus */
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: auto !important;
}

/*
 * NOTE:
 * The rule below is intentionally scoped to single-item carousels
 * (e.g. hero sliders). Applying it globally caused multi-item
 * carousels like `.brand-slider` and `.testimonials-slider` to have
 * their items vanish while the user was dragging/grabbing, because
 * Owl toggles the `.active` class on items during drag.
 */
.hero-slider .owl-item:not(.active),
.single-item-slider .owl-item:not(.active) {
  pointer-events: none;
  visibility: hidden;
}

.hero-slider .owl-item.active,
.single-item-slider .owl-item.active {
  pointer-events: auto;
  visibility: visible;
}

/* Safety net: make sure multi-item carousels always keep their items visible,
   even if some other rule tries to hide non-active items. */
.brand-slider .owl-item,
.testimonials-slider .owl-item {
  visibility: visible !important;
  pointer-events: auto !important;
}

.owl-carousel .owl-dots .owl-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background: #94A3B8 !important;
  cursor: pointer;
  transition: 0.3s;
  padding: 0 !important;
  border: none !important;
}

.owl-carousel .owl-dots .owl-dot.active {
  width: 30px !important;
  border-radius: 10px !important;
  background: var(--primary-color) !important;
}

.owl-carousel .owl-dots {
  bottom: 80px;
}

@keyframes opacity {
  0% {
    opacity: 0.2;
    /* Start at normal size */
  }

  50% {
    opacity: 0.4;
    /* Scale up */
  }

  100% {
    opacity: 0.2;
    /* Return to normal size */
  }
}


/* Hero Hints Styles */

/* Individual Hints Customization */

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}


/* Compare Section Styles */
.compare-section-wrapper {
  background: #F2F2F280;
  min-height: 100vh;
  padding-top: 120px;
}

.compare-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.compare-header {
  background: #1AA8B2;
  color: #fff;
  padding: 20px 30px 1px;
}

.compare-stars-inline-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.compare-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.compare-stars i {
  color: #B88D00;
}

.compare-offer-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  transition: color 0.3s;
}

.compare-offer-title.gold-title {
  color: #B88D00;
}

.compare-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

#backToOffersBtn {
  padding: 12px 20px;
  width: 40%;
}

.compare-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.compare-table th,
.compare-table td {
  padding: 20px;
  border: 1px solid #F1F5F9;
  min-width: 200px;
}

.compare-table .criteria-col,
.compare-table .criteria-label {
  background: #fff;
  font-weight: 700;
  color: #1E293B;
  text-align: right;
  min-width: 150px;
  position: sticky;
  right: 0;
  z-index: 2;
}

.compare-bank-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.compare-bank-logo img {
  max-width: 100%;
  max-height: 100%;
}

.best-value {
  background-color: #0596691A !important;
}


.best-badge {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}

.compare-table .value {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
}

.btn-outline-teal {
  border: 2px solid #1AA8B2;
  color: #1AA8B2;
  transition: all 0.3s;
}


/* Mobile Offcanvas Filter Styles */
@media (max-width: 991.98px) {
  .offcanvas-title {
    display: block;
    text-align: center;
    width: 100%;
  }

  .filter-sidebar-offcanvas {
    width: 100% !important;
    border: none !important;
    transition: transform 0.3s ease-in-out !important;
  }

  .filter-sidebar-offcanvas.showing,
  .filter-sidebar-offcanvas.show:not(.hiding) {
    transform: none !important;
  }

  .offcanvas-backdrop.show {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
  }

  .filter-sidebar-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
  }

  .filter-sidebar-offcanvas .offcanvas-body {
    padding: 20px 15px;
    background-color: var(--light-bg);
  }

  .filter-sidebar-offcanvas .filter-sidebar {
    background: transparent;
    padding: 15px;
    box-shadow: none;
  }

  .filter-sidebar-offcanvas .filter-section {
    margin-bottom: 15px;
  }

  .filter-sidebar-offcanvas .filter-accordion-header {
    background: var(--light-bg);
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 15px;
  }

  .filter-sidebar-offcanvas .filter-accordion-header:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .filter-accordion-body {
    padding: 0 5px;
  }

  .filter-sidebar-offcanvas .filter-accordion-body {
    border: 1px solid #F1F5F9;
    border-top: none;
    background: var(--border-color);
  }

  .filter-sidebar-offcanvas .range-container-car-list {
    margin-top: 30px;
    padding: 0;
  }

  .price-badge-item {
    background: #edf9fa;
    color: #364153;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 100px;
  }

  .price-badge-item img {
    width: 12px;
  }

  .filter-mobile-footer {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .btn-filter-submit {
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
  }

  .reset-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
  }
}

/* Hide hints on small mobile devices to avoid overlap */

@media (max-width: 480px) {
  .img-banner {
    object-position: -220px;
  }
}

/* Car List Page Styles */
.car-list-page {
  padding: 20px 0;
  margin-top: 80px;
  /* Offset for fixed navbar */
}

.car-list-header {
  margin-bottom: 30px;
}

.car-list-header .breadcrumb-style {
  font-size: 15px;
  color: var(--black-text);
  margin-bottom: 10px;
}

.car-list-header .breadcrumb-style a {
  color: var(--dark-text);
  text-decoration: none;
  display: inline-block;
}

.car-list-header .breadcrumb-style span {
  color: var(--primary-color);
}

.car-list-header .page-title-section {
}

.car-list-header .page-title-section h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0 0 10px;
}

.car-list-header .results-count {
  display: flex;
  align-items: center;
  gap: 15px;
}

.car-list-header .btn-filter {
  width: 38px;
  background-color: transparent;
  border: 2px solid var(--border-color);
  border-radius: 11px;
  height: 38px;
  display: none;
  /* Hidden by default (on Desktop) */
  align-items: center;
  justify-content: center;
}

.offcanvas-lg {
  background-color: var(--light-bg);
}

.offcanvas-lg .offcanvas-title {
  color: var(--dark-text);
}

@media (max-width: 991px) {
  .car-list-header .btn-filter {
    display: flex;
  }

  .car-list-header .results-count {
    justify-content: space-between;
    width: 100%;
  }
}

.car-list-header .results-count button img {
  width: 20px;
}

.car-list-header .results-count span {
  color: #999999;
  font-size: 16px;
  font-weight: 500;
}

/* Sidebar Styles */
.filter-sidebar {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 20px 14px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.filter-sidebar .filter-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 20px;
  font-size: 16px;
  justify-content: center;
}

.filter-sidebar .filter-header i {
  color: var(--primary-color);
}

.filter-sidebar .filter-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.filter-sidebar .results-num {
  color: var(--dark-text);
  font-size: 14px;
}

.filter-sidebar .reset-btn {
  color: var(--primary-color);
  text-decoration: none;
}

.filter-section {
  margin-bottom: 15px;
}

.filter-section .filter-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--light-bg);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-text);
}

.filter-section .filter-accordion-header.collapsed {
}

.filter-section .filter-accordion-header:hover {
  border-color: var(--primary-color);
  background: var(--light-bg);
}

.filter-section .filter-accordion-header .arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: #94A3B8;
}

.filter-section .filter-accordion-header:not(.collapsed) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--light-bg);
  border-bottom-color: transparent;
  border: 1px solid var(--border-color);
}

.filter-section .filter-accordion-header:not(.collapsed) .arrow {
  transform: rotate(180deg);
}

.filter-section .filter-accordion-body {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px 5px;
}

.filter-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--light-bg);
  color: #64748B;
  font-size: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
}

.custom-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark-text);
  padding: 5px 15px;
  border-bottom: 1px solid var(--light-bg);
}

.custom-check:last-child {
  border: none
}

.custom-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--light-bg);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.custom-check input::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0) rotate(10deg);
  transition: 120ms transform ease-in-out;
  background-color: var(--light-bg);
  /* Using a thin checkmark SVG path */
  clip-path: polygon(14% 44%, 0 58%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-check input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-check input:checked::before {
  transform: scale(1) rotate(10deg);
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.year-item {
  padding: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  color: var(--dark-text);
  cursor: pointer;
  transition: 0.3s;
}

.year-item.active {
  background-color: var(--primary-color);
  color: var(--light-bg);
  border-color: var(--primary-color);
}

.btn-filter-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--light-bg);
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 10px;
  transition: 0.3s;
}

/* Car Card V2 */
.car-card {
  display: block;
  background: var(--light-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.car-card .car-img-wrapper {
  position: relative;
  height: 218px;
  overflow: hidden;
}

.car-card .car-img-wrapper img {
  width: calc(100% + 30px);
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.car-card .car-img-wrapper img.stop-animation {
  transition: none;
  width: 100%;
}

.car-card:hover .car-img-wrapper img.stop-animation {
  transform: none
}

.car-card:hover .car-img-wrapper img {
  transform: translateX(25px);
}

.car-card .card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(26, 192, 198, 0.9);
  color: var(--light-bg);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.car-card .car-info-body {
  padding: 15px 15px 20px;
}

.car-card .car-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 5px;
}

.car-card .car-card-description {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.car-card .car-specs-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.car-card .car-specs-grid .spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.car-card .car-specs-grid .spec-item img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.car-card .car-specs-grid .spec-item span {
  font-size: 12px;
  color: var(--text-gray);
}

.car-card .car-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #F1F5F9;
}

.car-card .card-price {
  font-weight: 800;
  color: #031516;
  font-size: 20px;
}

.card-price img {
}

.card-price span img {
  display: inline-block !important;
  width: 12px !important;
}

.car-card .btn-card-more {
  background-color: var(--primary-color);
  color: var(--light-bg);
  border-radius: 5px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  min-width: 120px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(26, 192, 198, 0.2);
}

.car-card .btn-card-more:hover {
  background-color: #147e85;
  color: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 192, 198, 0.3);
}

.cards-list-selected .car-card {
  display: flex;
  margin-bottom: 0;
  align-items: center;
}

.cards-list-selected .car-card .car-specs-grid {
  padding-bottom: 15px;
  margin-bottom: 8px;
  border-bottom: 1px solid #F2F2F2
}

.cards-list-selected .car-card .car-info-body {
  padding: 10px 10px 10px;
  min-width: 220px;
  width: calc(100% - 320px);
}

.cards-list-selected .car-card .car-card-footer {
  padding-top: 5px;
  border: none;
}

.cards-list-selected .car-card .btn-card-more {
  border-radius: 5px;
  padding: 8px 4px;
  font-size: 12px;
  min-width: 70px;
}

.cards-list-selected .car-card .car-img-wrapper {
  height: 130px;
  border-radius: 20px;
  width: 230px;
  overflow: hidden;
  margin: 16px;
}

.cards-list-selected .car-card .car-img-wrapper img {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  max-width: 280px;
  max-height: 280px;
  width: 100%;
  height: 100%;
}

.cards-list-selected .car-card .card-price {
  font-size: 23px
}

.cards-list-selected .card-price span img {
  display: inline-block !important;
  width: 26px !important;
}

.cards-list-selected .car-color {
  align-items: center;
  gap: 5px;
  display: flex;
}

.cards-list-selected .car-color .value {
  border: 2px solid #E5E7EB;
  border-radius: 50%;
  width: 18px;
  height: 18px;
}

.cards-list-selected .car-card .car-specs-grid .spec-item span {
  font-size: 16px;
}

.load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--light-theme);
  color: var(--primary-color);
  padding: 12px 40px;
  border-radius: 15px;
  font-weight: 700;
  margin: 20px auto;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  min-width: 260px;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: var(--light-bg);
  transform: translateY(-2px);
}

.load-more-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.load-more-btn .fa-spinner {
  animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Price Range Slider - Scoped to Car List */
.range-container-car-list.range-container {
  background: var(--light-bg);
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 20px;
  height: max-content;
  display: block;
  border: none
}

.range-container-car-list .range-label {
  display: block;
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 0px;
}

.range-container-car-list .range-sub-labels {
  font-size: 11px;
  color: var(--dark-text);
  font-weight: 500;
}

.range-container-car-list .range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  font-size: 14px;
  color: var(--black-text);
  padding-inline: 50px;
}

/* noUiSlider Customization */
.range-container-car-list .noUi-target {
  background: #EBF8F9;
  border: none;
  box-shadow: none;
  height: 6px;
  border-radius: 10px;
}

.range-container-car-list .noUi-connect {
  background: var(--primary-color);
}

.range-container-car-list .noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--light-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  right: -9px;
  /* Half of width */
  top: -6px;
}

.range-container-car-list .noUi-handle::before,
.range-container-car-list .noUi-handle::after {
  display: none;
}

.range-container-car-list .price-range-container {
  width: calc(100% - 130px);
}

.title-section {
  padding: 20px 0;
}

.title-section.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-section h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0;
}

.title-section a {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 991px) {
  .hide-in-mobile {
    display: none !important;
  }

  .filter-items {
    display: flex;
    flex-direction: column;
  }

  .filter-items .range-container-car-list {
    order: 2;
    margin-top: 0;
  }

  .range-container-car-list .range-label {
    font-size: 15px;
    text-align: center;
    font-weight: 400;
    color: var(--dark-text);
  }

  .car-list-page {
    margin-top: 60px;
  }

  .car-list-header .page-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .offcanvas-lg.filter-sidebar-offcanvas:not(.show) {
    display: none;
  }
}

@media (min-width: 992px) {
  .price-badge-item img {
    display: none;
  }

  .range-values .range-label {
    display: none;
  }

  .show-in-mobile {
    display: none !important;
  }

  .offcanvas-lg.filter-sidebar-offcanvas {
    display: block !important;
    transform: none !important;
    visibility: visible !important;
    position: static !important;
    z-index: auto !important;
  }

  .filter-sidebar-offcanvas .offcanvas-body {
    padding: 0 !important;
    overflow-y: visible !important;
  }
}

.search-wrapper {
  margin: -45px auto 0 !important;
}

/* Cards Carousel Dots */
.cards-home-page.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cards-home-page.owl-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background: var(--border-color) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: none !important;
  padding: 0 !important;
}

.cards-home-page.owl-carousel .owl-dots .owl-dot.active {
  background: var(--primary-color) !important;
  width: 30px;
  border-radius: 10px;
}

@media (min-width: 1200px) {
  .cards-home-page.owl-carousel .owl-dots {
    display: none;
  }
}

/* Car Details Page Styles */
.section-padding-top {
  padding-top: 120px;
}

.details-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1;
}

.details-subtitle {
  font-size: 15px;
  color: var(--dark-text);
}

.btn-share-details {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--light-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-share-details:hover {
  background: var(--primary-color);
}

.details-quick-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-item {
  background: var(--primary-color);
  color: var(--light-bg);
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-item img {
  filter: brightness(0) invert(1);
  width: 18px;
}

/* Gallery */
.main-gallery-slider {
  border-radius: 25px;
  overflow: hidden;
}

.zoom-box {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  border-radius: 25px;
  height: 480px;
  border: 2px solid var(--border-color);
}

.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
}

.gallery-zoom-label {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: rgb(0 0 0 / 20%);
  white-space: nowrap;
  pointer-events: none;
  padding: 5px;
  border-radius: 10px;
}

.gallery-zoom-label i {
  font-size: 13px;
}

.gallery-thumbs .thumb-item {
  width: calc(14.28% - 8px);
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
  position: relative;
}

.gallery-thumbs .thumb-item.active {
  border-color: var(--primary-color);
}

.gallery-thumbs .thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs .thumb-item.has-overlay .thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.section-title-details {
  font-size: 20px;
  font-weight: 800;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.overview-text {
  color: var(--dark-text);
  line-height: 1.8;
}

/* Tech Specs */
.spec-card-details {
  background: var(--light-theme);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid var(--light-theme);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-card-details:hover {
  background: var(--light-theme);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.spec-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  text-align: center;
}

.spec-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  object-fit: contain;
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 15px;
  color: var(--dark-text);
  white-space: nowrap;
}

.spec-value {
  font-size: 15px;
  color: var(--dark-text);
}

.accordion-button::after {
  color: var(--dark-text);
}

/* Accordion */
.details-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 20px !important;
  overflow: hidden;
  margin-bottom: 20px;
}

.details-accordion .accordion-button {
  padding: 20px 25px;
  font-weight: 800;
  font-size: 16px;
  color: var(--dark-text);
  background: var(--bg-gray);
  box-shadow: none !important;
}

.details-accordion .accordion-body {
  background: var(--bg-gray);
  padding-inline: 35px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--dark-text);
}

.feature-list li i {
  color: var(--light-theme);
  font-size: 16px;
  background: radial-gradient(circle at center, var(--primary-color) 45%, transparent 55%);
}

/* Sidebar */
.price-sidebar-card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
}

.price-sidebar-card .price-header {
  margin-bottom: 5px;
}

.price-label-sidebar {
  font-size: 14px;
  color: var(--black-text);
  font-weight: 500;
  margin-bottom: 0px;
}

.price-value-sidebar {
  font-size: 36px;
  font-weight: 900;
  color: var(--black-text);
}

.price-value-sidebar .currency.large-img img {
  width: 24px;
}

.color-item {
  cursor: pointer;
}

.color-item .color-opt {
  width: 35px;
  height: 35px;
  border-radius: 20px;
  transition: 0.3s;
  position: relative;
  margin: 0 auto;
  border: 2px solid var(--border-color);
}

.color-item.active .color-opt::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-color);
  font-size: 14px;
}

.color-item.active .color-opt {
  border: 3px solid #a6edf2;
}

.color-item[data-color="#ffffff"].active .color-opt::after {
  color: var(--primary-color);
}

.color-name {
  font-size: 14px;
  color: var(--black-text);
}

.video-thumb-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
}

.play-btn-details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: 0.3s;
  box-shadow: 0 0 0 10px rgba(26, 192, 198, 0.2);
}

.video-thumb-wrapper:hover .play-btn-details {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 20px rgba(26, 192, 198, 0.2);
}

/* Details Gallery Carousel Styles */
.full-gallery-slider.owl-carousel,
.details-gallery .owl-carousel {
  position: relative;
}


.details-gallery .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  margin-top: 0;
}


.details-gallery .owl-carousel .owl-nav button.owl-next,
.details-gallery .owl-carousel .owl-nav button.owl-prev {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: 1px solid #fff !important;
  background-color: rgb(234 234 234 / 40%) !important;
  backdrop-filter: blur(4px);
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: 0.3s;
  margin: 0 !important;
}


.details-gallery .owl-carousel .owl-nav button i {
  color: var(--black-text);
  font-size: 14px;
}


.details-gallery .owl-carousel .owl-nav button.owl-next:hover,
.details-gallery .owl-carousel .owl-nav button.owl-prev:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}



.details-gallery .owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 0 !important;
}


.details-gallery .owl-carousel .owl-dots button.owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: none !important;
  padding: 0 !important;
  transition: 0.3s;
}


.details-gallery .owl-carousel .owl-dots button.owl-dot.active {
  background-color: #fff !important;
  width: 24px;
  border-radius: 10px;
}

.gallery-thumbs {
  margin-bottom: 48px;
}

/* Share Dropdown Menu */

.modal-backdrop.show {
  opacity: 0.8;
}

/* ===== Gallery Modal - Fullscreen with Thumbnails ===== */
.gallery-modal-content {
  background: #1a1a1a !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px !important;
  flex-shrink: 0;
  background: #111;
}

.gallery-counter-modal {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  text-align: center;
}

.gallery-modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Main Image Area */
.gallery-modal-main-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 10px 70px;
}

.gallery-modal-main-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-modal-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.25s ease;
}

/* Nav Arrows */
.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.gallery-modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.gallery-modal-prev {
  left: 16px;
}

.gallery-modal-next {
  right: 16px;
}

/* Thumbnails Strip */
.gallery-modal-thumbs-wrapper {
  flex-shrink: 0;
  background: #111;
  padding: 12px 16px 16px;
  overflow: hidden;
}

.gallery-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Hide scrollbar but keep functionality */
.gallery-modal-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-modal-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.gallery-modal-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.gallery-modal-thumb-item {
  flex-shrink: 0;
  width: 110px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.55;
}

.gallery-modal-thumb-item:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-modal-thumb-item.active {
  border-color: var(--primary-color, #1ac0c6);
  opacity: 1;
  box-shadow: 0 0 0 1px var(--primary-color, #1ac0c6);
}

.gallery-modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments for gallery modal */
@media (max-width: 768px) {
  .gallery-modal-main-image-wrapper {
    padding: 10px 50px;
  }

  .gallery-modal-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .gallery-modal-prev {
    left: 8px;
  }

  .gallery-modal-next {
    right: 8px;
  }

  .gallery-modal-thumb-item {
    width: 65px;
    height: 48px;
  }

  .gallery-modal-thumbs-wrapper {
    padding: 8px 10px 12px;
  }
}

/* Search Box Container */
.search-wrapper {
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
  max-width: 80%;
  margin: -20px auto 0;
}

.search-box {
  background: var(--light-bg);
  border-radius: 35px;
  padding: 40px 50px;
  box-shadow: var(--shadow-main);
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.search-title {
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 12px;
}

.thumb-active-eye {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  z-index: 2;
}

.gallery-thumbs .thumb-item.active .thumb-active-eye {
  opacity: 1;
}

.gallery-thumbs .thumb-item.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.search-title i {
  color: var(--primary-color);
  background: rgba(26, 192, 198, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.reset-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.reset-link:hover {
  color: var(--secondary-color);
}

/* Form Styles */

.form-select {
  border-radius: 15px;
  font-weight: 600;
  color: #555;
  background-color: transparent !important;
  transition: 0.3s;
  padding: 0;
  --bs-form-select-bg-img: none
}

.bootstrap-select .dropdown-toggle:focus {
  outline: unset;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(26, 192, 198, 0.05);
  background-color: #fff;
}

.form-select .dropdown-toggle {
  height: 48px;
  border-radius: 16px;
  background: transparent;
  color: var(--black-text) !important;
  border-color: var(--border-color) !important;
}

.form-select .dropdown-toggle .filter-option {
  text-align: right;
  display: flex;
  align-items: center;
}

.bs-actionsbox .btn-group-sm {
  width: 100%;
}

.bs-select-all {
  background: var(--primary-color);
  color: #fff;
}

.bs-select-all:hover {
  background: var(--primary-color);
  color: #fff;
}

.bs-searchbox + .bs-actionsbox {
  margin-top: 5px;
}

.bootstrap-select .inner.show .dropdown-menu.inner li a span.text::before {
  content: "\f0c8";
  font-weight: 400;
  font-family: "Font Awesome 5 Free";
  width: 21px;
  display: inline-block;
  top: 4px;
  font-size: 20px;
  position: relative;
}

.bootstrap-select .inner.show .dropdown-menu.inner li a.selected span.text::before {
  font-weight: 900;
  content: "\f14a";
  color: var(--primary-color);
}

.bootstrap-select .inner.show .dropdown-menu.inner li a span.text {
  margin-right: 0 !important;
}

.bootstrap-select .inner.show .dropdown-menu.inner li a {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #000;
}

.bootstrap-select .dropdown-menu li a span.check-mark {
  display: none !important;
}

.range-container {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 55px;
  position: relative;
}

.range-label {
  font-weight: 700;
  color: var(--text-gray);
  min-width: 50px;
}

.range-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.range-values {
  display: flex;
  gap: 10px;
}

.price-badge {
  background: #43BFC71A;
  padding: 5px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 85px;
  justify-content: center;
}

.search-submit-btn {
  width: 100%;
  height: 55px;
  border-radius: 15px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.3s;
}

.search-submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 192, 198, 0.2);
}

/* Car Dots (Slider Pagination) */

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 30px;
  border-radius: 10px;
  background: var(--primary-color);
}

/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-target {
  position: relative;
  direction: ltr;
}

.noUi-base {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* Fix 401 */
}

.noUi-origin {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.noUi-handle {
  position: relative;
  z-index: 1;
}

.noUi-stacking .noUi-handle {
  /* This class is applied to the lower origin when
 its values is > 50%. */
  z-index: 10;
}

.noUi-state-tap .noUi-origin {
  -webkit-transition: left 0.3s, top .3s;
  -o-transition: left 0.3s, top .3s;
  transition: left 0.3s, top .3s;
}

.noUi-state-drag * {
  cursor: inherit !important;
}

/* Painting and performance;
 * Browsers can paint handles in their own layer.
 */
.noUi-base,
.noUi-handle {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* Slider size and handle placement;
 */
.noUi-horizontal {
  height: 4px;
  min-width: 45%;
}

.noUi-horizontal .noUi-handle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -13px;
  top: -5px;
  background-color: #1DB8C3;
  border: 3px solid #1DB8C3;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.noUi-horizontal .noUi-handle.noUi-handle-lower {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -2px;
  top: -5px;
  background-color: #1DB8C3;
  border: 3px solid #1DB8C3;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.noUi-horizontal .noUi-handle.noUi-handle-upper {
  left: -12px;
}

/* Styling;
 */
.noUi-background {
  background: #dbf4f5;
}

.noUi-connect {
  background: #4AC7CF;
  -webkit-transition: background 450ms;
  -o-transition: background 450ms;
  transition: background 450ms;
}

.noUi-origin {
  border-radius: 2px;
}

.noUi-target {
  border-radius: 2px;
}

/* .noUi-target.noUi-connect Ã¢â‚¬â€ no overrides needed */

/* Handles and cursors;
 */
.noUi-draggable {
  cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
  cursor: n-resize;
}

.noUi-handle {
  cursor: default;
  -webkit-box-sizing: content-box !important;
  box-sizing: content-box !important;
}

/* .noUi-handle:active Ã¢â‚¬â€ no overrides needed */

/* Disabled state;
 */
[disabled].noUi-connect,
[disabled] .noUi-connect {
  background: #B8B8B8;
}

[disabled].noUi-origin,
[disabled] .noUi-handle {
  cursor: not-allowed;
}

.search-wrapper-container {
  background: #F3F8FFA8;
}

.brands-section {
  background: #F3F8FFA8;
}

.title-section h2 {
  color: var(--black-text);
  font-weight: 700;
  font-size: 30px;
}

.title-section span {
  color: var(--text-gray);
  font-weight: 400;
  font-size: 16px;
}

.brand-container {
  border: 1px solid #E5E7EB;
  box-shadow: 0px 2px 12px 0px #8D9BB24D;
  padding: 10px;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 10px;
}

img.brand-img {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: max-content !important;
}

.brands-container span {
  color: var(--text-light);
}

.brand-slider {
  padding: 50px 0;
}

.brand-slider .item a {
  color: var(--text-light);
  text-decoration: none;
}

.owl-nav {
  text-align: center;
  gap: 20px;
  display: flex;
  justify-content: center;
  padding: 50px 0 0;
}

.brands-container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  background: #FFFFFF !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  padding: 13px 20px !important;
  font-size: 24px !important;
  display: flex;
}

.mobile-filters,
.mobile-filter-sheet {
  display: none;
}

/* Mobile Filter Search */
.mobile-filter-search-wrapper {
  position: sticky;
  top: 0;
  padding: 10px;
  z-index: 5;
  margin-bottom: 10px;
}

.mobile-filter-search-container {
  position: relative;
  width: 100%;
}

.mobile-filter-search-input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 0 15px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.mobile-filter-search-input:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: var(--light-bg);
  box-shadow: 0 0 0 4px rgba(26, 192, 198, 0.05);
}

.mobile-filter-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
}

[dir="ltr"] .mobile-filter-search-icon {
  left: 18px;
}

[dir="rtl"] .mobile-filter-search-icon {
  left: 18px;
}

[dir="ltr"] .mobile-filter-search-input {
  padding-left: 45px;
  padding-right: 15px;
}

[dir="rtl"] .mobile-filter-search-input {
  padding-right: 15px;
  padding-left: 45px;
}

.mobile-filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Sidebar Filter Search */
.filter-search-wrap {
  padding: 0 10px 10px;
}

.filter-search-container {
  position: relative;
}

.filter-search-input {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0 35px;
  font-size: 13px;
  background-color: var(--light-bg);
}

.filter-search-input:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: var(--light-bg);
}

.filter-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-gray);
  font-size: 14px;
}

[dir="ltr"] .filter-search-icon {
  left: 12px;
}

[dir="rtl"] .filter-search-icon {
  right: 12px;
}

[dir="ltr"] .filter-search-input {
  padding-left: 35px;
  padding-right: 10px;
}

[dir="rtl"] .filter-search-input {
  padding-right: 35px;
  padding-left: 10px;
}

/* =============================================
   Testimonials Section
   ============================================= */
.testimonials-section {
  padding: 80px 0 60px;
  background: var(--light-bg);
}

.testimonials-section .title-section {
  margin-bottom: 40px;
}

.testimonials-slider {
  padding-bottom: 10px;
}

.testimonial-card {
  background: #E9FAFC;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0px 2px 16px 0px rgba(141, 155, 178, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0px 6px 28px 0px rgba(67, 191, 199, 0.15);
  transform: translateY(-3px);
}

.testimonial-quote {
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black-text);
  margin: 0;
  word-break: normal;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
  color: var(--black-text);
  word-break: normal;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 25px 0;
  min-height: 63px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: start;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black-text);
}

.testimonial-role {
  font-size: 12px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 24px;
}

/* Testimonials owl nav override */
.testimonials-slider .owl-nav {
  margin-top: 10px;
}

/* =============================================
   Trusted Partners Section
   ============================================= */
.partners-section {
  padding: 70px 0 80px;
  background: #F3F8FFA8;
}

.partners-section .title-section {
  margin-bottom: 30px;
}

/* Filter Buttons */
.partners-filter-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.partners-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 14px;
  border: 1.5px solid #E0E7EF;
  background: #fff;
  color: var(--text-gray);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main-medium);
}

.partners-btn:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.partners-btn.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.partners-btn.active .partners-btn-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.partners-btn-badge {
  background: rgba(67, 191, 199, 0.12);
  color: var(--primary-color);
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
}

/* Partners Logo Slider */
.partners-logos-slider .owl-stage-outer {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 15px 30px;
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}


/* Partners owl dots */
.partners-logos-slider .owl-dots {
  text-align: center;
  bottom: -40px !important;
}


/* =============================================
   Start Trip Section
   ============================================= */
.start-trip-section {
  position: relative;
  background-image: url('../img/start-trip.svg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.start-trip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
  rgba(0, 0, 0, 0.72) 0%,
  rgba(0, 0, 0, 0.52) 55%,
  rgba(0, 0, 0, 0.30) 100%);
  z-index: 1;
}

.start-trip-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.start-trip-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.start-trip-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
}

.start-trip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 16px;
  background: var(--primary-color);
  color: #fff;
  font-size: 18px;
  font-family: var(--font-main-medium);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.start-trip-btn:hover {
  background: #179aa3;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 192, 198, 0.45);
}

.start-trip-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.start-trip-btn:hover i {
  transform: translateX(-4px);
}

/* =============================================
   Newsletter Section
   ============================================= */
.newsletter-section {
  background: var(--primary-color);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.newsletter-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.newsletter-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-circle-1 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  right: -80px;
}

.newsletter-circle-2 {
  width: 200px;
  height: 200px;
  top: -60px;
  left: 20%;
}

/* Inner two-column layout */
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Illustration (left side in RTL) */
.newsletter-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 380px;
  /* Slightly wider to allow spread */
}

.newsletter-illustration > img {
  max-width: 260px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 2;
  margin-right: 40px;
  /* Center it better relative to text */
}

/* Floating icons container */
.newsletter-float-icons {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.nl-icon {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  animation: nlFloat 4s ease-in-out infinite;
}

.nl-icon img {
  width: 100%;
  height: auto;
}

/* Percentage icon on the right */
.nl-icon-pct {
  width: 55px;
  top: -6%;
  left: 15%;
  animation-delay: 0s;
}

/* Sale tag on the left */
.nl-icon-sale {
  width: 100px;
  top: 10%;
  right: 17%;
  animation-delay: 0.7s;
}

/* Percentage icon on the top-left */
.nl-icon-pct2 {
  width: 70px;
  top: -12%;
  right: 30%;
  animation-delay: 1.5s;
}

@keyframes nlFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Content (right side in RTL) */
.newsletter-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  text-align: start;
}

.newsletter-title {
  font-size: 43px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 30px;
}

.social-media-button {
  padding: 0;
}

/* Input group: button on the left, input on the right (RTL) */
.newsletter-input-group {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 655px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
}

.newsletter-email-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  background: transparent;
  text-align: right;
  color: #333;
  min-width: 0;
  height: 54px;
  direction: rtl;
}

.newsletter-email-input::placeholder {
  color: #aaa;
}

.newsletter-submit-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 47px;
  height: 58px;
  font-size: 20px;
  white-space: nowrap;
  transition: background 0.3s ease;
  border-radius: 14px;
  font-family: var(--font-main-medium);
}


.newsletter-submit-btn:hover {
  background: #179aa3;
}

.newsletter-form {
  width: 100%;
}

.jq-toast-single h2 {
  font-family: var(--font-main-medium);
}

.accordion-item {
  background-color: unset;
}

/* ============================================
   FundRequest LandingPage Styles
   ============================================ */

/* Page wrapper */
.fund-landing-page {
  margin-top: 140px;
  padding-bottom: 60px;
}

/* ---- Why Arib Section ---- */
.fund-why-section {
  padding: 0 0 50px;
  position: relative;
  overflow: hidden;
}

.fund-why-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 100px;
  background: url('../img/landing-pag-bg.svg') no-repeat center center;
}

/* Background pattern image (landing-pag-bg.png) */

.fund-why-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fund-why-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--font-main-medium);
}

.fund-why-subtitle {
  font-size: 15px;
  margin-bottom: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature item Ã¢â‚¬â€ full height inside Bootstrap col */
.fund-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  height: 100%;
}


.fund-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}


.fund-feature-info {
  text-align: center;
}

.fund-feature-info h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-main-medium);
}

.fund-feature-info p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 80%;
  margin: auto;
}

/* ---- How It Works Section ---- */
.fund-how-section {
  padding: 50px 0 40px;
}

.fund-section-title {
  text-align: center;
  font-size: 30px;
  color: var(--dark-text);
  margin-bottom: 10px;
  font-family: var(--font-main-bold);
}

.fund-section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #1A1A1A;
  margin-bottom: 40px;
}

/* Step card full height inside Bootstrap col */
.fund-step-card {
  background: #f9fafb;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px 24px 32px;
  text-align: center;
  position: relative;
  height: 100%;
  transition: all 0.35s ease;
  overflow: hidden;
}

.fund-step-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 16px 48px rgba(26, 192, 198, 0.12);
  transform: translateY(-6px);
}


/* Step number badge Ã¢â‚¬â€ RTL: top-right corner */


.fund-step-icon-wrap {
  margin-bottom: 20px;
}

.fund-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.3s;
}

.fund-step-card:hover .fund-step-icon {
  background: rgba(26, 192, 198, 0.15);
}

.fund-step-icon img {
  width: 100%;
}

.fund-step-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
  font-family: var(--font-main-medium);
}

.fund-step-card p {
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.7;
  max-width: 80%;
  margin: auto;
}

/* CTA Button */

.fund-cta-btn {
  width: 80%;
  max-width: 600px;
  height: 76px;
  font-size: 16px;
  border-radius: 16px;
  gap: 10px;
  box-shadow: 0px 4px 6px -4px #0000001A;
  margin: auto;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.fund-cta-btn:hover {
  transform: translateY(-3px);
}

.fund-cta-btn img {
  width: 25px;
}


/* ============================================
   Animation Car Ã¢â‚¬â€ LandingPage2
   ============================================ */

/* Prevent horizontal scrollbar caused by the off-screen car */

.animation-car {
  position: relative;
  width: 100%;
  pointer-events: none;
}

.animation-car img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 90px;
  width: auto;
  transform: translateX(-120vw);
  animation: car-drive 10s linear infinite;
  will-change: transform;
}

/*
  10s cycle:
  0%  Ã¢â€ â€™ 60%   (6s)  car travels left-to-right fully across + off screen
  60% Ã¢â€ â€™ 100%  (4s)  hidden off-screen right, reset position happens invisibly
*/
@keyframes car-drive {
  0% {
    transform: translateX(-120vw);
    opacity: 1;
  }

  60% {
    transform: translateX(120vw);
    opacity: 1;
  }

  60.01% {
    transform: translateX(-120vw);
    opacity: 0;
  }

  99.99% {
    transform: translateX(-120vw);
    opacity: 0;
  }

  100% {
    transform: translateX(-120vw);
    opacity: 1;
  }
}

.bs-actionsbox {
  display: none;
}

/* Preloader */
.handle-preloader {
  align-items: center;
  -webkit-align-items: center;
  display: flex;
  display: -ms-flexbox;
  height: 100%;
  justify-content: center;
  -webkit-justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999999;
  background-color: #ffffffe6;
}

.handle-preloader .animation-preloader {
  position: absolute;
  z-index: 100;
}

.handle-preloader .animation-preloader .fav {
  position: absolute;
  width: 65px;
  transform: translate(-50%, -50%);
  top: 74px;
  left: 50%;
  /*filter: brightness(0) invert(1);*/
}

.handle-preloader .animation-preloader .spinner {
  animation: spinner 1s infinite linear;
  border-radius: 50%;
  height: 150px;
  margin: 0 auto 40px auto;
  width: 150px;
}

.handle-preloader .animation-preloader .txt-loading {
  text-align: center;
  user-select: none;
  position: relative;
  left: 24px;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:before {
  animation: letters-loading 4s infinite;
  content: attr(data-text-preloader);
  left: 0;
  opacity: 0;
  top: 0;
  position: absolute;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading {
  font-weight: 500;
  letter-spacing: 15px;
  display: inline-block;
  position: relative;
  font-size: 70px;
  line-height: 70px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #4AC7CF;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before {
  animation-delay: 0.2s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before {
  animation-delay: 0.4s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before {
  animation-delay: 0.6s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before {
  animation-delay: 0.8s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before {
  animation-delay: 1s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before {
  animation-delay: 1.2s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(8):before {
  animation-delay: 1.4s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(9):before {
  animation-delay: 1.6s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(10):before {
  animation-delay: 1.8s;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(11):before {
  animation-delay: 2s;
}

.preloader .loaded .animation-preloader {
  opacity: 0;
  transition: 0.3s ease-out;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading {
}

.handle-preloader .animation-preloader .txt-loading .letters-loading:before {
  color: #4AC7CF;
}

.handle-preloader .animation-preloader .spinner {
  border: 3px solid #4AC7CF;
  border-top-color: rgba(255, 255, 255, 0.5);
}

.handle-preloader .animation-preloader .txt-loading {
  left: 5px;
  top: -147px;
  position: relative;
}

.handle-preloader .animation-preloader .txt-loading .letters-loading {
  font-size: 55px;
  letter-spacing: 5px;
}

.bootstrap-select .inner {
  max-height: 350px !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent !important;
}

/* Bootstrap Select Searchbox Custom Styling */
.bs-searchbox {
  position: relative;
  padding: 10px 15px !important;
}

.bs-searchbox .form-control {
  border-radius: 8px !important;
  font-size: 14px !important;
  height: 40px !important;
}

.bs-searchbox .search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  z-index: 4;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

/* LTR Styles */
[dir="ltr"] .bs-searchbox .search-icon {
  left: 25px;
}

[dir="ltr"] .bs-searchbox .form-control {
  padding-left: 35px !important;
}

/* RTL Styles */
[dir="rtl"] .bs-searchbox .search-icon {
  right: 25px;
}

[dir="rtl"] .bs-searchbox .form-control {
  padding-right: 35px !important;
}

/* AnimaciÃƒÂ³n del preloader */
@keyframes spinner {
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes letters-loading {

  0%,
  75%,
  100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }

  25%,
  50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

/* Error Page Styles */
.error-page-body {
  background-color: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.error-container {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.error-img {
  margin-bottom: 30px;
}

.error-img img {
  max-width: 100%;
  height: auto;
}

.error-content {
  margin-bottom: 30px;
}

.error-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 15px;
  margin-top: 15px;
}

.error-subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 0;
}

.btn-home {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 60px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(26, 192, 198, 0.3);
  transition: all 0.3s ease;
}

.btn-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(26, 192, 198, 0.4);
  color: white;
}

.not-found-cars {
  text-align: center;
  padding: 70px;
  min-height: 700px;
  background-color: #f9fafb;
  border: 1px solid #edeef0;
  border-radius: 15px;
}

.not-found-cars img {
  margin-bottom: 30px;
}

.not-found-cars h5 {
  margin-bottom: 30px;
  font-size: 16px;
}

.not-found-cars a {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  min-width: 250px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(26, 192, 198, 0.3);
  transition: all 0.3s ease;
}

/* Offers Page Styles */
.offers-page-wrapper {
  padding: 70px 0 1px;
}

.sticky-header-section {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.congrats-banner {
  position: relative;
  color: #1E293B;
  margin-bottom: 10px;
  background: rgb(77, 219, 229);
  padding: 15px 30px;
  border-radius: 20px;
}

.congrats-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/fund-request/arrow-bg-header.svg);
  background-repeat: repeat;
  background-size: inherit;
  pointer-events: none;
  z-index: 1;
}

.congrats-banner-img {
  position: absolute;
  left: 45px;
  bottom: 0;
  z-index: 5;
}

.banner-icon .check-circle {

  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.banner-icon .check-circle img {
  width: 50px;
}

.info-alert-bar {
  background: #E6F7FF;
  border-radius: 10px;
  border: 1px solid #91D5FF;
  padding: 10px;
  margin: auto;
  gap: 10px;
  display: flex;
  align-items: center;
}

.btn-outline-filter {
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: none;
}

.btn-outline-filter .dot {
  width: 15px;
  height: 15px;
  border: 1px solid #666666;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.btn-outline-filter .dot::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) scale(0.8);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}


.btn-check:checked + .btn-outline-filter .dot {
  background: #1AA8B2;
  border-color: #1AA8B2;
  box-shadow: 0 0 0 4px rgba(26, 168, 178, 0.1);
}

.btn-check:checked + .btn-outline-filter .dot::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.sorting-filters {
  border: 1px solid #F2F2F2;
  border-radius: 10px;
  background: #f7f7f7;
}

.sorting-head-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-mobile-sort {
  display: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1e293b;
  border-radius: 12px;
  padding: 8px 14px;
  font-family: tajawal-medium;
  align-items: center;
  gap: 8px;
}

.btn-mobile-sort:hover {
  color: #1e293b;
  border-color: #bfc5cf;
}

.offers-sort-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 998;
}

.offers-sort-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 30px rgba(2, 8, 23, 0.18);
  padding: 10px 16px 18px;
  transform: translateY(105%);
  transition: transform 0.28s ease;
  z-index: 999;
  max-height: 85vh;
  overflow-y: auto;
}

.offers-sort-sheet-handle {
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
  margin: 2px auto 10px;
}

.offers-sort-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;

}

.offers-sort-sheet-header h3 {
  font-weight: 700;
  font-size: 20px;
}

.offers-sort-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #1e293b;
}

.offers-sort-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offers-sort-options .btn-outline-filter {
  justify-content: flex-start;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 12px 42px 12px 38px;
  position: relative;
  color: #1e293b;
}

.offers-sort-options .btn-outline-filter .dot {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-color: #94a3b8;
}

.offers-sort-options .btn-outline-filter .dot::after {
  display: none;
}

.offers-sort-options .check-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  color: #1aa8b2;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 14px;
  line-height: 1;
}

.offers-sort-options .btn-check:checked + .btn-outline-filter {
  background: #e8fbfd;
  border-color: #1aa8b2;
}

.offers-sort-options .btn-check:checked + .btn-outline-filter .dot {
  background: #1aa8b2;
  border-color: #1aa8b2;
  box-shadow: none;
}

.offers-sort-options .btn-check:checked + .btn-outline-filter .check-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.offers-sort-actions {
  margin-top: 14px;
}

.offers-sort-sheet.is-open {
  transform: translateY(0);
}

.offers-sort-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.offers-sort-open {
  overflow: hidden;
}

.btn-compare {
  border: 1px solid #C03C3C;
  color: #C03C3C;
  border-radius: 12px;
  padding: 10px 24px;
  transition: all 0.3s;
  width: 300px;
  font-family: tajawal-medium;
  box-shadow: 0px 4px 6px -4px #0000001A;
}

.btn-compare:hover {
  border-color: #C03C3C;
  color: #C03C3C;
}

.offer-card {
  background: #fff;
  border-radius: 20px;
  padding: 15px 24px 25px;
  border: 1px solid #F1F5F9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.3s ease;
}

.offer-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}


.compare-check {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #64748B;
}

.compare-check label {
  cursor: pointer;
}

.bank-logo {
  width: 50px;
  height: 50px;
  background: #E0F2F1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.bank-logo img {
  max-width: 100%;
  max-height: 100%;
}

.offer-type-title {
  font-size: 18px;
  font-weight: 700;
}

.golden-offer .offer-type-title {
  color: #B88D00;
}

.offer-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.stat-item {
  background: #F2F2F2;
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E5E5E5;
}


.stat-label {
  font-size: 13px;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
}

.stat-value img {
  width: 13px;
}

.stat-label i {
  font-size: 14px;
  color: #1AA8B2;
}

.stat-item .stat-item-container span {
  display: none;
}

.btn-teal-solid {
  background: #1AA8B2;
  color: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  transition: all 0.3s;
  font-family: 'tajawal-medium';
  width: 50%;
}

.btn-teal-solid:hover {
  background: #17969f;
  color: #fff;
}

.btn-outline-details {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  width: 50%;
}

.offers-page-container {
  background: #f8f8f8;
  padding: 1px 0;
}

.btn-load-more {
  background: #E9FAFC;
  color: #1DB8C3;
  border: none;
  font-family: tajawal-medium;
  margin: 30px auto;
}

.btn-load-more:hover {
  background: #E9FAFC;
  color: #1DB8C3;
}

.offer-header {
  margin-bottom: 15px;
}

.offer-header .bank-info i {
  color: #B88D00;
}

@media (max-width: 768px) {
  .offer-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.btn-outline-details:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #475569;
}

.btn-teal-solid:active {
  transform: scale(0.98);
}


/* Selected for compare state */
.offer-card.selected-for-compare {
  border: 2px solid #1AA8B2 !important;
  background-color: #F0FBFC !important;
  box-shadow: 0 15px 45px rgba(26, 168, 178, 0.1);
}

.offer-card.selected-for-compare .compare-check {
  background: #fff;
}

.compare-checkbox:checked {
  background-color: #1AA8B2;
  border-color: #1AA8B2;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .offers-page-wrapper {
    padding-top: 60px;
  }

  .sticky-header-section {
    top: 0;
    padding-top: 10px;
  }

  .sorting-head {
    display: none;
  }

  .sorting-filters {
    display: none !important;
  }

  .btn-mobile-sort {
    display: inline-flex;
    min-height: 46px;
    justify-content: center;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px;
    min-width: unset;
    width: 33.33%;
  }

  .compare-table thead tr {
    display: flex;
    width: 100%;
  }

  .compare-table thead th.criteria-col {
    display: none;
  }

  .compare-table thead th.offer-col {
    flex: 1;
    border: none;
    background: #fff;
  }

  .compare-stars-inline-wrapper {
    display: block;
  }

  .compare-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .compare-table tbody tr#compareTableRow_Actions {
    border-bottom: none;
  }

  .compare-table td.criteria-label {
    width: 100% !important;
    background: #4DD8E5 !important; /* Lighter teal from image */
    text-align: center !important;
    padding: 8px !important;
    font-size: 14px;
    font-weight: 700;
    border: none !important;
    position: static;
    order: -1;
  }

  .offer-actions .btn-teal-solid, .offer-actions .btn-outline-details {
    width: 50%;
  }

  .compare-table td:not(.criteria-label) {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: none;
    min-height: 80px;
  }

  .compare-table .value {
    font-size: 14px;
  }

  .best-badge {
    font-size: 9px;
  }

  .compare-bank-logo {
    width: 45px;
    height: 45px;
  }

  .compare-placeholder {
    font-size: 20px;
    color: #ddd;
  }

  .congrats-banner-img {
    left: 20px;
    width: 90px;
  }

  .stat-item .stat-label span {
    display: none;
  }

  .stat-item {
    padding: 5px;
    gap: 10px;
    justify-content: start;
  }

  .stat-item .stat-item-container span {
    display: block;
    font-size: 12px;
    text-align: center;
  }

  .btn-teal-solid {
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .congrats-banner {
    padding: 16px;
    border-radius: 18px;
    overflow: hidden;
  }

  .congrats-banner .d-flex {
    align-items: center;
  }

  .congrats-banner .banner-content {
    max-width: 100%;
  }

  .congrats-banner .banner-content h1 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 18px;
    line-height: 1.6;
  }

  .congrats-banner-img img {
    width: 112px;
  }

  .congrats-banner .banner-content p {
    font-size: 13px;
  }

  .banner-icon .check-circle img {
    width: 42px;
  }

  .offer-type-title {
    font-size: 3vw;
  }

  .offer-header .bank-info i {
    color: #B88D00;
    font-size: 3vw;
  }

  .btn-compare {
    width: 100%;
  }
}

.faQ-body {
  border: 1px solid #ccc;
  padding: 10px;
  max-height: 60vh;
  overflow: auto;
  font-size: 12px;
}

.congrats-banner .banner-content {
  max-width: 75%;
}

.congrats-banner .banner-content h1 {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  font-size: 20px;
}

/* No Offers Design */
.no-offers-wrapper {
  max-width: 600px;
  margin: 100px auto;
  box-shadow: 0px 5px 16px 0px #080F340F;
  border-radius: 20px;
  padding: 40px 15px;
}

.no-offers-icon-container .icon-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.no-offers-icon-container .icon-circle img {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.no-offers-title {
  color: #1E293B;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 40px !important;
}

.support-contact-card {
  background-color: #FBFBFB;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  padding: 20px;
  max-width: 420px;
  margin: 0 auto;
}

.support-text {
  color: #364153;
  font-size: 14px;
  text-align: start;
}

.contact-methods .contact-item a {
  color: #1E293B;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: var(--font-family-medium);
}

.contact-methods .contact-item a span {
  color: #0D0D0D;
}

.contact-methods .contact-item a:hover {
  color: var(--primary-color) !important;
}


.max-width-button {
  max-width: 540px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 12px !important;
}

/* Confirmation Step Styles */

.summary-sidebar {
  height: 100%;
}

.summary-card {
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px 0;
}

.summary-card .summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0px 15px 15px;
  border-bottom: 1px solid #E5E7EB;
}

.offer-summary-box {
  background: #fff;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  width: 90%;
  margin: 20px auto;
}

.offer-summary-box .bank-logo-sm img {
  height: 24px;
}

.offer-summary-box .stars i {
  color: #FFC107;
  font-size: 12px;
}

.offer-summary-box .offer-name {
  font-size: 15px;
  font-weight: 700;
}

.summary-details li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #E5E7EB;
}

.summary-details li:last-child {
  border-bottom: none;
}

.summary-details .label {
  color: #1F2937;
  font-size: 14px;
}

.summary-details .value {
  color: #1E293B;
  font-weight: 600;
  font-size: 14px;
}

.section-icon-circle {
  width: 50px;
  height: 50px;
  background: #F1F5F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Absher OTP Modal Styles */
.absher-modal .modal-content {
  border-radius: 15px;
  border: none;
}

.absher-modal .btn-close {
  opacity: 1;
  font-size: 0.8rem;
}

.absher-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 20px auto;
}

.absher-icon-circle {
  width: 100px;
  height: 100px;
  background-color: #5d677d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  border: 5px solid #d1d5db;
}


.absher-modal .modal-title {
  font-weight: 700;
  color: #333;
}

.absher-modal .modal-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.6;
}

.otp-inputs-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
  direction: ltr; /* OTP inputs usually left-to-right even in RTL */
}

.otp-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: all 0.2s;
}

.otp-input:focus {
  border-color: #00a6a6;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 166, 166, 0.1);
}

.btn-absher-primary {
  background-color: #00a6a6;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-absher-primary:hover {
  background-color: #008f8f;
  color: white;
}

.btn-absher-outline {
  background-color: transparent;
  color: #00a6a6;
  border: 1px solid #00a6a6;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
}

.btn-absher-outline:disabled {
  color: #6c757d !important;
  border-color: #e0e0e0 !important;
}

.btn-absher-outline:hover {
  color: #00a6a6;
  border: 1px solid #00a6a6;
}

.absher-warning-box {
  background-color: #fff9e6;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  text-align: right;
}

.absher-warning-box i {
  color: #ffc107;
  margin-top: 3px;
}

.absher-warning-box p {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: #856404;
  line-height: 1.4;
}

.absher-attempts-footer {
  background-color: #eceff2;
  border-radius: 8px;
  padding: 8px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.absher-attempts-footer span {
  color: #dc3545;
  font-weight: 700;
}

.resend-countdown {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

.resend-countdown span {
  color: #dc3545;
  font-weight: 600;
}

.absher-error-msg {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
  text-align: center;
}

.absher-error-msg i {
  margin-left: 5px;
}


/* Absher Process Request Modal Styles */
.absher-process-steps {
  display: flex;
  flex-direction: column;
  background: #FBFBFB;
  text-align: start;
  border-radius: 10px;
}

.process-step-item {
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.process-step-item .status-icon {
  display: none;
  font-size: 16px;
}

.process-step-item.pending .status-icon.fa-spin {
  color: #334155;
}

.process-step-item.pending .status-icon.fa-spin {
  display: inline-block;
  color: #334155;
}

.process-step-item.completed {
  color: #334155;
}

.process-step-item.completed .status-icon.fa-check-circle {
  display: inline-block;
  color: #14b8a6;
}

.process-step-item.failed {
  color: #ef4444;
}

.process-step-item.failed .status-icon.fa-times-circle {
  display: inline-block;
  color: #ef4444;
}

.process-step-item .step-check {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

.absher-process-warning {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: right;
}

.absher-process-warning p {
  margin: 0;
  font-size: 0.875rem;
  color: #92400e;
  line-height: 1.5;
}

#btnProcessNext:disabled {
  background-color: #cbd5e1 !important;
  border-color: #cbd5e1 !important;
  color: #f8fafc !important;
  cursor: not-allowed;
}

/* Refined Process Modal for RTL Design */
#absherProcessModal .modal-content {
  padding: 60px 40px !important;
}

.absher-process-warning {
  background-color: #fff9e6 !important;
  border: 1px solid #ffe58f !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.absher-process-warning i {
  color: #f6b500 !important;
  font-size: 20px !important;
}

.btn-absher-primary:disabled {
  background-color: #d1d5db !important;
  opacity: 0.6;
}

.loading-dot-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 15px auto 50px;
}

.loading-dot-spinner .dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #CBD5E1;
  border-radius: 50%;
  animation: dot-loading 1.2s infinite ease-in-out both;
}

.loading-dot-spinner .dot:nth-child(1) {
  top: 0;
  left: 25px;
  animation-delay: 0s;
}

.loading-dot-spinner .dot:nth-child(2) {
  top: 7px;
  left: 43px;
  animation-delay: -0.1s;
}

.loading-dot-spinner .dot:nth-child(3) {
  top: 25px;
  left: 50px;
  animation-delay: -0.2s;
}

.loading-dot-spinner .dot:nth-child(4) {
  top: 43px;
  left: 43px;
  animation-delay: -0.3s;
}

.loading-dot-spinner .dot:nth-child(5) {
  top: 50px;
  left: 25px;
  animation-delay: -0.4s;
}

.loading-dot-spinner .dot:nth-child(6) {
  top: 43px;
  left: 7px;
  animation-delay: -0.5s;
}

.loading-dot-spinner .dot:nth-child(7) {
  top: 25px;
  left: 0;
  animation-delay: -0.6s;
}

.loading-dot-spinner .dot:nth-child(8) {
  top: 7px;
  left: 7px;
  animation-delay: -0.7s;
}

@keyframes dot-loading {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.3;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
    background-color: #94A3B8;
  }
}

.absher-process-success-icon {
  width: 60px;
  height: 60px;
  margin: 15px auto 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  animation: absher-scale-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.absher-process-success-icon i {
  font-size: 40px;
  color: #14b8a6;
}

@keyframes absher-scale-up {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Absher Process Failed Modal Styles */
.absher-process-error-alert {
  background-color: #fff1f2 !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center !important;
  color: #FF3B30 !important;
  gap: 10px;
}

.absher-process-error-alert p {
  margin: 0 !important;
  font-size: 14px !important;
}

.absher-support-card {
  background-color: #f9f9f9 !important;
  border: 1px solid #E5E5E5;
  border-radius: 10px !important;
  padding: 10px;
  text-align: right;
  margin: 30px auto;
}

.support-title {
  font-size: 14px !important;
  color: #364153 !important;
}

.support-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #333 !important;
}

.support-item i {
  color: #ef4444 !important;
}

.offer-actions {
  margin-top: 30px;
}

.offers-list {
  gap: 30px;
}

.compare-table .select-offer-btn {
  min-width: 200px;
}

/* Custom Pagination */
:root {
  --primary-color: #1aa8b2;
}

/* Custom Pagination */
.custom-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: #fff;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 12px 12px;
}

.custom-pagination .pagination-btn {
  background: transparent;
  border: 1px solid #ddd;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.custom-pagination .pagination-btn img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Hover */
.custom-pagination .pagination-btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary-color, #1aa8b2) 10%, transparent);
  border-color: var(--primary-color, #1aa8b2);
  color: var(--primary-color, #1aa8b2);
}

/* Optional: make image icon react on hover */
.custom-pagination .pagination-btn:hover:not(:disabled) img {
  opacity: 0.8;
}

/* Disabled */
.custom-pagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Previous button */

.custom-pagination .pagination-btn.next-btn img {
  transform: rotate(180deg);
}

/* Next button */


/* Page numbers */
.custom-pagination .pagination-numbers {
  display: flex;
  gap: 10px;
}

.custom-pagination .pagination-numbers .pagination-number {
  background: #fff;
  border: 0;
  color: #666;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

/* Number hover */
.custom-pagination .pagination-numbers .pagination-number:hover:not(.active):not(.ellipsis):not(:disabled) {
  background: color-mix(in srgb, var(--primary-color) 10%, transparent);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Active page */
.custom-pagination .pagination-numbers .pagination-number.active {
  background: var(--light-theme);
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
  font-weight: 600;
  min-width: 40px;
}

/* Ellipsis */


/* Car details ad number and share modal */
.ad-number-card {
  min-height: 92px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ad-number-title {
  color: var(--dark-text);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 7px;
}

.ad-number-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark-text);
  font-size: 11px;
  opacity: .72;
}

.ad-number-note i {
  color: var(--primary-color);
  font-size: 13px;
}

.ad-number-card .btn-share-details {
  flex: 0 0 44px;
  background: var(--light-bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.share-car-modal .modal-dialog {
  max-width: 600px;
}

.share-car-modal .modal-content {
  border: 0;
  border-radius: 18px;
  background: var(--light-bg);
  padding: 22px 30px 50px;
}

.share-car-modal .modal-header {
  border: 0;
  padding: 0 0 28px;
  justify-content: space-between;
}

.share-car-modal .modal-title {
  color: var(--dark-text);
  font-size: 24px;
  font-weight: 800;
}

.share-car-modal .btn-close {
  margin: 0;
  padding: 8px;
}

.share-car-modal .modal-body {
  padding: 0;
}

.share-car-summary {
  min-height: 82px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.share-car-image {
  width: 120px;
  flex: 0 0 120px;
  object-fit: cover;
}

.share-car-info {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
}

.share-car-name {
  color: var(--dark-text);
  font-size: 15px;
  margin-bottom: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-car-price {
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
}

.share-car-price .currency img {
  width: 17px;
}

.share-via-label {
  color: var(--dark-text);
  font-size: 15px;
  margin: 24px 0 14px;
}

.share-platforms {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.share-platform {
  border: 0;
  background: transparent;
  color: var(--dark-text);
  padding: 0;
  font-size: 11px;
  text-align: center;
}

.share-platform-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  transition: .2s ease;
}

.share-platform:hover .share-platform-icon {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.share-platform-icon.facebook {
  color: #1877f2;
}

.share-platform-icon.whatsapp {
  color: #25d366;
}

.share-platform-icon.x-twitter, .share-platform-icon.other {
  color: var(--dark-text);
}

.share-platform-icon.telegram {
  color: #229ed9;
}

.share-platform-icon.instagram {
  color: #e1306c;
}

.share-link-section {
  border-top: 1px solid var(--border-color);
  margin-top: 22px;
  padding-top: 22px;
}

.share-link-section label {
  color: var(--dark-text);
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
}

.share-link-box {
  height: 48px;
  border-radius: 12px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.share-link-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dark-text);
  opacity: .6;
  padding: 0 16px;
  direction: ltr;
}

.share-link-box button {
  align-self: stretch;
  width: 50px;
  flex: 0 0 50px;
  border: 0;
  background: transparent;
  color: var(--dark-text);
}

@media (max-width: 767.98px) {
  .share-car-modal .modal-dialog {
    margin: 16px;
  }

  .share-car-modal .modal-content {
    padding: 20px;
  }

  .share-car-modal .modal-header {
    padding-bottom: 20px;
  }

  .share-car-modal .modal-title {
    font-size: 20px;
  }

  .share-platforms {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .share-car-image {
    width: 96px;
    flex-basis: 96px;
  }

  .share-car-info {
    padding: 10px 12px;
  }

  .share-car-name {
    font-size: 13px;
  }

  .share-car-price {
    font-size: 17px;
  }
}
.version-container {
  position: absolute;
  left: 20px;
}
