@media (max-width: 768px) {
    .col-md-6:first-child,
    .col-md-6:last-child {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container h5 {
        font-size: 1rem !important;
    }

    .header-container h1 {
        font-size: 2rem !important;
    }

    .calendar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        max-width: none;
        width: 100%;
    }

    .step-title {
        font-size: 0.8rem;
    }

    .step-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .choose-section,
    .faq-section {
        padding: 0px 0;
    }

    .choose-title,
    .faq-title {
        font-size: 1.35rem;
    }

    .icon-card {
        padding: 24px 8px;
    }
}

@media (max-width: 991.98px) {
    .stepper {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .modal-f button {
        width: 100% !important;
    }
    /* .step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 36px;
        width: 2px;
        height: 40px;
        background: #e9ecef;
        z-index: 0;
        right: auto;
    } */

    .step {
        min-width: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .stepper-section {
        padding: 24px 0 0 0;
    }

    .stepper-title {
        font-size: 1.3rem;
    }

    .stepper-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .option-selection {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 1500px) {

    .steps {
        width: 80% !important;
    }
}

@media (max-width: 992px) {
    .edit-car-availability{
        width: 100% !important;
    }

    .container-custom {
        max-width: 100% !important;
        border-radius: 0;
    }

    .steps {
        width: 100% !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column !important;
        align-items: start !important;
        justify-content: space-between;
    }

    .custom-choices {
        width: 98% !important;
        margin: 2px auto;
    }

    .selection-card {
        width: 100% !important;
        min-height: 660px;
    }

    .custom-choice {
        margin-top: 3px;
        width: 100% !important;
    }

    .input-width {
        width: 100% !important;
    }

    .estimation-section {
        display: flex;
        flex-direction: column !important;
        justify-content: space-between;
        width: 100% !important;
    }

    .esstimation-content-container {
        width: 100% !important;
    }

    .information-container {
        width: 100%;
    }

    .main-credit {
        padding-bottom: 0rem !important;
    }

    #percentage-value {
        margin-top: -35px !important;
    }

    .percentage-value-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.edit-car-availability{
    width: 70%;
    margin: auto;
}

.detail-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

.icon-img {
    width: 25px;
    height: 25px;
}

#percentage-value {
    margin-top: -42px;
}


.esstimation-content-container {
    width: 49%;
}

.estimation-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin: 0rem auto;
}

.input-width {
    width: 49%;
}

.custom-choices {
    width: 48%;
}

.credit-hero {
    position: relative;
    min-height: 55vh;
    /* padding-top: 7rem; */
    background-size: cover;
    color: #fff;
    background-position: center;
}

h1 {
    font-weight: bolder !important;
}

.floating-card {
    position: absolute;
    background-color: #fff;
    border-radius: 2rem;
    top: -8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.credit-hero div {
    z-index: 2;
}

.credit-hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.finance-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    margin: 1rem 0;
    min-width: 260px;
}

.finance-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.finance-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

.finance-card .btn-primary {
    background-color: #0d6efd;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    margin-top: 1rem;
}

.finance-card .btn-primary:focus,
.finance-card .btn-primary:hover {
    background-color: #0b5ed7;
}

.finance-card .btn-success {
    background-color: #146c43;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    margin-top: 1rem;
}

.finance-card .btn-success:focus,
.finance-card .btn-success:hover {
    background-color: #0f5132;
}

.finance-card p {
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.choose-section {
    padding: 48px 0 32px 0;
    /*background: #fff;*/
}

.choose-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.icon-card {
    background: #f3f6fa;
    border: none;
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    height: 100%;
}

.icon-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.icon-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    background: #e6f0fa;
    color: #0d6efd;
    font-size: 2rem;
}

.icon-card-title {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.icon-card-desc {
    font-size: 0.96rem;
    color: #6c757d;
}

.faq-section {
    background: #fafbfc;
    padding: 40px 0 60px 0;
}

.faq-title {
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #e6f0fa;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.07rem;
}

.stepper-section {
    padding: 48px 0 0 0;
}

.stepper-title {
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
}

.stepper-subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px;
}

.step {
    flex: 1 1 0;
    text-align: center;
    position: relative;
    min-width: 120px;
}

/* .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: -37%;
    width: 70%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
} */

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #222;
}

.step-label {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 6px;
    margin-bottom: 6px;
}
.step-description{
    line-height: 15px;
    margin-bottom: 9px;
}

.step-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #adb5bd;
    border-radius: 6px;
    font-size: 0.83rem;
    padding: 2px 10px;
    border: 1px solid #e9ecef;
}

.cta-btn {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.cta-btn .btn {
    font-size: 1.12rem;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
}

.option-card {
    border: 2px solid #e3eaf3;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
    transition: box-shadow 0.2s;
}

.option-card.selected {
    border-color: #37b6f7;
    box-shadow: 0 4px 24px rgba(55, 182, 247, 0.08);
}

.option-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #37b6f7;
}

.option-card.selected .icon {
    color: #37b6f7;
}

.option-btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.option-btn.primary {
    background: #37b6f7;
    color: #fff;
    border: none;
}

.option-btn.secondary {
    background: #0a5746;
    color: #fff;
    border: none;
}

.benefit-list {
    margin-top: 1rem;
}

