@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Bold.eot');
    src: url('../fonts/DMSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DMSans-Bold.woff2') format('woff2'),
        url('../fonts/DMSans-Bold.woff') format('woff'),
        url('../fonts/DMSans-Bold.ttf') format('truetype'),
        url('../fonts/DMSans-Bold.svg#DMSans-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Regular.eot');
    src: url('../fonts/DMSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DMSans-Regular.woff2') format('woff2'),
        url('../fonts/DMSans-Regular.woff') format('woff'),
        url('../fonts/DMSans-Regular.ttf') format('truetype'),
        url('../fonts/DMSans-Regular.svg#DMSans-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --body: #f6f6f7;
    --theme-color: #1890cd;
    --header-text: #666666;
    --login-light-text: #999999;
    --body-text: #333333;
    --border-c: #cccccc;
    --button-bg: #0f2a55;
    --white-color: #ffffff;
    --text-theme-c: #0099cc;
    --green-text: #009933;
    --red-text: #cc0000;
    --primary-font: 'DM Sans';
}

body {
    background: var(--body);
    font-family: var(--primary-font) !important;
    overflow: hidden;
    position: relative;
    height: 100%;
}


/****************************** Login Form ******************************/
.login-bg {
    background: url(../img/login-bg.png) center / cover no-repeat;
    height: 100dvh;
    width: 100vw;
}

.login-form {
    height: calc(100dvh - 49px);
    overflow-y: auto;
    padding: 50px 0;
    display: grid;
    place-items: center;
}

.login-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    padding: 0 16px;
}

.login-form-field {
    border-radius: 60px;
    background-color: var(--white-color);
    border: 1px solid var(--border-c);
    padding: 38px 70px 48px;
    max-width: 587px;
    width: 100%;
    margin: 0 auto;
}

.login-form-field h1 {
    font-size: 24px;
    line-height: 36px;
    color: var(--text-theme-c);
    font-weight: 700;
}

.login-form-field p {
    font-size: 18px;
    color: var(--login-light-text);
    margin: 0;
}

.form-field-element {
    margin: 30px 0 0;
}

.form-field-element .mb-26px {
    margin-bottom: 26px;
}

.form-field-element label {
    font-size: 18px;
    line-height: 25px;
    color: var(--body-text);
    font-weight: 700;
    margin-bottom: 14px;
}

.form-field-element button {
    margin: 40px 0;
}

input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="tel"],
textarea.form-control {
    border-radius: 10px;
    padding: .563rem .75rem;
    background-color: var(--body) !important;
    border: 1px solid var(--border-c) !important;
    box-shadow: none !important;
}

.btn {
    border-radius: 24px;
    background-color: var(--text-theme-c);
    border-color: var(--text-theme-c);
    padding: .438rem .75rem;
    font-size: 18px;
    line-height: 32px;
    color: var(--white-color);
    font-weight: 700;
}

.btn:hover,
.btn:active,
.btn:focus,
.btn:focus-visible {
    background-color: var(--button-bg) !important;
    border-color: var(--button-bg) !important;
    box-shadow: none !important;
}

.form-field-element a,
.sign-up a {
    font-size: 16px;
    color: var(--text-theme-c);
    font-weight: 700;
    text-align: center;
    display: block;
}

.sign-up {
    font-size: 16px;
    color: var(--body-text);
    font-weight: 700;
    text-align: center;
}

.sign-up a {
    display: inline-block;
}

.copyright {
    background-color: #0b152b;
    font-size: 16px;
    color: var(--border-c);
    padding: 14px 16px;
    line-height: normal;
    text-align: center;
}


/****************************** Header ******************************/
header {
    background: var(--white-color);
    padding: 20px 34px;
    margin-left: 244px;
    border-bottom: 1px solid var(--border-c);
    position: relative;
}

header .search-box {
    max-width: 378px;
    width: 100%;
}

header .search-box input {
    border-radius: 24px;
    background-color: var(--body);
    border: 1px solid var(--border-c);
    padding: 7.5px 20px 7.5px 62px;
    font-size: 18px;
}

