/* Loan form, dropdowns, Select2 and consent components */

.validate-input {
    position: relative;
}

.label-input100 {
    font-family: Poppins-Regular;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    padding-left: 5px;
}

.focus-input100 {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

    .focus-input100::before {
        content: "";
        display: block;
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
        background: #7f7f7f;
    }

#ModelDropdown {
    position: relative;
    width: 100%;
    color: #333;
    font-size: 14px;
}

#ModelSelector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
}

#ModelDropdown .loan-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
}

#ModelMenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    z-index: 9999;
    overflow: hidden;
}

    #ModelMenu .loan-search-box {
        padding: 8px;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

#ModelSearch {
    display: block;
    width: 100%;
    height: 38px;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}

    #ModelSearch:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 2px rgba(0,123,255,.12);
    }

#ModelList {
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

    #ModelList .loan-item {
        padding: 10px 12px;
        cursor: pointer;
        border-bottom: 1px solid #f5f5f5;
    }

        #ModelList .loan-item:hover {
            background: #f2f5f8;
        }

        #ModelList .loan-item.active {
            background: #e8f0fe;
            color: #1967d2;
            font-weight: 600;
        }

    #ModelList::-webkit-scrollbar {
        width: 7px;
    }

    #ModelList::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    #ModelList::-webkit-scrollbar-thumb {
        background: #bdbdbd;
        border-radius: 5px;
    }

        #ModelList::-webkit-scrollbar-thumb:hover {
            background: #888;
        }

#ModelNoResult {
    padding: 15px 10px;
    color: #888;
    text-align: center;
}

#MakeDropdown {
    position: relative;
    width: 100%;
}

    #MakeDropdown #MakeMenu {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 9999;
        overflow: hidden;
    }

    #MakeDropdown #MakeList {
        display: block;
        height: 200px;
        max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        #MakeDropdown #MakeList::-webkit-scrollbar {
            width: 8px;
        }

        #MakeDropdown #MakeList::-webkit-scrollbar-thumb {
            background: #aaa;
            border-radius: 4px;
        }

        #MakeDropdown #MakeList::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

.loan-search {
    display: block;
    width: 100%;
    height: 38px;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    color: #333;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    box-sizing: border-box;
    box-shadow: none;
}

    .loan-search::placeholder {
        color: #999;
        opacity: 1;
    }

    .loan-search:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.12);
    }

.loan-search-box {
    padding: 8px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

#YearDropdown {
    position: relative;
    width: 100%;
}

    #YearDropdown #YearMenu {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        overflow: hidden;
    }

    #YearDropdown #YearList {
        display: block;
        height: 200px;
        max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        #YearDropdown #YearList::-webkit-scrollbar {
            width: 8px;
        }

        #YearDropdown #YearList::-webkit-scrollbar-thumb {
            background: #aaa;
            border-radius: 4px;
        }

        #YearDropdown #YearList::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

#ProvinceDropdown {
    position: relative;
    width: 100%;
}

    #ProvinceDropdown #ProvinceMenu {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        overflow: hidden;
    }

    #ProvinceDropdown #ProvinceList {
        display: block;
        height: 200px;
        max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        #ProvinceDropdown #ProvinceList::-webkit-scrollbar {
            width: 8px;
        }

        #ProvinceDropdown #ProvinceList::-webkit-scrollbar-thumb {
            background: #aaa;
            border-radius: 4px;
        }

        #ProvinceDropdown #ProvinceList::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

.loan-products {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px 24px;
    box-sizing: border-box;
    font-family: inherit;
    color: #222;
}

    .loan-products *,
    .loan-products *::before,
    .loan-products *::after {
        box-sizing: border-box;
    }

.loan-products-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
}