.benefit-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.benefit-list li .check-icon {
    color: #37b6f7;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}


.selection-card.x-small-selection-card {
    min-height: 100px !important;
    min-width: 49% !important;
    margin: 2px;
}

.selection-card.x-small-selection-card.selected {
    border-color: #17a2b8;
    background-color: #f0f9ff;
}

.selection-card.x-small-selection-card.selected::after {
    content: "✓";
    position: absolute;
    top: -10px;
    right: -10px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.selection-card.small-selection-card {
    min-height: 150px !important;
}

.selection-card.small-selection-card.selected {
    border-color: #17a2b8;
    background-color: #f0f9ff;
}

.selection-card.small-selection-selected::after {
    /* content: "✓";
    position: absolute;
    top: 2px;
    left: 2px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold; */
}


.selection-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 560px;
    mni-width: 330px;
}

.selection-card.selected {
    border-color: #17a2b8;
    background-color: #f0f9ff;
}

.selection-card.selected::after {
    content: "✓";
    position: absolute;
    top: 2px;
    right: 2px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}


@media (max-width: 1500px) {

    .estimation-section {
        width: 100% !important;
    }
}

@media (max-width: 900px) {

    .esstimation-content-container {
        margin-bottom: 4px !important;
    }

    .small-custom-choices label {
        width: 100% !important;
    }

    .selection-card.x-small-selection-card {
        min-height: 100px !important;
        min-width: 100% !important;
        margin: 0 !important;
        margin-top: 2px !important;
        font-size: 10px !important;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    20%, 60% {
        transform: translateX(-5px);
    }
    40%, 80% {
        transform: translateX(5px);
    }
}

.shaking-element {
    animation: shake 0.5s ease-in-out infinite; /* Apply the shake animation */
    border: 2px solid #dc3545;
}

#employee,
#official,
#owner {
    min-height: 230px !important;
}

input[name="carAvailability-radio"]:checked + label .selection-card {
    border-color: #17a2b8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

input[name="carAvailability-radio"]:checked + label .selection-card::after {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.selection-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.car-icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.financing-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.loan-icon {
    color: #17a2b8;
}

.murabaha-icon {
    color: #198754;
}

.btn-custom-loan {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
}

.btn-custom-loan:hover {
    background-color: #138a9d;
    border-color: #138a9d;
    color: white;
}

.btn-custom-murabaha {
    background-color: #198754;
    border-color: #198754;
    color: white;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
}

.btn-custom-murabaha:hover {
    background-color: #157347;
    border-color: #157347;
    color: white;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6c757d;
}

.feature-list li i {
    color: #198754;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #495057;
    font-weight: 600;
    font-size: 24px;
}

.step-section {
    margin-bottom: 60px;
}

.container-custom {
    max-width: 66%;
    margin: 0 auto;
    padding: 40px 10px;
    border-radius: 20px 20px 5px 5px;
}

.container-custom-2 {
    max-width: 80%;
    margin: 0 auto;
    padding: 40px 10px;
    border-radius: 20px 20px 5px 5px;
}

.container-custom-2 a {
    color: #2495C0;
}

.choices {
    margin-bottom: 0 !important;
}

.form-control {
    margin-bottom: 0 !important;
}

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    /*padding: 10px;*/
    /*border-radius: 12px;*/
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-title {
    text-align: center;
    font-size: 24px;
    color: #495057;
    margin-bottom: 40px;
    font-weight: 400;
}

.form-title .employee-link {
    color: #17a2b8;
    text-decoration: underline;
    font-weight: 500;
}

.form-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    /*background-color: #f8f9fa;*/
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
    background-color: white;
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 13px;
}

.disclaimer {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    margin-top: 60px;
    font-style: italic;
}

.row {
    margin-bottom: 20px;
}

.col-md-6:first-child {
    padding-right: 15px;
}

.col-md-6:last-child {
    padding-left: 15px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545; /* Bootstrap's default invalid color */
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

.form-control.is-valid + .valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #198754;
}

.row > div.mb-3:not(:last-child) {
    margin-bottom: 1rem !important;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.left-panel {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.right-panel {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 30px;
}

.form-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 25px;
}

.slider-container {
    margin-bottom: 30px;
}

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

.slider-value {
    font-weight: 600;
    color: #495057;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        #17a2b8 0%,
        #17a2b8 45%,
        #dee2e6 45%,
        #dee2e6 100%
    );
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #17a2b8;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #17a2b8;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
}

.btn-validate {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    border-radius: 8px;
    padding: 15px;
    font-weight: 500;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
}

.btn-validate:hover {
    background-color: #138a9d;
    border-color: #138a9d;
    color: white;
}

.payment-display {
    text-align: center;
    margin-bottom: 30px;
}

.payment-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.payment-amount {
    font-size: 36px;
    font-weight: 700;
    color: #495057;
}

.payment-period {
    color: #6c757d;
    font-size: 16px;
}

.calculation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 14px;
}

.calculation-row:last-child {
    border-bottom: none;
}

.calculation-label {
    color: #6c757d;
    flex: 1;
}

.calculation-value {
    font-weight: 600;
    color: #495057;
}

.total-section {
    border-top: 2px solid #f1f3f4;
    padding-top: 20px;
    margin-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.success-banner {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-icon {
    font-size: 24px;
}

.success-content {
    flex: 1;
}

.success-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.success-text {
    font-size: 14px;
    opacity: 0.9;
}

.percentage-display {
    font-size: 48px;
    font-weight: 700;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: start;
    /* justify-content: start; */
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-circle.completed {
    background-color: #28a745;
}

.step-circle.active {
    background-color: #007bff;
}

.step-circle.pending {
    background-color: #6c757d;
}

.step-line {
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.step:last-child .step-line {
    display: none;
}

.step-line.completed {
    background-color: #28a745;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-bottom: 0.25rem;
}

.step-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
}

.form-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.edit-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.edit-link:hover {
    text-decoration: underline;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.info-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.appointment-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 1.5rem auto 0 auto;
}

.calendar-container {
    display: flex;
    flex-direction: column !important;
    gap: 2rem;
    margin-top: 1rem;
        width: 100% !important;

}

.calendar-section {
    flex: 1;
}

.time-slots {
    flex: 1;
}

.time-slot {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.time-slot:hover {
    background-color: #e9ecef;
}

.time-slot.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.timezone-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.location-input {
    margin-top: 1rem;
}

.ui-datepicker {
    font-size: 0.9rem;
}

.consent-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.consent-text {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.75rem 2rem;
}

.header-container h1 {
    font-size: 4rem;
}

/* Container width and border */
.select2-container--default .select2-selection--single {
    height: 42px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

/* On focus */
.select2-container--default.select2-container--focus
.select2-selection--single {
    border-color: #5c9ded; /* or any theme color */
    box-shadow: 0 0 0 0.2rem rgba(92, 157, 237, 0.25);
}

/* Selected text */
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #495057;
    line-height: 28px;
}

/* Arrow icon */
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 100%;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Clear button (X) */
.select2-container--default .select2-selection__clear {
    color: #dc3545;
    margin-right: 6px;
    font-weight: bold;
}

.time-slot.active {
    background: #f5f7f9;
}

#personalInfoFormPreview-section {
    background: #f5f7f9;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 1rem !important;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

.custom-divider {
    display: block;
    height: 2px;
    width: 1000px;
    margin: 2rem auto;
}

/*NEW CSS*/
.steps {
    width: 75%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.steps.employement {
    justify-content: space-between !important;
    flex-direction: column;
    margin: 0 !important;
    width: 100% !important;
    margin-bottom: 45px !important;
}

.steps .progress {
}

.semi-header {
    width: 100%;
}

.w-80 {
    width: 80% !important;
}

.w-70 {
    width: 70% !important;
}

.w-60 {
    width: 60% !important;
}

/*width: 70%;*/
/* --- Mobile styles --- */
@media (max-width: 900px) {
    .full-width {
        width: 100% !important;
    }

    .w-80,
    .w-70,
    .w-60 {
        width: 100% !important;
    }
}

@media (max-width: 600px) {

    .progress-steps {
        flex-direction: column;
        align-items: center !important;
    }

    .step {
        text-align: left;
        margin-bottom: 30px;
    }

    /* .step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 120px !important;
        left: 54px;
        width: 2px !important;
        height: 30px !important;
        background-color: #ccc;
    } */

    .step .step-number {
        margin-right: 10px;
    }

    .step > * {
        display: inline-block;
        vertical-align: middle;
    }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px 40px 40px auto;
    max-width: 1050px;
    font-family: "Segoe UI", sans-serif;
    /* padding: 0px 0px 0px 20px; */
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    /* margin: 2px; */
}

/* .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    right: -50%;
    width: 90%;
    height: 2px;
    background-color: #ccc;
    z-index: 0;
} */

.step .step-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    display: inline-block;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

.step.complete .step-number {
    background-color: #4caf50; /* Green for completed */
}

.step .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-top: 6px;
    color: #2196f3;
    background-color: #e6f0fd;
    border: 1px solid #d0e3fa;
}

.step.complete .status-badge {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

.step.in-progress .step-number {
    background-color: #2196f3; /* Blue for in progress */
}

.step.in-progress .status-badge {
    background-color: #e6f0fd;
    color: #2196f3;
    border: 1px solid #d0e3fa;
}

.step.pending .status-badge {
    background-color: #f5f5f5;
    color: #888;
    border: 1px solid #ccc;
}

.flatpickr-calendar {
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: none;
}

.flatpickr-day {
    border-radius: 50%;
    height: 38px;
    width: 38px;
    line-height: 38px;
    font-weight: 500;
}

.flatpickr-day.today {
    border: 1px solid #1e90ff;
    color: #1e90ff;
}

.flatpickr-day.selected {
    background-color: #1e90ff;
    color: #fff;
}

.flatpickr-day.inRange {
    background-color: rgba(30, 144, 255, 0.1);
}

.result-container {
    background: #22c55e;
    border-radius: 0.25rem;
    color: white;
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    font-family: sans-serif;
}

.allowed-container-bg {
    background: #22c55e !important;
}

.maybe-container-bg {
    background: rgba(255, 128, 0, 0.94) !important;
}

.notallowed-container-bg {
    background: #cb1818 !important;
}

.result-chart {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.semi-circle {
    width: 80px;
    height: 40px;
    background: conic-gradient(
        white 0% 10%,
            /* Start angle progress */ #22c55e 10% 100% /* Background */
    );
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    overflow: hidden;
    position: relative;
}

.semi-circle::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 68px;
    height: 34px;
    background: #22c55e;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    z-index: 1;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 14px;
    color: white;
    z-index: 2;
}

.result-text {
    width: 65%;
    padding: 1rem 0.5rem;
    font-size: 12px;
    font-weight: 300;
}

.result-text span {
    font-weight: bold;
}

.progress-container {
    width: 100%;
    max-width: 300px;
    background-color: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    height: 10px;
    margin: 1rem 0;
    position: relative;
}

.progress-container .progress-bar {
    height: 100%;
    width: 30%; /* Change this value to set progress */
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.progress-container .progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.custom-choice {
    width: 33%;
}

.custom-choice .selection-card {
    width: 100% !important;
    height: 185px !important;
    min-height: 150px !important;
}

.gauge {
    position: relative;
    width: 100px;
    height: 50px;
}

/* Background arc */
.gauge .arc-bg {
    width: 100%;
    height: 100%;
    border: 15px solid #ccc; /* grey arc */
    border-bottom: none;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    box-sizing: border-box;
}

/* Filled arc */
.gauge .arc-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 15px solid white; /* progress color */
    border-bottom: none;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    box-sizing: border-box;
    clip-path: inset(0 100% 0 0); /* controls how much is filled (30%) */
}

/* Percentage text */
.gauge .percentage {
    position: absolute;
    width: 100%;
    bottom: 2px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
}



/* =========================================================
   Car availability (HAVECAR / WANTCAR) UI enhancement
   Keep HTML the same — override existing selection-card rules
   ========================================================= */

#carAvailability .custom-choices{
    width: 100% !important;
    max-width: 520px;
    margin: .5rem 0;
}

@media (min-width: 768px){
    #carAvailability .custom-choices{
        margin: 0;
    }
    #carAvailability .custom-choices + .custom-choices{
        margin-left: 1.25rem;
    }
}

/* Make these cards compact (your CSS was forcing 560px / 660px) */
#carAvailability .selection-card{
    width: 100% !important;
    min-height: 92px !important;      /* key fix */
    height: auto !important;          /* key fix */
    padding: 1.15rem 1.25rem !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    background: #fff !important;
    border-radius: 12px !important;
    cursor: pointer;
    user-select: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

/* Keep small-selection-card consistent */
#carAvailability .selection-card.small-selection-card{
    min-height: 92px !important;
}

/* Icon polish */
#carAvailability .car-icon{
    font-size: 1.9rem !important;
    line-height: 1;
    color: #6c757d !important;
    margin: 0 !important;
    transition: color .15s ease, transform .15s ease;
}

/* Better text rhythm */
#carAvailability h5{
    letter-spacing: .2px;
}