header .search-box img {
    position: absolute;
    top: 50%;
    transform: translate(130%, -50%);
}

header .dropdown .dropdown-menu .userMenuLink {
    display: flex;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 20px;
}

header .dropdown .userMenuLink img {
    max-width: 40px;
}

header .dropdown-toggle::after {
    content: none;
}

header .dropdown-menu {
    padding: 0;
}

header .dropdown-menu.show {
    inset: 16px 0px auto auto !important;
    min-width: 5rem;
}

header .dropdown-menu.show a {
    color: var(--body-text);
    text-decoration: none;
    font-weight: 700;
    border-radius: 0.300rem;
}

header .dropdown-menu.show a:hover {
    background: var(--border-c);
}


/****************************** Sidebar ******************************/
aside {
    max-width: 244px;
    background: var(--white-color);
    border-right: 1px solid var(--border-c);
    border-bottom: 1px solid var(--border-c);
}

aside .header-logo {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-c);
}

aside nav {
    flex: 1;
    overflow-y: auto;
}

aside nav ul {
    list-style: none;
}

aside nav ul li img {
    max-width: 20px;
    filter: contrast(0.2);
    transition: filter 0.3s ease;
}

aside nav ul li:hover img,
aside nav ul li a.active img {
    filter: invert(41%) sepia(88%) saturate(3521%) hue-rotate(165deg) brightness(96%) contrast(101%);
}

aside nav ul li a {
    padding: 28px 18px 28px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: 100%;
    color: var(--header-text);
    font-size: 16px;
    color: var(--header-text);
    transition: all 0.3s ease;
}

aside nav ul li a:hover,
aside nav ul li a.active {
    color: var(--text-theme-c);
    -webkit-text-stroke: 0.8px var(--text-theme-c);
    transition: all 0.3s ease;
}


/****************************** Mobile Menu Click Open & Close ******************************/
body:before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    -webkit-transition: opacity 0.9s ease-in-out;
    transition: opacity 0.9s ease-in-out;
    visibility: hidden;
    opacity: 0;
    backdrop-filter: blur(4px);
}

.main-wrapper,
.sidebarMenu {
    height: calc(100dvh - 83px);
    border-radius: 0 0 30px 0;
}

footer img {
    max-width: 278px;
    margin: 0 auto;
}

footer p {
    padding: 8px 0;
    margin: 0;
    font-size: 12px;
    color: var(--header-text);
}


/****************************** Main Body Structure ******************************/
main {
    margin-left: 244px;
    padding: 24px 34px;
    height: calc(100dvh - 190px);
    overflow-y: auto;
}

main .breadcrumb li {
    font-size: 20px;
    color: var(--button-bg) !important;
    font-weight: 700;
}

main .breadcrumb li a {
    color: var(--button-bg);
    text-decoration: none;
}

main .breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: var(--button-bg);
}

.top-breadcrumb-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.go-back a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    line-height: 30px;
    text-decoration: underline;
    color: var(--theme-color);
    font-weight: 700;
}

.select-dropdown span {
    font-size: 16px;
    color: var(--body-text);
    font-weight: 700;
}

.select-dropdown select::-ms-expand {
    display: none;
}

.select-dropdown select {
    border-radius: 17px;
    background-color: var(--body) !important;
    border: 1px solid var(--border-c) !important;
    box-shadow: none !important;
    min-width: 216px;
    width: 100%;
    padding: .250rem 1.8rem .250rem .75rem;
    color: var(--body-text);
    background: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSdibGFjaycgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyB3aWR0aD0nMjQnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz48cGF0aCBkPSdNMCAwaDI0djI0SDB6JyBmaWxsPSdub25lJy8+PC9zdmc+) no-repeat right;
    background-position: right 0.5rem center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

main:has(.table-wrapper) {
    padding: 24px 34px 0 34px;
}

.table-wrapper {
    border-radius: 40px;
    background-color: var(--white-color);
    border: 1px solid var(--border-c);
    padding: 30px 12px 30px 30px;
    margin-top: 24px;
    height: calc(100% - 60px);
}