.loan-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.loan-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
    line-height: 1.65;
}

    .loan-table th,
    .loan-table td {
        border: 1px solid #fff;
        padding: 10px 12px;
        text-align: left;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .loan-table thead th {
        background-color: #4774c5;
        color: #fff;
        text-align: center;
        font-weight: 700;
        padding: 12px 8px;
    }

    .loan-table .detail-col,
    .loan-table tbody th {
        width: 16.5%;
    }

    .loan-table tbody th {
        background-color: #cfd6e9;
        font-weight: 600;
    }

    .loan-table tbody td {
        background-color: #cfd6e9;
    }

    .loan-table tbody tr:nth-child(even) th {
        background-color: #e8ebf4;
    }

    .loan-table tbody tr:nth-child(even) td {
        background-color: #e8ebf4;
    }

    .loan-table ul,
    .loan-table ol {
        margin: 0;
        padding-left: 18px;
    }

    .loan-table li {
        padding-left: 1px;
        margin-bottom: 3px;
    }

        .loan-table li:last-child {
            margin-bottom: 0;
        }

.loan-header {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.loan-label {
    color: white;
    font-weight: 600;
    line-height: 1.3;
    font-size: clamp(18px, 3vw, 60px);
}

.consent-section {
    text-align: center;
    padding-top: 10px;
}

.consent-text {
    color: #333;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    padding-top: 15px;
    padding-bottom: 15px;
}

.privacy-link {
    color: #0099ff;
    text-decoration: none;
    cursor: pointer;
}

.confirm-button {
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 100px;
    background: #1414b8;
    color: white;
    border: solid 5px white;
    border-radius: 18px;
    font-size: 34px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

    .confirm-button:hover {
        opacity: .9;
    }

.custom-input {
    height: 45px !important;
    font-size: 24px !important;
    padding: 0 14px;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: white;
    color: darkblue !important;
}

    .custom-input:focus {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .custom-input::placeholder {
        color: #999;
        opacity: 1;
    }

.loan-dropdown {
    position: relative;
    width: 100%;
    margin: auto;
}

.loan-selector {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none !important;
    box-shadow: none !important;
    border-radius: 4px;
    padding: 0 15px 0 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    color: darkblue;
    font-size: 24px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .loan-selector img {
        width: 42px;
        margin-right: 10px;
    }

    .loan-selector span {
        font-size: 24px;
        color: darkblue;
    }

.loan-menu {
    display: none;
    background: #fff;
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px;
    margin-top: 5px;
    overflow: hidden;
    position: absolute;
    z-index: 9999;
    width: 100%;
}

.loan-item {
    display: flex;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    color: darkblue;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

    .loan-item:hover {
        background: #f5f5f5;
    }

    .loan-item:last-child {
        border-bottom: none;
    }

    .loan-item img {
        width: 42px;
        margin-right: 12px;
    }

    .loan-item span {
        font-size: 18px;
        color: darkblue;
    }

.loan-arrow {
    margin-left: auto;
    color: darkblue;
    transition: transform .3s ease;
    font-size: 15px !important;
    flex-shrink: 0;
}

.label-input100 {
    font-family: "Sarabun", sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.maxwidth {
    max-width: 100%;
    border: 1.5px solid darkblue;
    color: darkblue;
}

.label-input100 {
    font-family: "Sarabun", sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.maxwidth {
    max-width: 100%;
    border: 1.5px solid darkblue;
    color: darkblue;
}

.loan-header {
    margin-bottom: 14px;
    text-align: center;
}

.loan-label {
    display: block;
    font-size: clamp(22px, 2.2vw, 42px) !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

#firstcon .custom-input,
#firstcon .loan-selector {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

#firstcon .loan-selector {
    min-height: 45px;
    height: auto;
    padding: 10px 14px;
    white-space: normal;
    overflow-wrap: anywhere;
    gap: 8px;
}

    #firstcon .loan-selector > span:first-child {
        min-width: 0;
        flex: 1 1 auto;
        font-size: clamp(16px, 1.5vw, 22px);
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

#firstcon .loan-arrow {
    flex: 0 0 auto;
}

#firstcon .loan-menu {
    max-height: min(55vh, 380px);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
    border: 1px solid #d8deeb !important;
}

#firstcon .loan-list {
    max-height: min(42vh, 300px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

#firstcon .loan-search-box {
    padding: 8px;
    background: #fff;
}

#firstcon .loan-search {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #ccd3e0 !important;
    border-radius: 8px;
    font: inherit;
    font-size: 16px;
}

#firstcon .loan-item {
    min-height: 42px;
    padding: 10px 12px;
    gap: 8px;
}

    #firstcon .loan-item span {
        min-width: 0;
        font-size: 16px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

#firstcon .custom-input {
    height: 45px !important;
    font-size: 18px !important;
    padding: 8px 12px;
}

#firstcon .label-input100 {
    font-size: 16px;
    line-height: 1.5;
}

#firstcon .consent-text {
    font-size: 15px;
    overflow-wrap: anywhere;
}

#firstcon .confirm-button {
    width: min(100%, 500px);
    max-width: 100%;
    height: auto;
    min-height: 58px;
    padding: 10px 16px;
    font-size: clamp(20px, 2.2vw, 30px);
    letter-spacing: 0;
    white-space: normal;
}