#carAvailability small{
    display: block;
    margin-top: .15rem;
    line-height: 1.25;
}

/* Hover */
#carAvailability label:hover .selection-card{
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.10) !important;
    border-color: rgba(13,110,253,.35) !important; /* bootstrap primary */
}

#carAvailability label:active .selection-card{
    transform: translateY(0);
}

/* Selected (radio checked) */
#carAvailability input[name="carAvailability-radio"]:checked + label .selection-card{
    border-color: rgba(13,110,253,.65) !important;
    background: rgba(13,110,253,.06) !important;
    box-shadow: 0 .75rem 1.75rem rgba(13,110,253,.18) !important;
}

/* Selected icon color */
#carAvailability input[name="carAvailability-radio"]:checked + label .car-icon{
    color: #0d6efd !important;
    transform: scale(1.03);
}

/* Replace your ✓ bubble for this step with a cleaner one */
#carAvailability input[name="carAvailability-radio"]:checked + label .selection-card::after{
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0d6efd;
    color: #fff;
    border-radius: 999px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Keyboard accessibility */
#carAvailability input[name="carAvailability-radio"]:focus-visible + label .selection-card{
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25) !important;
    border-color: rgba(13,110,253,.75) !important;
}

/* Mobile tweaks */
@media (max-width: 767.98px){
    #carAvailability .custom-choices{
        max-width: 100%;
        margin: .5rem auto;
    }

    #carAvailability .selection-card{
        padding: 1rem 1rem !important;
        min-height: 86px !important;
    }

    #carAvailability .car-icon{
        font-size: 1.75rem !important;
    }
}


/* =========================================================
   MODERN / PRO – Loan type (LOAN / MOURABAHA)
   Scoped to #loanType only (won’t break other steps)
   ========================================================= */

/* Layout */
#loanType .custom-choices{
    width: 100% !important;
    max-width: 580px;
    margin: .75rem 0;
}

@media (min-width: 768px){
    #loanType .custom-choices{ margin: 0; }
    #loanType .custom-choices + .custom-choices{ margin-left: 1.25rem; }
}

/* Card base (modern “soft panel”) */
#loanType .selection-card{
    width: 100% !important;
    min-height: 520px !important;
    height: auto !important;

    /* Modern look */
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important; /* slate-ish */
    border-radius: 18px !important;

    padding: 2rem 1.75rem !important;
    position: relative;
    cursor: pointer;
    user-select: none;

    /* Modern shadow */
    box-shadow:
        0 10px 25px rgba(15, 23, 42, .06),
        0 1px 0 rgba(255,255,255,.9) inset;

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

/* Subtle “top highlight” */
#loanType .selection-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    background: radial-gradient(1200px 400px at 20% 0%, rgba(13,110,253,.10), transparent 45%);
    opacity: .65;
}

/* Hover */
#loanType label:hover .selection-card{
    transform: translateY(-4px);
    border-color: rgba(13,110,253,.28) !important;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, .10),
        0 1px 0 rgba(255,255,255,.9) inset;
}

/* Header */
#loanType .text-center.mb-4{
    margin-bottom: 1.4rem !important;
}

/* Icon: smaller, more “UI” */
#loanType .car-icon{
    font-size: 2.1rem !important;
    color: #64748b !important; /* slate-500 */
    margin-bottom: .9rem !important;
    transition: color .18s ease, transform .18s ease;
}

/* Headline: clean typography */
#loanType h5{
    font-weight: 600 !important;
    color: #0f172a; /* slate-900 */
    line-height: 1.25;
    margin: 0 auto;
    max-width: 26rem;
    letter-spacing: .1px;
}