.table-wrapper .table-responsive {
    height: calc(100% - 0px);
}

.table-wrapper table tr th:first-child {
    padding: 0.8rem 0.8rem 0.8rem 0;
}

.table-wrapper table tr td:first-child {
    padding: 0.8rem 0.8rem 0.8rem 0;
}

.table-wrapper table tr th:last-child,
.table-wrapper table tr td:last-child {
    border-right: 0;
}

.table-wrapper table th {
    border-bottom: 2px solid var(--border-c);
}

.table-wrapper table tr {
    border-bottom: 1px solid var(--border-c);
}

.table-wrapper table tr th {
    line-height: 24px;
    color: var(--body-text);
    font-weight: 700;
    padding: 0.8rem;
    border-right: 1px solid var(--border-c);
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-wrapper table tr td {
    line-height: 24px;
    color: var(--body-text);
    padding: 0.8rem;
    border-right: 1px solid var(--border-c);
}



/****************************** Loan Details ******************************/
.loan-details {
    margin: 34px 0 0 0;
}

.four-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 46px;
    column-gap: 32px;
}

.four-grid-layout .grid-item-box {
    border-radius: 20px;
    background-color: var(--white-color);
    border: 1px solid var(--border-c);
    color: var(--body-text);
    padding: 20px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.four-grid-layout .grid-item-box h2,
.view-all-payment .estimated-total h2 {
    font-size: 36px;
    font-weight: 700;
}

.four-grid-layout .grid-item-box p,
.view-all-payment .estimated-total p {
    font-size: 20px;
    margin: 0;
}


.view-all-payment {
    max-width: 840px;
    border-radius: 20px;
    background-color: var(--theme-color);
    border: 1px solid #006699;
    margin: 46px auto 0;
    padding: 10px 14px 10px 55px;
}

.view-all-payment .estimated-total h2,
.view-all-payment .estimated-total p {
    color: var(--white-color);
}

.view-all-payment-btn {
    max-width: 382px;
    width: 100%;
    border-radius: 20px;
    background-color: var(--button-bg);
    padding: 20px 26px;
    text-decoration: none;
    font-size: 20px;
    color: var(--white-color);
    font-weight: 700;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.view-all-payment-btn img {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translate(0%, -50%);
}

.loan-details-table tr td:nth-child(1) {
    max-width: 120px;
    width: 120px;
}

.loan-details-table tr th:nth-child(2),
.loan-details-table tr td:nth-child(2) {
    max-width: 200px;
    width: 200px;
    border-right: 0;
}

.loan-details-table tr th:nth-child(3),
.loan-details-table tr td:nth-child(3) {
    padding: 0.8rem 8rem;
}


/****************************** Amortization Schedule Table ******************************/
.amortization-schedule-table tr th:nth-last-child(2),
.amortization-schedule-table tr td:nth-last-child(2) {
    border-right: 0;
}

.amortization-schedule-table tr td:nth-last-child(1) a {
    color: var(--text-theme-c);
}

main .breadcrumb-item span {
    color: var(--text-theme-c);
}



/****************************** PrePay ******************************/
.prepay {
    display: grid;
    gap: 50px;
    place-content: start;
    margin-bottom: 24px;
}

.prepay h2,
.prepay-side-by-side,
.upload-documents-main h2 {
    font-size: 18px;
    line-height: 24px;
    color: var(--body-text);
    font-weight: 700;
    margin: 0;
}

.prepay-side-by-side span {
    max-width: 230px;
    width: 100%;
}

.prepay-side-by-side input {
    border-radius: 20px;
    width: 100px;
    text-align: center;
}

.prepay-side-by-side .digit-number {
    font-size: 18px;
    line-height: 24px;
    color: var(--body-text);
    font-weight: 400;
    text-align: center;
    width: 100px;
    max-width: 100%;
}

.green-text {
    color: var(--green-text);
}

.green-text span.digit-number {
    color: var(--green-text);
    font-weight: 700;
}

.prepay button {
    max-width: 246px;
}

.prepay-popup .modal-dialog {
    max-width: 612px;
}

.prepay-popup .modal-dialog .modal-content {
    padding: 30px 0;
    border-radius: 40px;
    border: 0;
}

.prepay-content {
    max-width: 388px;
    margin: auto;
    text-align: center;
}

.prepay-content h3 {
    font-size: 24px;
    line-height: 24px;
    color: var(--green-text);
    font-weight: 700;
    margin: 18px 0 24px;
}

.prepay-content p {
    font-size: 18px;
    line-height: 24px;
    color: var(--body-text);
    margin-bottom: 46px;
}

.prepay-content button {
    max-width: 245px;
    width: 100%;
}

.payment-failed-content {
    max-width: 430px;
}

.payment-failed-content h3 {
    color: var(--red-text);
}


/****************************** Document Upload ******************************/
.table-wrapper:has(.upload-documents-main) {
    padding: 24px;
}

.upload-documents-main .upload-documents-grid {
    display: grid;
    gap: 46px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 40px;
}

.upload-documents {
    border-radius: 10px;
    background-color: var(--body);
    padding: 24px;
    text-align: center;
}

.upload-documents p {
    font-size: 18px;
    line-height: 25px;
    color: var(--body-text);
    margin-bottom: 10px;
}

.upload-documents hr {
    border-top: 2px solid var(--border-c);
    opacity: 1;
    max-width: 188px;
    margin: 0 auto;
}

.upload-documents img {
    margin: 30px 0 60px;
}

.file-upload-btn {
    font-size: 16px;
    max-width: 182px;
    width: 100%;
    ;
    margin: 0 auto;
}

.file-upload-btn input[type="file"] {
    display: none;
}

.btn-links a {
    font-size: 14px;
    line-height: 25px;
    text-decoration: underline;
    color: var(--header-text);
    font-weight: 700;
}


/****************************** Loan Agreement ******************************/
.view-loan-agreement-main {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(414px, 1fr));
    margin-top: 40px;
    height: 100%;
    align-items: start;
    place-items: start;
    height: calc(100dvh - 390px);
    overflow-y: auto;
}

.view-loan-agreement {
    border-radius: 10px;
    background-color: var(--body);
    padding: 12px 12px 20px 12px;
    max-width: 508px;
    min-width: 508px
}

.view-loan-agreement iframe {
    width: 100%;
    height: 370px;
}

.view-loan-agreement a {
    display: block;
    font-size: 16px;
    line-height: 25px;
    color: var(--body-text);
    font-weight: 700;
    margin: 18px 10px;
    text-align: center;
}

.view-loan-agreement .btn {
    min-width: 242px;
    max-width: 242px;
    color: var(--white-color);
    margin: 0 auto;
    font-size: 18px;
    line-height: 30px;
}


/****************************** Settings ******************************/
.general-info:has(.general-information) {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.general-information {
    gap: 78px;
}

.general-information .fill-data label,
.general-information .fill-data p {
    font-size: 18px;
    line-height: 25px;
    color: var(--body-text);
    font-weight: 700;
}

.general-information .fill-data p {
    font-weight: 400;
    margin: 0;
}

.text-field {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(328px, 1fr));
    gap: 40px;
}

.text-field .input-field label {
    font-size: 18px;
    line-height: 25px;
    color: var(--body-text);
    font-weight: 700;
}


/****************************** Support ******************************/
.prepay.general-info h2 {
    max-width: 700px;
}

.text-field.textarea-field {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}

main:has(.support) {
    height: auto;
}

.table-wrapper:has(.support) {
    padding: 30px 12px 0 30px;
}

.support {
    height: calc(100dvh - 322px) !important;
    overflow-y: auto;
    gap: 40px;
    padding-right: 10px;
}


.general-info .btn {
    margin-top: 40px;
    min-width: 246px;
}

.general-info.support form {
    display: grid;
    gap: 40px;
}

.general-info.support .btn {
    margin-top: 0;
}

.alert-info-box .alert-info {
    margin-bottom: 0;
}

.alert-info-box+form {
    display: grid;
    gap: 50px;
}

.support-form-wrapper .btn {
    background-color: var(--text-theme-c) !important;
    border-color: var(--text-theme-c) !important;
}

.support-form-wrapper .btn:hover {
    background-color: var(--button-bg) !important;
    border-color: var(--button-bg) !important;
    box-shadow: none !important;
}


/****************************** Media Query ******************************/
@media (max-width: 1760px) {
    .login-form {
        padding: 20px 0;
        height: calc(100dvh - 46px);
    }

    .login-form-wrapper img {
        max-width: 300px;
    }

    .login-form-wrapper {
        gap: 30px;
    }

    .login-form-field {
        padding: 30px 40px;
        max-width: 500px;
    }

    .form-field-element label {
        font-size: 14px;
        line-height: normal;
        margin-bottom: 8px;
    }

    .form-field-element button {
        margin: 40px 0 20px;
    }

    .sign-up,
    .copyright,
    .sign-up a {
        font-size: 14px;
    }

    .main-wrapper,
    .sidebarMenu {
        height: calc(100dvh - 66px);
    }

    main {
        height: calc(100dvh - 160px);
    }

    footer img {
        max-width: 180px;
        margin: 0 auto;
    }


    .four-grid-layout {
        gap: 32px;
    }

    .four-grid-layout .grid-item-box {
        padding: 20px;
    }

    .four-grid-layout .grid-item-box h2,
    .view-all-payment .estimated-total h2 {
        font-size: 30px;
    }

    .four-grid-layout .grid-item-box p,
    .view-all-payment .estimated-total p {
        font-size: 16px;
    }

    .upload-documents-main .upload-documents-grid {
        gap: 35px;
    }

    .view-loan-agreement-main {
        height: calc(100dvh - 360px);
    }

    .support {
        height: calc(100dvh - 300px) !important;
    }
}

@media (max-width: 1500px) {
    .login-form {
        padding: 20px 0;
    }

    .login-form-wrapper img {
        max-width: 200px;
    }

    .login-form-wrapper {
        gap: 20px;
    }

    .login-form-field {
        padding: 20px 30px;
        max-width: 440px;
    }

    .login-form-field h1 {
        line-height: normal;
    }

    .login-form-field p {
        font-size: 14px;
    }

    .form-field-element {
        margin: 18px 0 0;
    }

    .form-field-element button {
        margin: 40px 0 20px;
    }

    .form-field-element .mb-26px {
        margin-bottom: 14px;
        line-height: normal;
    }

    .upload-documents-main .upload-documents-grid {
        gap: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 1366px) {
    .four-grid-layout {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1199px) {
    .login-form-wrapper {
        gap: 40px;
    }

    .login-form-field {
        border-radius: 30px;
    }

    header,
    main {
        margin-left: 0;
    }

    /****************************** Start Mobile Menu Click Open & Close ******************************/
    .sidebarMenu {
        border-radius: 0;
    }

    .main-wrapper {
        height: calc(100dvh - 66px);
    }

    .navbar-toggler-icon {
        display: inline-block;
        width: 24px;
        height: 18px;
        position: relative;
        background: none !important;
        cursor: pointer;
    }

    .navbar-toggler-icon span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--button-bg);
        border-radius: 2px;
        opacity: 1;
        left: 0;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out
    }

    .navbar-toggler-icon span:first-child {
        top: 0
    }

    .navbar-toggler-icon span:nth-child(2),
    .navbar-toggler-icon span:nth-child(3) {
        top: 7px
    }

    .navbar-toggler-icon span:nth-child(4) {
        top: 14px
    }

    .sidebarToggle[aria-expanded=true] .navbar-toggler-icon span:first-child {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 7px
    }

    .sidebarToggle[aria-expanded=true] .navbar-toggler-icon span:nth-child(2) {
        opacity: 0
    }

    .sidebarToggle[aria-expanded=true] .navbar-toggler-icon span:nth-child(3) {
        opacity: 0
    }

    .sidebarToggle[aria-expanded=true] .navbar-toggler-icon span:nth-child(4) {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 7px
    }

    .sidebarMenu {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        opacity: 0;
        -webkit-transition: opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
        transition: opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
    }

    .sidebarMenu.open {
        z-index: 999;
        top: 69px !important;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        -webkit-transition: opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
        transition: opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
    }

    header {
        z-index: 999;
        padding: 14px 16px;
    }

    body.overflow-hidden:before {
        opacity: 1;
        visibility: visible
    }

    main {
        padding: 24px 16px;
        height: calc(100dvh - 144px);
    }

    aside .header-logo {
        padding: 10px 16px;
    }

    aside .header-logo img {
        max-width: 150px;
    }

    aside nav ul li a {
        padding: 16px 18px 16px 18px;
    }

    header .search-box {
        max-width: 250px;
    }

    header .search-box input {
        font-size: 16px;
    }

    header .dropdown .userMenuLink img {
        max-width: 30px;
    }

    header .dropdown-menu.show {
        inset: 10px 0px auto auto !important;
    }

    .mobile-header-logo img {
        max-width: 220px;
    }

    /****************************** End Mobile Menu Click Open & Close ******************************/

    .view-all-payment-btn,
    .upload-documents p {
        font-size: 16px;
    }

    .four-grid-layout .grid-item-box h2,
    .view-all-payment .estimated-total h2 {
        font-size: 24px;
    }

    .view-loan-agreement-main {
        height: calc(100dvh - 322px);
        margin-top: 20px;
    }

    .view-loan-agreement {
        width: 100%;
        min-width: unset;
    }

    .support {
        height: calc(100dvh - 286px) !important;
    }
}


@media (max-width: 991px) {
    .mobile-header-logo img {
        max-width: 150px;
    }

    .four-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .view-all-payment {
        margin: 30px auto 0;
    }

    .go-back a,
    main .breadcrumb li {
        font-size: 16px;
    }

    .top-breadcrumb-bar {
        gap: 10px;
    }

    .select-dropdown {
        width: 100%;
    }

    .select-dropdown select {
        width: auto;
    }

    main:has(.table-wrapper) {
        padding: 24px 16px 0px 16px;
    }

    .table-wrapper {
        border-radius: 16px;
        padding: 16px !important;
        height: calc(100% - 98px);
    }

    .loan-details-table tr td:nth-child(1) {
        max-width: 120px;
        width: 120px;
    }

    .loan-details-table tr th:nth-child(2),
    .loan-details-table tr td:nth-child(2) {
        padding: 0.8rem 0rem 0.8rem 4rem;
        max-width: unset;
    }

    .loan-details-table tr th:nth-child(3),
    .loan-details-table tr td:nth-child(3) {
        padding: 0.8rem 4rem;
    }

    .table-wrapper:has(.amortization-schedule-table) {
        height: calc(100% - 42px);
        margin-top: 16px;
    }

    .table-wrapper:has(.amortization-schedule-view) {
        height: calc(100% - 50px);
        margin-top: 14px;
    }

    .table-wrapper:has(.loan-agreement) {
        height: calc(100% - 40px);
        margin-top: 14px;
    }

    .prepay {
        gap: 40px;
    }

    .prepay h2,
    .prepay-side-by-side,
    .general-information .fill-data label,
    .general-information .fill-data p,
    .text-field .input-field label {
        font-size: 16px;
    }

    .prepay-popup .modal-dialog .modal-content {
        padding: 20px 0;
    }

    .prepay-content h3 {
        font-size: 20px;
    }

    .prepay-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .view-loan-agreement-main {
        height: calc(100dvh - 286px);
    }

    .view-loan-agreement-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .support {
        height: calc(100dvh - 274px) !important;
    }
}

@media (max-width: 767px) {
    .estimated-total {
        text-align: center;
    }

    .view-all-payment {
        padding: 10px 14px;
    }

    .go-back a,
    main .breadcrumb li {
        font-size: 14px;
    }

    .view-loan-agreement-main {
        grid-template-columns: repeat(1, 1fr);
    }

    .general-information {
        column-gap: 78px;
        row-gap: 20px;
        flex-wrap: wrap;
    }

    .general-info:has(.general-information),
    .text-field {
        gap: 30px;
    }

    .text-field {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

}

@media (max-width: 575px) {
    .mobile-header-logo img {
        max-width: 100px;
    }

    .four-grid-layout {
        grid-template-columns: repeat(1, 1fr);
    }

    .table-wrapper:has(.amortization-schedule-view) {
        height: calc(100% - 100px);
        margin-top: 14px;
    }
}


/* ************* New css 05-feb *************** */

.table-wrapper {
    display: flex;
    gap: 16px;
}

.prepay #btnConnectDriverTrigger {
    max-width: 320px;
}


#connectDriverModal {
    background: rgba(0, 0, 0, 0.2);
}