.application-steps,
.loan-products {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.loan-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.loan-table {
    width: 100%;
    min-width: 850px;
}


/* =========================================
   FIX: Make custom dropdowns match textboxes
   Targets actual classes used by this stylesheet:
   .custom-input and .loan-selector
   ========================================= */

#firstcon {
    box-sizing: border-box;
}

    #firstcon .custom-input,
    #firstcon .loan-selector {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        /* Match control height, padding and typography */
        height: 45px !important;
        min-height: 45px !important;
        max-height: 45px !important;
        margin: 0;
        padding: 0 14px !important;
        font-family: inherit;
        font-size: 18px !important;
        font-weight: 400;
        line-height: 1.5;
        border-radius: 4px;
    }

    /* Textbox border is currently removed by .custom-input;
   give both controls the same visible border. */
    #firstcon .custom-input {
        border: 1px solid #ced4da !important;
        background: #fff;
    }

    /* Dropdown trigger */
    #firstcon .loan-selector {
        align-items: center;
        justify-content: space-between;
        border: 1px solid #ced4da !important;
        background: #fff;
        overflow: hidden;
        white-space: nowrap;
        overflow-wrap: normal;
        gap: 8px;
    }

        /* Keep selected text and arrow aligned without changing width */
        #firstcon .loan-selector > span:first-child {
            flex: 1 1 auto;
            min-width: 0;
            font-size: 18px !important;
            line-height: 1.5;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        #firstcon .loan-selector .loan-arrow {
            flex: 0 0 auto;
            margin-left: 8px;
        }

    /* Ensure dropdown wrapper does not exceed textbox width */
    #firstcon .loan-dropdown {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Keep menu sizing independent from the closed control */
    #firstcon .loan-menu {
        width: 100%;
        box-sizing: border-box;
    }

    #firstcon .custom-input,
    #firstcon .loan-selector,
    #firstcon .loan-dropdown,
    #firstcon .loan-dropdown * {
        box-sizing: border-box;
    }


    /* =========================================
   Chaiyo Direct - Confirm Button Fix
   ========================================= */

    #firstcon .confirm-button.btnsubmit {
        display: block;
        width: 100%;
        min-height: 60px;
        height: auto;
        padding: 12px 20px;
        background: #FFD900 !important;
        background-color: #FFD900 !important;
        color: #1015A8 !important;
        border: 2px solid #FFD900 !important;
        border-radius: 12px;
        font-family: "Sarabun", sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.5;
        opacity: 1 !important;
        visibility: visible;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
        cursor: pointer;
        transition: background-color .2s ease, color .2s ease;
    }

        /* Hover */
        #firstcon .confirm-button.btnsubmit:hover {
            background: #E6C200 !important;
            background-color: #E6C200 !important;
            color: #1015A8 !important;
            border-color: #E6C200 !important;
        }

        /* Active */
        #firstcon .confirm-button.btnsubmit:active {
            background: #D9B800 !important;
            color: #1015A8 !important;
        }

    /* Consent / PDPA text */
    #firstcon .consent-text {
        color: #FFFFFF !important;
    }

        /* PDPA link */
        #firstcon .consent-text .privacy-link,
        #firstcon .consent-text a {
            color: #FFD900 !important;
            text-decoration: underline;
        }

/* Mobile */
@media (max-width: 768px) {
    #firstcon .confirm-button.btnsubmit {
        min-height: 54px;
        padding: 10px 16px;
        font-size: 20px;
    }
}



/* ===== Chaiyo Success Modal ===== */

.chaiyo-modal .modal-dialog {
    max-width: 460px;
    margin: 1.5rem auto;
}