/* Button: “pill chip” style even when disabled */
#loanType .btn{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 999px !important;
    padding: .55rem 1rem !important;
    font-weight: 700 !important;
    font-size: .95rem !important;

    border: 1px solid rgba(15, 23, 42, .10) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    opacity: 1 !important;
}

#loanType .btn:disabled{
    opacity: 1 !important;
    color: #fff !important;
}

/* Benefits list: cleaner spacing + alignment */
#loanType .mt-3.pt-2{
    margin-top: 1.5rem !important;
    padding-top: .5rem !important;
}

#loanType .mt-3.pt-2 p{
    display: flex;
    gap: .65rem;
    margin: .95rem 0;
    line-height: 1.45;
    color: #334155; /* slate-700 */
}

#loanType .mt-3.pt-2 i{
    margin-top: .15rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}

/* Selected state: professional “focus ring” + glow */
#loanType input[name="loanType-radio"]:checked + label .selection-card{
    border-color: rgba(13,110,253,.55) !important;
    background: linear-gradient(180deg, #ffffff 0%, rgba(13,110,253,.04) 100%) !important;
    box-shadow:
        0 22px 50px rgba(13,110,253,.14),
        0 0 0 4px rgba(13,110,253,.10),
        0 1px 0 rgba(255,255,255,.9) inset;
}

/* Selected icon */
#loanType input[name="loanType-radio"]:checked + label .car-icon{
    color: #0d6efd !important;
    transform: scale(1.04);
}

/* Selected badge: subtle, modern */
#loanType input[name="loanType-radio"]:checked + label .selection-card::after{
    content: "Selected";
    position: absolute;
    top: 14px;
    right: 14px;

    padding: .35rem .65rem;
    border-radius: 999px;

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .2px;

    color: #0d6efd;
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.25);
    backdrop-filter: blur(6px);
}

/* Keyboard focus */
#loanType input[name="loanType-radio"]:focus-visible + label .selection-card{
    outline: 0;
    box-shadow:
        0 0 0 .3rem rgba(13,110,253,.22),
        0 18px 40px rgba(15, 23, 42, .10) !important;
}

/* Mobile */
@media (max-width: 767.98px){
    #loanType .custom-choices{
        max-width: 100%;
        margin: .75rem auto;
    }

    #loanType .selection-card{
        min-height: auto !important;
        padding: 1.25rem 1.1rem !important;
        border-radius: 16px !important;
    }

    #loanType .selection-card::before{
        border-radius: 16px;
        opacity: .55;
    }

    #loanType .car-icon{
        font-size: 1.95rem !important;
    }
}


/* =========================================================
   MODERN / PRO – Professional status cards (SALARIÉ / ...)
   Scoped to #professionalStatus only
   ========================================================= */

/* Header polish */
#professionalStatus .section-header h2{
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f172a; /* slate-900 */
    margin-bottom: .35rem;
}

#professionalStatus .section-header p{
    color: #64748b; /* slate-500 */
    margin-bottom: 1.75rem;
}

/* Layout spacing */
#professionalStatus .d-flex.flex-column.flex-lg-row{
    gap: 1.15rem; /* modern spacing between cards */
}

/* Each choice wrapper */
#professionalStatus .custom-choice{
    width: 100%;
}

/* Card base */
#professionalStatus .selection-card{
    width: 100% !important;
    min-height: 160px !important;
    height: 100%;

    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;

    padding: 1.4rem 1.5rem;
    position: relative;
    cursor: pointer;
    user-select: none;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .06),
        0 1px 0 rgba(255,255,255,.9) inset;

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

/* Subtle top glow */
#professionalStatus .selection-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    background: radial-gradient(900px 260px at 20% 0%, rgba(13,110,253,.10), transparent 48%);
    opacity: .6;
}

/* Hover */
#professionalStatus label:hover .selection-card{
    transform: translateY(-3px);
    border-color: rgba(13,110,253,.28);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, .10),
        0 1px 0 rgba(255,255,255,.9) inset;
}

/* Title styling */
#professionalStatus .card-title{
    font-weight: 800 !important;
    letter-spacing: .6px;
    color: #0f172a;
}

/* Icon styling */
#professionalStatus .card-body i{
    color: #64748b !important;
    transition: color .18s ease, transform .18s ease;
}

/* Text */
#professionalStatus .card-text small{
    display: block;
    color: #475569; /* slate-600 */
    line-height: 1.55;
    font-size: .95rem;
}

/* Selected state (radio checked) */
#professionalStatus input[name="professionalStatus-radio"]:checked + label .selection-card{
    border-color: rgba(13,110,253,.55);
    background: linear-gradient(180deg, #ffffff 0%, rgba(13,110,253,.04) 100%);
    box-shadow:
        0 22px 50px rgba(13,110,253,.14),
        0 0 0 4px rgba(13,110,253,.10),
        0 1px 0 rgba(255,255,255,.9) inset;
}

/* Selected icon */
#professionalStatus input[name="professionalStatus-radio"]:checked + label .card-body i{
    color: #0d6efd !important;
    transform: scale(1.03);
}

/* Selected badge */
#professionalStatus input[name="professionalStatus-radio"]:checked + label .selection-card::after{
    /* content: "Sélectionné"; */
    /* position: absolute;
    top: 14px;
    right: 14px;

    padding: .32rem .6rem;
    border-radius: 999px;

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .2px;

    color: #0d6efd;
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.25);
    backdrop-filter: blur(6px); */
}

/* Accessibility: keyboard focus ring */
#professionalStatus input[name="professionalStatus-radio"]:focus-visible + label .selection-card{
    outline: 0;
    box-shadow:
        0 0 0 .3rem rgba(13,110,253,.22),
        0 18px 40px rgba(15, 23, 42, .10);
}

/* Side spacing so content feels spacious */
#professionalStatus .custom-choice{
    padding-left: .4rem;
    padding-right: .4rem;
}

@media (min-width: 992px){
    #professionalStatus .custom-choice{
        padding-left: .75rem;
        padding-right: .75rem;
    }
}

/* Mobile tightening */
@media (max-width: 767.98px){
    #professionalStatus .selection-card{
        padding: 1.15rem 1.1rem;
        border-radius: 16px;
    }
    #professionalStatus .selection-card::before{
        border-radius: 16px;
        opacity: .55;
    }
}
/* =========================================================
   Header-only typography & spacing – Professional status
   (NO card body text changes)
   ========================================================= */

/* Section spacing */
#professionalStatus{
    padding: 2.5rem 0 3rem;
}

/* Main section title */
#professionalStatus .section-header h2{
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: .6rem;
}

/* Section subtitle */
#professionalStatus .section-header p{
    font-size: 1.05rem;
    line-height: 1.45;
    max-width: 42rem;
    margin: 0 auto 2.25rem;
    color: #64748b;
}

/* Card titles only */
#professionalStatus .card-title{
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: .6px;
}

/* Desktop refinement */
@media (min-width: 992px){
    #professionalStatus{
        padding: 3rem 0 3.5rem;
    }

    #professionalStatus .section-header h2{
        font-size: 2.4rem;
    }

    #professionalStatus .section-header p{
        font-size: 1.1rem;
    }

    #professionalStatus .card-title{
        font-size: 1.2rem;
    }
}