#connectDriverModal .modal-dialog, #otpVerificationModal .modal-dialog {
    max-width: 612px;
}

#connectDriverModal .modal-content, #otpVerificationModal .modal-content {
    padding: 30px 0;
    border-radius: 40px;
    border: 0;
}

#connectDriverModal .modal-body, #otpVerificationModal .modal-body {
    padding: 0;
}


.connect-driver-content, .otp-verification-content {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.connect-driver-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.connect-driver-content .form-label {
    font-weight: 600;
    text-align: left;
    display: block;
}

.connect-driver-content .form-control {
    border-radius: 12px;
    padding: 10px;
    font-size: 1rem;
}

.connect-driver-content .btn {
    padding: 4px 36px;
    font-size: 18px;
    line-height: 32px;
    color: var(--white-color);
    font-weight: 700;
}

.connect-driver-content .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.connect-driver-content h3, .otp-verification-content h3  {
    line-height: 24px;
    color: var(--body-text);
    font-weight: 700;
    margin: 16px 0 48px;
}

.connect-driver-content form {
    width: 60%;
    margin-bottom: 16px;
}

.connect-driver-content form .form-label {
    font-size: 18px;
    line-height: 24px;
    color: var(--body-text);
    font-weight: 700;
    margin: 0 0 12px;
}

.rightNewBtns {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rightNewBtns #btnDisconnectDriverTrigger {
    max-width: 360px;
    width: 360px;
    background-color: var(--body);
    border: 1px solid var(--body-text);
    color: var(--body-text);
}

.rightNewBtns #btnDisconnectDriverTrigger:hover {
    color:  var(--body);
}