.chaiyo-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(30, 30, 30, 0.18);
}

    /* Red accent line */
    .chaiyo-modal .modal-content::before {
        content: "";
        display: block;
        width: 100%;
        height: 6px;
        background: #e53935;
    }

.chaiyo-modal .modal-body {
    padding: 38px 32px 32px;
    text-align: center;
}

/* Close button */
.chaiyo-modal-close {
    position: absolute;
    top: 14px;
    right: 17px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #777777;
    font-size: 25px;
    line-height: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .chaiyo-modal-close:hover {
        background: #eeeeee;
        color: #222222;
    }

/* Success icon */
.chaiyo-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff0f0;
    border: 1px solid #ffd6d6;
    color: #e53935;
    font-size: 34px;
}

/* Heading */
.chaiyo-modal-title {
    margin: 0 0 14px;
    color: #262626;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
}

/* Main message */
.chaiyo-modal-description {
    margin: 0 0 8px;
    color: #444444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

/* Supporting message */
.chaiyo-modal-subtext {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.8;
}

/* Divider */
.chaiyo-modal-divider {
    height: 1px;
    margin: 25px 0 22px;
    background: #eeeeee;
}

/* Primary button */
.chaiyo-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #e53935;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .chaiyo-primary-btn:hover {
        background: #c62828;
        color: #ffffff;
        box-shadow: 0 5px 14px rgba(229, 57, 53, 0.22);
        transform: translateY(-1px);
    }

    .chaiyo-primary-btn:focus-visible,
    .chaiyo-modal-close:focus-visible {
        outline: 3px solid rgba(229, 57, 53, 0.35);
        outline-offset: 3px;
    }

/* Mobile */
@media (max-width: 575.98px) {
    .chaiyo-modal .modal-dialog {
        margin: 1rem;
    }

    .chaiyo-modal .modal-body {
        padding: 34px 22px 24px;
    }

    .chaiyo-success-icon {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }

    .chaiyo-modal-title {
        font-size: 21px;
    }
}

.chaiyo-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff0f0;
    border: 1px solid #ffd6d6;
}

/* Draw checkmark without Font Awesome */
.chaiyo-checkmark {
    display: inline-block;
    width: 17px;
    height: 30px;
    border: solid #e53935;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    margin-top: -6px;
}


.faq-answer,
.repayment-answer {
    display: none;
}

    .faq-answer.is-open,
    .repayment-answer.is-open {
        display: block !important;
    }

.faq-question .faq-arrow,
.repayment-question .faq-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-arrow,
.repayment-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

/* =========================================
   REPAYMENT OPTIONS - MODERN ACCORDION
========================================= */

.repayment-section {
    width: 100%;
    max-width: 860px;
    margin: 32px auto;
    padding: 0 16px;
    box-sizing: border-box;
    color: #333;
    font-family: inherit;
}

    .repayment-section *,
    .repayment-section *::before,
    .repayment-section *::after {
        box-sizing: border-box;
    }

/* Heading */
.repayment-heading {
    margin-bottom: 22px;
}

.repayment-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #ed7100;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.repayment-heading h2 {
    margin: 0 0 8px;
    color: #292929;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.4;
}

.repayment-heading p {
    margin: 0;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}

/* Accordion container */
.repayment-accordion {
    overflow: hidden;
    border: 1px solid #eee7e1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(49, 32, 18, 0.055);
}

.repayment-item {
    border-bottom: 1px solid #f0ece8;
}

    .repayment-item:last-child {
        border-bottom: none;
    }

/* Clickable heading */
.repayment-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 88px;
    margin: 0;
    padding: 18px 22px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #333;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .repayment-question:hover {
        background: #fffaf5;
    }

    .repayment-question:focus-visible {
        outline: 2px solid #ed7100;
        outline-offset: -3px;
    }

    .repayment-question[aria-expanded="true"] {
        background: #fff8f1;
    }

/* Icon and title */
.repayment-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.repayment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid #ffe4ce;
    border-radius: 14px;
    background: #fff3e8;
    font-size: 23px;
}

.repayment-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

    .repayment-text strong {
        color: #333;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.5;
    }

    .repayment-text small {
        color: #858585;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
    }

/* Arrow */
.repayment-question .faq-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff2e6;
    color: #ed7100;
    font-size: 11px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.repayment-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
    background: #ed7100;
    color: #fff;
}