/* Mobile tuning */
@media (max-width: 767.98px){
    #professionalStatus{
        padding: 1.75rem 0 2.25rem;
    }

    #professionalStatus .section-header h2{
        font-size: 1.75rem;
    }

    #professionalStatus .section-header p{
        font-size: .95rem;
        margin-bottom: 1.75rem;
    }

    #professionalStatus .card-title{
        font-size: 1.05rem;
        letter-spacing: .4px;
    }
}
/* =========================================================
   MODERN / PRO – Professional information form (headers only)
   Scoped to #professionalInformation
   ========================================================= */

/* Section breathing room */
#professionalInformation{
    padding: 2.5rem 0 3rem;
}

/* Main title: "Vous êtes SALARIÉ" */
#professionalInformation .form-title{
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .2px;
    margin-bottom: 2rem;
    color: #0f172a; /* slate-900 */
}

/* Highlighted status word (SALARIÉ / …) */
#professionalInformation .employee-link{
    font-weight: 800;
    color: #0d6efd;
    letter-spacing: .4px;
}

/* Group spacing between rows */
#professionalInformation form > div{
    margin-bottom: 1.6rem;
}

/* Section background container spacing */
#professionalInformation > div{
    padding: 2.5rem 2.75rem !important;
    border-radius: 18px !important;
}

/* Labels (headers of fields) */
#professionalInformation .form-label{
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .2px;
    margin-bottom: .45rem;
    color: #334155; /* slate-700 */
}

/* Disclaimer spacing & tone */
#professionalInformation .disclaimer{
    margin-top: 2.5rem;
    font-size: .85rem;
    color: #64748b;
}

/* Desktop refinement */
@media (min-width: 992px){
    #professionalInformation{
        padding: 3rem 0 3.75rem;
    }

    #professionalInformation .form-title{
        font-size: 2.3rem;
        margin-bottom: 2.25rem;
    }

    #professionalInformation > div{
        padding: 3rem 3.25rem !important;
    }

    #professionalInformation .form-label{
        font-size: .97rem;
    }
}

/* Mobile tuning */
@media (max-width: 767.98px){
    #professionalInformation{
        padding: 1.75rem 0 2.25rem;
    }

    #professionalInformation .form-title{
        font-size: 1.65rem;
        margin-bottom: 1.75rem;
    }

    #professionalInformation > div{
        padding: 1.75rem 1.5rem !important;
        border-radius: 16px !important;
    }

    #professionalInformation .form-label{
        font-size: .9rem;
    }
}
/* =========================================================
   MODERN / PRO – Pre-qualification title block
   Scoped to #pre-qualification-title
   ========================================================= */

#pre-qualification-title{
    padding: 2.25rem 0 1.75rem;
    text-align: center;
}

#pre-qualification-title h2{
    font-size: 2.15rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0 0 .65rem 0;
    color: #0f172a; /* slate-900 */
}

#pre-qualification-title p{
    font-size: 1.05rem;
    line-height: 1.55;
    color: #64748b; /* slate-500 */
    margin: 0;
    max-width: 46rem;   /* prevents super wide lines */
}

/* Make sure the paragraph is centered even if width is constrained */
#pre-qualification-title p{
    margin-left: auto;
    margin-right: auto;
}

/* Desktop refinement */
@media (min-width: 992px){
    #pre-qualification-title{
        padding: 2.75rem 0 2rem;
    }

    #pre-qualification-title h2{
        font-size: 2.4rem;
    }

    #pre-qualification-title p{
        font-size: 1.1rem;
        max-width: 52rem;
    }
}

/* Mobile tuning */
@media (max-width: 767.98px){
    #pre-qualification-title{
        padding: 1.5rem 0 1.25rem;
    }

    #pre-qualification-title h2{
        font-size: 1.7rem;
    }

    #pre-qualification-title p{
        font-size: .95rem;
        max-width: 28rem;
        padding: 0 .5rem;
    }
}
/* =========================================================
   MODERN / PRO – Personal information form
   Scoped to #personalInformation
   ========================================================= */

/* Section breathing room */
#personalInformation{
    padding: 2.25rem 0 3rem;
}

/* Form container feel (works with your .form-container base) */
#personalInformation.form-container{
    max-width: 1200px;
}

/* Title */
#personalInformation h3{
    font-size: 2.05rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .2px;
    color: #0f172a;
    margin: 0 0 2rem 0;
}

/* Row spacing (each row wrapper) */
#personalInformation form > .d-flex{
    gap: 1.5rem;              /* space between the two columns */
    margin-bottom: 1.35rem;   /* space between rows */
}

/* Inputs width tweak: keep two columns aligned */
#personalInformation .input-width{
    width: 49%;
}

/* Labels (keep your existing base but make them more polished) */
#personalInformation .form-label{
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .2px;
    color: #334155;
    margin-bottom: .45rem;
}

/* Controls: subtle premium feel */
#personalInformation .form-control{
    border-radius: 12px;
    padding: 12px 14px;
}

/* City block spacing */
#personalInformation .mb-3{
    margin-top: .25rem;
    margin-bottom: 0 !important;
}

/* Button placement & feel */
#personalInformation .btn.btn-primary{
    border-radius: 10px;
    padding: .75rem 2.25rem;
    font-weight: 700;
    margin-top: 20px !important;
}

/* Disclaimer: centered + softer */
#personalInformation .disclaimer{
    margin-top: 2.25rem !important; /* replaces your 60px with a cleaner rhythm */
    text-align: center;
    font-size: .9rem;
    color: #64748b;
}

/* Desktop refinement */
@media (min-width: 992px){
    #personalInformation{
        padding: 2.75rem 0 3.75rem;
    }

    #personalInformation h3{
        font-size: 2.3rem;
        margin-bottom: 2.25rem;
    }

    #personalInformation form > .d-flex{
        gap: 2rem;
        margin-bottom: 1.6rem;
    }
}

/* Mobile: stack nicely with good spacing */
@media (max-width: 767.98px){
    #personalInformation{
        padding: 1.5rem 0 2.25rem;
    }

    #personalInformation h3{
        font-size: 1.65rem;
        margin-bottom: 1.5rem;
    }

    #personalInformation .input-width{
        width: 100%;
    }

    #personalInformation form > .d-flex{
        gap: 1rem;
        margin-bottom: 1.1rem;
    }

    #personalInformation .btn.btn-primary{
        width: 100%;
        float: none !important;
    }
}
/* =========================================================
   MODERN / PRO – Car information step
   Scoped to #carInformation
   ========================================================= */

/* Section container (your appointment-section already exists) */
#carInformation.appointment-section{
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .08);
    padding: 2.25rem 2.5rem;
}

/* Header */
#carInformation h4{
    font-size: 2.05rem;
    font-weight: 800 !important;
    line-height: 1.15;
    letter-spacing: .2px;
    color: #0f172a;
    margin-bottom: .5rem;
}

#carInformation p small{
    font-size: 1.02rem;
    line-height: 1.55;
    color: #64748b !important;
    display: inline-block;
    max-width: 52rem;
}

/* Row spacing (Bootstrap .row is used) */
#carInformation form .row{
    margin-bottom: 1.35rem;
}

/* Labels (keep inputs same, improve header readability) */
#carInformation .form-label{
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .2px;
    color: #334155;
    margin-bottom: .45rem;
}