.rightNewBtns #paymentHistoryBtn {
    margin-top: 48px;
    background: var(--button-bg);
    border-color: var(--button-bg);
}

.rightNewBtns #paymentHistoryBtn:hover {
  background: var(--body)  !important;
border-color: var(--body-text) !important;
color: var(--button-bg);
    
}

.otp-verification-content h3 {
    margin-bottom: 16px;
}

#otpVerificationForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.otp-verification-content, #otpVerificationForm  {
    gap: 30px;
}

 #otpVerificationForm .otp-inputs {
    width: 60%;
    gap: 16px;
}

#otpVerificationForm .otp-inputs .form-control {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    height: 60px;
    text-align: center;
}

.connect-driver-content .btn, #otpVerificationForm .btn {
    max-width: 240px;
    width: 240px;
}

.otp-verification-content .code-resend {
        width: 100%;
    text-align: end;
    padding-right: 48px;
    color: var(--text-theme-c);
}

.otp-verification-content .code-resend:hover {
    color: var(--button-bg);
}


/* Responsive view */

@media screen and (max-width:767px) {
    .table-wrapper {
flex-direction: column;
}

.prepay button {
          font-size: 16px;
}

.rightNewBtns #paymentHistoryBtn {
    margin-top: 0;
}

.prepay #btnConnectDriverTrigger, .rightNewBtns #btnDisconnectDriverTrigger {
    max-width: 280px;
}

#connectDriverModal .modal-dialog, #otpVerificationModal .modal-dialog {
    max-width: 90%;
}
}