/* Answer - works with existing .is-open JS */
.repayment-answer {
    display: none;
    padding: 4px 24px 24px 85px;
    background: #fff;
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

    .repayment-answer.is-open {
        display: block !important;
    }

    .repayment-answer p {
        margin: 0 0 14px;
    }

        .repayment-answer p:last-child {
            margin-bottom: 0;
        }

    .repayment-answer h3 {
        margin: 4px 0 12px;
        color: #333;
        font-size: 16px;
        font-weight: 700;
    }

    .repayment-answer ul {
        margin: 0 0 16px;
        padding-left: 21px;
    }

    .repayment-answer li {
        padding-left: 3px;
        margin-bottom: 7px;
    }

        .repayment-answer li::marker {
            color: #ed7100;
        }

/* Highlight */
.repayment-highlight {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding: 12px 15px;
    border: 1px solid #dcefe0;
    border-radius: 10px;
    background: #f3faf4;
    color: #28763c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

/* Notice */
.repayment-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #f5dfb7;
    border-radius: 13px;
    background: #fffbf3;
}

.repayment-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff0ce;
    color: #a66a00;
    font-size: 15px;
    font-weight: 800;
}

.repayment-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #79541b;
    font-size: 14px;
}

.repayment-notice p {
    margin: 0;
    color: #786d59;
    font-size: 13px;
    line-height: 1.8;
}

/* Tablet */
@media (max-width: 991.98px) {
    .repayment-section {
        max-width: 760px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .repayment-section {
        margin: 22px auto;
        padding: 0 12px;
    }

    .repayment-heading {
        margin-bottom: 16px;
    }

        .repayment-heading h2 {
            font-size: 22px;
        }

        .repayment-heading p {
            font-size: 14px;
        }

    .repayment-accordion {
        border-radius: 13px;
    }

    .repayment-question {
        min-height: 76px;
        padding: 14px 13px;
        gap: 10px;
    }

    .repayment-left {
        gap: 11px;
    }

    .repayment-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 20px;
    }

    .repayment-text strong {
        font-size: 14px;
    }

    .repayment-text small {
        font-size: 12px;
    }

    .repayment-question .faq-arrow {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .repayment-answer {
        padding: 4px 15px 20px;
        font-size: 13px;
    }

    .repayment-notice {
        padding: 15px;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .repayment-text small {
        font-size: 11px;
    }

    .repayment-question {
        padding: 12px 10px;
    }
}


/* Additional Loan Information */
.loan-additional-info {
    margin-top: 28px;
    color: #333;
    font-family: inherit;
}

/* Info Cards */
.loan-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.loan-info-card {
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 10px;
    padding: 22px 24px;
    border-top: 4px solid #0066b3;
}

    .loan-info-card h3,
    .loan-example-card h3 {
        color: #0066b3;
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 12px;
    }

    .loan-info-card p {
        font-size: 15px;
        line-height: 1.8;
        margin: 0;
    }

/* Loan Example */
.loan-example-card {
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 10px;
    padding: 25px;
}

.loan-example-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.loan-example-details {
    border-top: 1px solid #e5edf5;
}

.loan-example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5edf5;
    font-size: 15px;
}

    .loan-example-row strong {
        text-align: right;
        font-weight: 700;
    }

    /* Monthly Payment Highlight */
    .loan-example-row.highlight {
        background: #edf6ff;
        color: #005da8;
    }

    /* Total Payment */
    .loan-example-row.total {
        background: #f3f7fb;
        font-size: 17px;
        color: #263b50;
    }

        .loan-example-row.total strong {
            color: #0066b3;
        }

/* Fee Note */
.loan-fee-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 18px;
    background: #edf6ff;
    border: 1px solid #d5e8fa;
    border-radius: 8px;
    color: #0066b3;
    font-size: 15px;
    font-weight: 600;
}

    .loan-fee-note span {
        font-size: 20px;
        font-weight: bold;
    }

/* Responsive */
@media (max-width: 768px) {
    .loan-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .loan-info-card,
    .loan-example-card {
        padding: 18px;
    }

    .loan-example-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

        .loan-example-row strong {
            text-align: left;
        }
}