/* Inputs / selects: subtle polish (keeps your base styles) */
#carInformation .form-control{
    border-radius: 12px;
    padding: 12px 14px;
}

/* Make select2 look aligned with your inputs if it wraps */
#carInformation .select2-container--default .select2-selection--single{
    border-radius: 12px;
}

/* CTA row & button */
#carInformation > .d-flex.flex-row-reverse{
    margin-top: 1.5rem !important;
}

#carInformation .btn.btn-primary.w-25{
    width: auto !important;          /* remove tiny fixed width on wide screens */
    min-width: 240px;
    border-radius: 10px;
    padding: .85rem 2.6rem;
    font-weight: 700;
}

/* Desktop refinement */
@media (min-width: 992px){
    #carInformation.appointment-section{
        padding: 2.75rem 3rem;
    }

    #carInformation h4{
        font-size: 2.35rem;
    }

    #carInformation form .row{
        margin-bottom: 1.6rem;
    }
}

/* Mobile */
@media (max-width: 767.98px){
    #carInformation.appointment-section{
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    #carInformation h4{
        font-size: 1.7rem;
    }

    #carInformation form .row{
        margin-bottom: 1.1rem;
    }

    #carInformation .btn.btn-primary.w-25{
        width: 100% !important;     /* full-width CTA on mobile */
        min-width: unset;
    }
}

/* =========================================================
   MODERN / PRO – Estimation section
   Scoped to #EstimationSection
   ========================================================= */

#EstimationSection{
    padding: 1.25rem 0 2.5rem;
}

/* Ensure the two columns breathe and align */
#EstimationSection.estimation-section{
    gap: 1.25rem;
    align-items: stretch;
}

/* Both sides become “cards” */
#EstimationSection .esstimation-content-container{
    width: 49% !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%) !important;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    padding: 1.75rem 1.75rem !important;
}

/* Left form card: spacing */
#EstimationSection .esst-form form > div{
    margin-bottom: 1.15rem;
}

/* Section mini title on right */
#EstimationSection .esstimation-content-container > p.text-center{
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .2px;
    color: #334155;
    margin-bottom: 1rem;
}

/* Big monthly number */
#EstimationSection .price-per-month{
    font-size: 2.35rem;
    line-height: 1.1;
    letter-spacing: .2px;
    color: #0f172a;
}

/* Labels inside the summary list */
#EstimationSection .d-flex.flex-row.justify-content-between > span:first-child{
    color: #64748b;
}

/* Divider */
#EstimationSection hr{
    margin: 1.2rem 0;
    opacity: .12;
}

/* Make the totals area feel structured */
#EstimationSection .d-flex.flex-column[style*="font-size: 18px"]{
    font-size: 1.05rem !important;
    gap: .25rem;
}

#EstimationSection .d-flex.flex-column[style*="font-size: 18px"] span{
    color: #0f172a;
}

/* Slider blocks (Apport / Durée) */
#EstimationSection .bg-gray{
    background: #f5f7f9 !important;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 16px !important;
}

/* Slider header text */
#EstimationSection .bg-gray .form-label span:first-child{
    font-weight: 600 !important;
    color: #0f172a;
}

/* Slider value preview */
#EstimationSection #apportValuePreview,
#EstimationSection #loanValuePreview{
    font-weight: 800;
    color: #0d6efd;
}

/* Range slider polish (keeps your existing thumb styles) */
#EstimationSection .form-range{
    height: 6px;
}

#EstimationSection .form-range::-webkit-slider-runnable-track{
    height: 6px;
    border-radius: 999px;
    background: rgba(13, 110, 253, .16);
}

#EstimationSection .form-range::-webkit-slider-thumb{
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border-radius: 999px;
    background: #0d6efd;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(13, 110, 253, .25);
}

#EstimationSection .form-range::-moz-range-track{
    height: 6px;
    border-radius: 999px;
    background: rgba(13, 110, 253, .16);
}

#EstimationSection .form-range::-moz-range-thumb{
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #0d6efd;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(13, 110, 253, .25);
}

/* Result banner: premium, less harsh edges */
#EstimationSection .result-container{
    border-radius: 16px !important;
    padding: .9rem .9rem !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}

/* Result text */
#EstimationSection .result-text{
    font-size: .95rem;
    line-height: 1.45;
}

/* Percentage value alignment */
#EstimationSection #percentage-value{
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: -32px !important; /* override your global -42/-35 tweaks */
}

/* Validate button: strong CTA */
#EstimationSection #validateSimulationBtn{
    border-radius: 12px;
    padding: .95rem 1.25rem;
    font-weight: 800;
    letter-spacing: .2px;
}

/* Desktop refinement */
@media (min-width: 992px){
    #EstimationSection{
        padding: 1.75rem 0 3.25rem;
    }

    #EstimationSection .esstimation-content-container{
        padding: 2rem 2.25rem !important;
    }

    #EstimationSection .price-per-month{
        font-size: 2.55rem;
    }
}

/* Mobile stack */
@media (max-width: 992px){
    #EstimationSection.estimation-section{
        flex-direction: column !important;
    }

    #EstimationSection .esstimation-content-container{
        width: 100% !important;
    }
}
/* =========================================================
   CLEAN / FLAT – Calendar section (no card)
   Scoped to #calendarSection
   ========================================================= */

#calendarSection{
    padding: 2rem 0 3rem;
}

/* Container stays flat */
#calendarSection .calendar-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Header */
#calendarSection .section-title{
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f172a;
    text-align: center;
    margin-bottom: 2rem;
}

/* Calendar breathing room */
#calendarSection .calendar-section{
    margin-bottom: 1.75rem;
}

/* CTA alignment */
#calendarSection .d-flex.flex-row-reverse{
    justify-content: center;
}

/* Button */
#calendarSection .btn.btn-primary{
    border-radius: 12px;
    padding: .9rem 2.75rem;
    font-weight: 800;
    letter-spacing: .2px;
    min-width: 260px;
}

/* Desktop refinement */
@media (min-width: 992px){
    #calendarSection{
        padding: 2.5rem 0 3.5rem;
    }

    #calendarSection .section-title{
        font-size: 2.4rem;
    }
}

/* Mobile */
@media (max-width: 767.98px){
    #calendarSection{
        padding: 1.5rem 0 2.5rem;
    }

    #calendarSection .section-title{
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    #calendarSection .btn.btn-primary{
        width: 100%;
        min-width: unset;
    }
}
/* =========================================================
   MODERN / PRO – Final preview & submit section
   Scoped to #previewSection
   ========================================================= */

/* Layout breathing room */
#previewSection{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

/* Top header block (Congratulations + message) */
#previewSection > div:first-child h4{
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: .2px;
    line-height: 1.15;
    margin-bottom: .6rem;
    color: #0f172a;
}

#previewSection > div:first-child p{
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 56rem;
    margin: 0 auto 1.75rem;
    color: #64748b;
}

/* Each preview block becomes a clean modern panel */
#previewSection > div[id$="-preview"]{
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    padding: .75rem 0 !important;
    margin: .85rem 0 !important;
}

/* Section header row inside each block */
#previewSection > div[id$="-preview"] > div:first-child{
    padding: .85rem 1.25rem !important;
    margin-bottom: .85rem !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
}

/* Section header title text (Vos préférences / À propos de moi / etc.) */
#previewSection > div[id$="-preview"] > div:first-child > span{
    font-size: .95rem !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    color: #0f172a;
}

/* "Modifier" buttons: smaller, premium, consistent */
#previewSection a.btn.btn-outline-primary{
    border-radius: 10px;
    padding: .35rem .75rem;
    font-weight: 700;
    border-width: 1px;
}

/* Content rows spacing */
#previewSection .px-3.pb-1{
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-bottom: 1rem !important;
}

/* Small labels & values */
#previewSection small{
    color: #64748b;
}

#previewSection small[style*="font-weight: bold"],
#previewSection div[style*="font-weight: bold"] small{
    color: #0f172a;
    font-weight: 800 !important;
}

/* Consent section: more readable */
#previewSection #concent-preview label small{
    font-size: .9rem !important;
    line-height: 1.45;
    color: #475569;
}

#previewSection #concent-preview a{
    font-weight: 700;
    text-decoration: none;
}

#previewSection #concent-preview a:hover{
    text-decoration: underline;
}

/* Submit row */
#previewSection #submit-button{
    border-radius: 12px;
    padding: .9rem 2.75rem;
    font-weight: 800;
    letter-spacing: .2px;
    min-width: 220px;
}

/* Disabled submit looks intentional */
#previewSection #submit-button:disabled{
    opacity: .55;
    cursor: not-allowed;
}

/* Make submit row align nicely */
#previewSection > .d-flex.flex-row-reverse{
    margin-top: 1rem !important;
    padding: .25rem 0;
}

/* Mobile polish */
@media (max-width: 767.98px){
    #previewSection{
        width: 100% !important;
        padding: 1.5rem 0 2.25rem;
    }

    #previewSection > div:first-child h4{
        font-size: 1.75rem;
    }

    #previewSection > div:first-child p{
        font-size: .95rem;
        margin-bottom: 1.25rem;
        padding: 0 .5rem;
    }

    #previewSection a.btn.btn-outline-primary{
        padding: .35rem .6rem;
        font-size: .75rem !important;
    }

    #previewSection #submit-button{
        width: 100%;
        min-width: unset;
    }
}


/* =========================================================
   Preview modal simulation – TWO separate cards (like main simulation)
   Scoped to #EstimationSection_prev only
   ========================================================= */

/* Reset any "merged container" styling */
#EstimationSection_prev.estimation-section{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 1.25rem;
    align-items: stretch;
}

/* Make each side its OWN card */
#EstimationSection_prev .esstimation-content-container{
    width: 49% !important;

    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07) !important;

    padding: 1.75rem 1.75rem !important;
}

/* Ensure no divider shows */
#EstimationSection_prev .esstimation-content-container:first-child{
    border-right: 1px solid rgba(15, 23, 42, .08) !important; /* keep border normal */
}

/* Right side title + hierarchy */
#EstimationSection_prev .esstimation-content-container > p.text-center{
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f172a;
    margin-bottom: 1rem;
}

#EstimationSection_prev .price-per-month{
    font-size: 2.35rem;
    line-height: 1.1;
    letter-spacing: .2px;
    color: #0f172a;
}

/* Slider blocks inside left card */
#EstimationSection_prev .bg-gray{
    background: #f5f7f9 !important;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 16px !important;
}

/* Result banner polish */
#EstimationSection_prev .result-container{
    border-radius: 16px !important;
    padding: .9rem !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}

/* Mobile: stack into one column */
@media (max-width: 991.98px){
    #EstimationSection_prev.estimation-section{
        flex-direction: column !important;
    }

    #EstimationSection_prev .esstimation-content-container{
        width: 100% !important;
        padding: 1.5rem 1.25rem !important;
    }
}
/* =========================================================
   Preview page – Car details preview block (same system)
   Scoped to #car-details-preview + its modal
   ========================================================= */

/* Panel */
#previewSection #car-details-preview{
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    padding: .75rem 0 !important;
    margin: .85rem 0 !important;
}

/* Header row */
#previewSection #car-details-preview > div:first-child{
    padding: .85rem 1.25rem !important;
    margin-bottom: .85rem !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
}

/* Title */
#previewSection #car-details-preview > div:first-child > span{
    font-size: .95rem !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    color: #0f172a;
}

/* "Modifier" button */
#previewSection #car-details-preview a.btn.btn-outline-primary{
    border-radius: 10px;
    padding: .35rem .75rem;
    font-weight: 700;
}

/* Content spacing */
#previewSection #car-details-preview .px-3.pb-1{
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-bottom: 1rem !important;
}

/* Label/value tone */
#previewSection #car-details-preview small{
    color: #64748b;
}

#previewSection #car-details-preview small[style*="font-weight: bold"],
#previewSection #car-details-preview div[style*="font-weight: bold"] small{
    color: #0f172a;
    font-weight: 800 !important;
}

/* =========================================================
   Modal (edit car information) – modern spacing & header
   ========================================================= */

#editCarinformation .modal-content{
    border-radius: 18px;
    overflow: hidden;
}

#editCarinformation .modal-header{
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.modal-title{
    font-weight: 900;
    letter-spacing: .2px;
    color: #0f172a;
}

#editCarinformation .modal-body{
    padding: 1.25rem 1.25rem 1.5rem;
}

/* Modal section title ("Car Information") */
#editCarinformation .modal-body span[style*="font-weight: bold"]{
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 900 !important;
    color: #0f172a;
    margin-bottom: .75rem;
}

/* Inputs: a bit more premium */
#editCarinformation .form-control{
    border-radius: 12px;
    padding: .75rem .9rem;
}

/* Action button */
#editCarinformation .btn.btn-primary{
    border-radius: 12px;
    padding: .85rem 2.25rem;
    font-weight: 800;
    letter-spacing: .2px;
}

/* Mobile: button full width */
@media (max-width: 767.98px){
    #editCarinformation .d-flex.flex-row-reverse .btn.btn-primary{
        width: 100%;
    }
}
/* =========================================================
   Preview page – About me preview block (same system)
   Scoped to #about-me-preview + its modal
   ========================================================= */

/* Panel */
#previewSection #about-me-preview{
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    padding: .75rem 0 !important;
    margin: .85rem 0 !important;
}

/* Header row */
#previewSection #about-me-preview > div:first-child{
    padding: .85rem 1.25rem !important;
    margin-bottom: .85rem !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
}

/* Title */
#previewSection #about-me-preview > div:first-child > span{
    font-size: .95rem !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    color: #0f172a;
}

/* "Modifier" button */
#previewSection #about-me-preview a.btn.btn-outline-primary{
    border-radius: 10px;
    padding: .35rem .75rem;
    font-weight: 700;
}

/* Content spacing */
#previewSection #about-me-preview .px-3.pb-1{
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-bottom: 1rem !important;
}

/* Label/value tone */
#previewSection #about-me-preview small{
    color: #64748b;
}

#previewSection #about-me-preview small[style*="font-weight: bold"],
#previewSection #about-me-preview div[style*="font-weight: bold"] small{
    color: #0f172a;
    font-weight: 800 !important;
}

/* =========================================================
   Modal (edit about me) – modern spacing, typography, inputs
   ========================================================= */

#editAboutMe .modal-content{
    border-radius: 18px;
    overflow: hidden;
}

#editAboutMe .modal-header{
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

#editAboutMe .modal-title{
    font-weight: 900;
    letter-spacing: .2px;
    color: #0f172a;
}

#editAboutMe .modal-body{
    padding: 1.25rem 1.25rem 1.5rem;
}

/* "Your are ..." title inside modal */
#editAboutMe .form-title{
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .2px;
    margin: 1rem 0 1.15rem !important;
}

/* Inputs inside modal */
#editAboutMe .form-control{
    border-radius: 12px;
    padding: .75rem .9rem;
}

/* Select2 in modal (keeps consistent height) */
#editAboutMe .select2-container--default .select2-selection--single{
    height: 46px;
    border-radius: 12px;
    padding: 8px 12px;
}

/* Action button */
#editAboutMe .btn.btn-primary{
    border-radius: 12px;
    padding: .85rem 2.25rem;
    font-weight: 800;
    letter-spacing: .2px;
}

/* Mobile: button full width */
@media (max-width: 767.98px){
    #editAboutMe .btn.btn-primary.float-end{
        width: 100%;
        float: none !important;
    }
}
/* =========================================================
   Modern segmented choice tiles (edit modal professional status)
   Works with your existing HTML + x-small-selection-card
   ========================================================= */

/* Layout: nicer spacing and equal tiles */
.steps.employement > .d-flex{
    gap: 14px;
    align-items: stretch;
}

/* Each option wrapper */
.steps.employement .custom-choice.professionalStatus-class{
    width: 33.33%;
}

/* Tile base */
.steps.employement .selection-card.x-small-selection-card{
    min-height: 96px !important;
    width: 100% !important;
    margin: 0 !important;

    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);

    padding: 14px 14px !important;
    display: flex;
    align-items: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* Remove extra internal spacing */
.steps.employement .selection-card.x-small-selection-card .card-body{
    padding: 0 !important;
    width: 100%;
}

.steps.employement .selection-card.x-small-selection-card .mb-3{
    margin-bottom: 0 !important;
    width: 100%;
}

/* Title (ONLY headers) */
.steps.employement .selection-card.x-small-selection-card .card-title{
    font-size: .95rem !important;
    font-weight: 900 !important;
    letter-spacing: .2px;
    line-height: 1.1;
    color: #0f172a;
    margin: 0 !important;
    text-transform: uppercase;
}

/* Icon styling */
.steps.employement .selection-card.x-small-selection-card i{
    opacity: .75;
    text-align: center;
    transform: scale(.95);
    height: 70px !important;
    width: 70px !important;
}

/* Hover */
.steps.employement .selection-card.x-small-selection-card:hover{
    border-color: rgba(13, 110, 253, .35) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
    transform: translateY(-1px);
}

/* Selected (radio checked) — uses your existing selector pattern */
input[name="professionalStatus-radio-edit"]:checked + label .selection-card.x-small-selection-card{
    border-color: #17a2b8 !important;
    background: linear-gradient(180deg, rgba(23, 162, 184, .08) 0%, rgba(23, 162, 184, .03) 100%) !important;
    box-shadow: 0 16px 34px rgba(23, 162, 184, .18);
}

/* Selected check mark (top-right, cleaner) */
input[name="professionalStatus-radio-edit"]:checked + label .selection-card.x-small-selection-card::after{
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    background: #17a2b8;
    color: #fff;
}

/* Mobile stacking */
@media (max-width: 767.98px){
    .steps.employement > .d-flex{
        flex-direction: column;
        gap: 10px;
    }

    .steps.employement .custom-choice.professionalStatus-class{
        width: 100%;
    }

    .steps.employement .selection-card.x-small-selection-card{
        min-height: 88px !important;
    }
}



/* =========================================
   Edit Preferences modal - modern spacing
   ========================================= */

/* make the inner edit box feel like a card */
.edit-car-availability{
    background: #fff;
    padding: 18px 18px 14px !important;
}

/* title spacing */
.edit-car-availability h5{
    margin: 0 0 14px 0 !important;
    font-weight: 700;
    font-size: 1.05rem;
}

/* space on the sides between the container and the cards */
.edit-car-availability > .d-flex{
    padding: 6px 8px 10px !important; /* left/right spacing */
    gap: 14px;                        /* spacing between cards */
}

/* make both choices same width and consistent */
.small-custom-choices.loanType-class{
    flex: 1 1 0;
}

/* each label takes full width */
.small-custom-choices.loanType-class label{
    width: 100% !important;
    display: block;
}

/* tile look */
.edit-car-availability .selection-card.x-small-selection-card{
    min-height: 96px !important;
    padding: 18px 18px !important;
    border-radius: 14px !important;

    border: 1px solid #e9ecef !important;
    background: #fff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* REMOVE the uneven mx-3 effect just for this modal */
.edit-car-availability .selection-card.x-small-selection-card.mx-3{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* text style inside the tile */
.edit-car-availability .selection-card.x-small-selection-card small{
    font-size: .92rem;
    line-height: 1.25;
    color: #475569;
    text-align: left;
}

/* hover */
.edit-car-availability .selection-card.x-small-selection-card:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    border-color: #cbd5e1 !important;
}

/* selected state (works with your radio rule) */
input[name="loanType-radio-edit"]:checked + label .selection-card.x-small-selection-card{
    border: 2px solid #17a2b8 !important;
    background: #f0f9ff !important;
    box-shadow: 0 14px 34px rgba(23, 162, 184, 0.12);
}

/* better check placement */
input[name="loanType-radio-edit"]:checked + label .selection-card.x-small-selection-card::after{
    top: 10px !important;
    right: 10px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
}

/* modal padding so content breathes */
#editPreferences .modal-body{
    padding: 22px 22px 18px !important;
}

/* responsive: stack cleanly */
@media (max-width: 991.98px){
    .edit-car-availability > .d-flex{
        padding: 6px 0 10px !important;
        gap: 10px;
    }
}
/* ===============================
   Step navigation (Previous btn)
   =============================== */

.step-navigation {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.prev-step-btn {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #334155;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;

    display: inline-flex;
    align-items: center;
    gap: 4px;

    transition: all 0.15s ease;
}

.prev-step-btn:hover {
    background: #eef2f7;
    border-color: #cbd5e1;
    color: #0f172a;
}

.prev-step-btn i {
    font-size: 12px;
}


/* Card wrapper */
.car-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

/* Title */
.car-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  word-break: break-word;
}

/* Verified badge */
.badge-verified {
  background: #4CAF5047;
  color: #2e8b57;
  font-size: 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
}

/* Link */
.car-link {
  color: #2495C0;
  font-size: 13px;
  text-decoration: none;
}
.car-link:hover { text-decoration: underline; }

/* Price box */
.price-box {
  background: #2495C01A;
  border: 1px solid #bfe3f3;
  border-radius: 12px;
  padding: 12px;
}
.price-monthly {
  color: #2495C0;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
}

/* Details grid */
.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr; /* mobile: 2 cols */
  gap: 12px;
}
@media (min-width: 992px) { /* lg */
  .car-specs {
    grid-template-columns: repeat(3, 1fr); /* desktop: 3 cols */
  }
}

/* One spec item */
.spec {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
.spec-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2595C01A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.spec-label {
  font-size: 12px;
  color: #64748b;
  line-height: 1.2;
}
.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
  word-break: break-word;
}
