:root {
    --primary: #131b2e;
    --secondary: #104042;
    --background: #f7f9fb;
    --border: #dfe3e8;
    --text: #191c1e;
    --heading-font: "Oswald", sans-serif;
    --main-600: #fffaeb;
}
.min-width-auto{
    min-width: auto !important;;
}
.nav-menu__item.activePage > a {
    color: #ffd200 !important;
}
a.nav-menu__link {
    padding: 25px 20px;
}
.material-symbols-outlined {
    vertical-align: middle;
}

/* Card */

/*.custom-card,*/
/*.section-card,*/
/*.form-card {*/
/*    background: #fff;*/
/*    border-radius: 22px;*/
/*    padding: 32px;*/
/*}*/

/* Stepper */

.stepper {
    position: relative;
}

.stepper::before {
    content: "";
    position: absolute;
    top: 20px;

    /* FIXED LINE WIDTH */
    left: 12.5%;
    width: 75%;

    height: 2px;
    background: #dbe1e7;
    z-index: 0;
}

.step-item {
    width: 25%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1f5;
    border: 2px solid #dbe1e7;
    font-weight: 700;
    color: #94a3b8;
}

.step-circle.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.step-circle.current {
    background: #fff;
    border-color: var(--secondary);
    color: var(--secondary);
}

.step-label {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* Form */

.form-control {
    height: 54px;
    border-radius: 14px;
    border-color: #d1d5db;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Buttons */

.btn-primary-custom,
.btn-secondary-custom,
.submit-btn {
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 600;
}

.btn-primary-custom:hover,
.btn-secondary-custom:hover,
.submit-btn:hover {
    background: #00563b;
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 600;
}

/* Purpose Card */

.purpose-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    height: 100%;
}

.purpose-card.active {
    border-color: var(--secondary);
    background: rgba(0, 108, 73, 0.05);
}

/* Term Button */

.term-btn {
    border: 1px solid #dbe1e7;
    background: #fff;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 600;
}

.term-btn.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* Amount */

.amount-track {
    position: relative;
    height: 8px;
    border-radius: 20px;
    background: #dbe1e7;
}

.amount-progress {
    width: 45%;
    height: 100%;
    background: var(--secondary);
    border-radius: 20px;
}

.amount-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary);
    border: 4px solid #fff;
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
}

/* Financial */

.currency-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #6b7280;
    font-weight: 600;
}

.input-with-icon {
    padding-left: 38px;
}

.info-card,
.info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
}

/* Review */

.label-small {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.value-text {
    font-weight: 600;
    color: #111827;
}

.edit-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
}

.apply-now-link::before {
    position: absolute;
    content: "";
    background-color: #ffd200;
    top: 6px;
    left: 4px;
    width: 128px;
    height: 53px;
    z-index: -1;
    border-radius: 8px;
    transition: 0.4s;
}
.apply-now-link:hover::before {
    position: absolute;
    content: "";
    background-color: #ffd200;
    top: -5px;
    left: -5px;
    width: 130px;
    height: 55px;
    z-index: -1;
    border-radius: 12px;
}
.check-eligibility-link::before {
    position: absolute;
    content: "";
    background-color: #ffd200;
    top: 6px;
    left: 160px;
    width: 167.5px;
    height: 53px;
    z-index: -1;
    border-radius: 8px;
    transition: 0.4s;
}
.check-eligibility-link:hover::before {
    position: absolute;
    content: "";
    background-color: #ffd200;
    top: -5px;
    left: 149px;
    width: 168px;
    height: 52px;
    z-index: -1;
    border-radius: 12px;
}
.banner-slider-bg-clip-path {
    clip-path: polygon(0px 0px, 10% 1%, 100% 30%, 100% 100%, 0px 120%, 0% 4%);
}
.our-services-card {
    height: 100%;
}
.group:hover .group-hover-bg-base-two-600 {
    height: 100%;
}

/* =========================================
   LAYOUT
========================================= */

.main-wrapper {
    overflow: hidden;
}

.main-content {
    padding: 3rem 0rem 0rem 3rem;
    min-height: 100vh;
}

/* =========================================
   SIDEBAR
========================================= */

/* =========================================
   SIDEBAR
========================================= */

.sidebar-container {
    background-color: #ebebeb;

    padding: 3rem;

    height: 100vh;

    position: sticky;

    top: 0;

    overflow-y: auto;

    border-right: 1px solid #ddd;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}

/* =========================================
   SIDEBAR BOTTOM BUTTON
========================================= */

.sidebar-bottom {
    display: flex;

    justify-content: center;

    align-items: center;

    margin-top: 40px;
}

.save-exit-btn {
    width: 100%;

    max-width: 260px;

    height: 56px;

    border: none;

    border-radius: 14px;
    background: #ffffff;
    color: #104042;
    border: 1px solid #104042;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;

    cursor: pointer;
}

.save-exit-btn:hover {
    background: #104042;
    color: #fff;
    transform: translateY(-2px);
}

/* Sidebar Scrollbar */

.sidebar-container::-webkit-scrollbar {
    width: 4px;
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 20px;
}

/* Sidebar Heading */

.loan-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.loan-subtitle {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* =========================================
   SIDEBAR STEPS
========================================= */

.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    background: transparent;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.6);
}

.step-item.active {
    background: #fff;
    border-left: 5px solid #104042;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.step-number-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
}

.step-description {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
}

/* =========================================
   FORM CARD
========================================= */

.custom-card {
    background: #fff;
    border-radius: 20px;
    padding: 0px;
    box-shadow: none;
    border: none;
}

/* =========================================
   FORM STEP
========================================= */

.form-step {
    display: none;
    animation: fadeIn 0.35s ease;
}

.form-step.active {
    display: block;
}

/* =========================================
   INPUTS
========================================= */

.form-control,
.form-select {
    height: 54px;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    padding: 12px 16px;
    font-size: 15px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #104042;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.08) !important;
}

.form-control::placeholder {
    color: #999;
}

/* =========================================
   RADIO & CHECKBOX
========================================= */

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    color: #555;
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary-custom,
.btn-secondary-custom,
.submit-btn {
    background: #104042;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    /*min-width: 140px;*/
}

.btn-primary-custom:hover,
.btn-secondary-custom:hover,
.submit-btn:hover {
    background: #104042;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid #104042;
    color: #104042;
    border-radius: 12px;
    padding: 13px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 140px;
}

.btn-outline-custom:hover {
    background: #104042;
    color: #fff;
}

/* =========================================
   SECTION CARD
========================================= */

.section-card {
    border: 1px solid #ededed;
    border-radius: 16px;
    padding: 28px;
    background: #fff;
}

.label-small {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.value-text {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.border-top.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.border-top.d-flex .btn-outline-custom,
.border-top.d-flex .btn-primary-custom,
.border-top.d-flex .submit-btn {
    width: auto;
    min-width: 140px;
}
/* =========================================
   INFO BOX
========================================= */

.info-box {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #ececec;
}

/* =========================================
   FILE INPUT
========================================= */

input[type="file"] {
    padding: 12px;
}

/* =========================================
   PROGRESS BAR
========================================= */

.progress {
    height: 8px;
    border-radius: 20px;
    overflow: hidden;
    background: #e9ecef;
}

.progress-bar {
    background: #104042;
}

/* =========================================
   EDIT LINK
========================================= */

.edit-link {
    color: #104042;
    font-weight: 600;
    font-size: 14px;
}

.edit-link:hover {
    color: #104042;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


label {
    color: #000;
}

/* =========================================
   SUCCESS SCREEN
========================================= */

/* SUCCESS SCREEN */

.submit-success-wrapper {
    width: 100%;
    min-height: 70vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 80px 20px;
    background: #fff;
}

.success-box {
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.success-icon i {
    font-size: 110px;
    color: #198754;
    display: inline-block;
    animation: popScale 0.6s ease;
}

.success-title {
    font-size: 42px;
    font-weight: 800;
    color: #104042;
    margin-top: 25px;
    margin-bottom: 12px;
}

.success-text {
    font-size: 18px;
    color: #666;
}

/* Animations */

@keyframes popScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.locked {
    pointer-events: none;
    opacity: 0.5;
}

.step-tick {
    display: none !important;
    color: #16a34a;
    margin-left: 8px;
    font-size: 14px;
}

.step-item.completed .step-tick {
    display: inline-block !important;
}

#globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-content {
    background: #fff;
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.loader-content i {
    font-size: 30px;
    color: #2563eb;
    margin-bottom: 10px;
}

.loader-content p {
    margin: 0;
    font-weight: 600;
}

.emi-calculator-wrapper {
    background: #f8fafc;
}

.form-range::-webkit-slider-thumb {
    background: #104042;
}

.form-range::-moz-range-thumb {
    background: #104042;
}

input[readonly] {
    background: #f5f5f5 !important;
    cursor: not-allowed;
}
.document-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f7fb;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #104042;
    font-weight: 500;
    border: 1px solid #dfe5ee;
    transition: 0.3s;
}

.document-view-btn:hover {
    background: #104042;
    color: #fff;
}

.document-view-btn i {
    font-size: 14px;
}

/*My Account*/

/* SIDEBAR */

.sidebar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #555;
    transition: 0.3s;
    position: relative;
}

.sidebar a:hover {
    background: #e6f7f1;
}

.sidebar a.active {
    background: #e6f7f1;
    color: #104042;
    font-weight: 600;
}

.sidebar a.active::after {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #104042;
    border-radius: 0 4px 4px 0;
}

/* CARDS */

.card-custom {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.card-custom:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.card-active {
    border-top: 6px solid #104042 !important;
}

/* PROFILE */

.profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #dce9ff;
    flex-shrink: 0;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TABLE */

.loan-table {
    margin-bottom: 0;
}

.loan-table thead {
    background: #f3f4f6;
}

.loan-table thead th {
    font-size: 12px;
    color: #777;
    border-bottom: 1px solid #ddd;
    padding: 15px !important;
    letter-spacing: 0.5px;
    vertical-align: middle;
    white-space: nowrap;
}

.loan-table td {
    padding: 15px !important;
    border-top: none;
    border-bottom: 0px solid #ddd;
    vertical-align: middle;
    white-space: nowrap;
}

.loan-table tbody tr {
    border-bottom: 1px solid #eee;
}

.loan-table tbody tr:last-child {
    border-bottom: none;
}

/* ICON */

.loan-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e6f7f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #104042;
    flex-shrink: 0;
}

/* STATUS */

.status {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status.approved {
    background: #d1f7e6;
    color: #0f9d58;
}

.status.review {
    background: #ffe8cc;
    color: #e67700;
}

/* OFFCANVAS */

.offcanvas {
    width: 270px;
}

.offcanvas .sidebar {
    border: none;
    padding: 0;
}
.action-btn{
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: #104042;
}

.profile-right-btn-block{
    display: flex;
    justify-content: end !important;
    gap: 10px;
}

.profile-right-btn {
    padding: 9px 15px !important;
    font-size: 14px;
    width: auto !important;
    min-width: auto;
    line-height: 10px !important;
    height: 30px;
    border-radius: 5px !important;
    background: #d1f7e6;
    color: #0f9d58;
    font-weight: 600;
    transition: all 0.3s ease;
}
.profile-right-btn:hover, .profile-right-btn:focus{
    background: #abdec7;
    color: #0a673a;
}

.preview-section{
    text-align: left;
}
    
    
/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 991px) {
    .sidebar-container {
        position: relative;

        height: auto;

        min-height: auto;

        overflow: visible;

        padding: 2rem;

        border-right: none;

        display: block;
    }

    .main-content {
        padding: 2rem;
    }

    .custom-card {
        padding: 30px;
    }

    .loan-title {
        font-size: 28px;
    }
    
    .profile-right-btn-block{
        display: flex;
        justify-content: center !important;
        gap: 10px;
    }
}


@media (max-width: 767px) {
    .sidebar a.active::after {
        display: none;
    }

    .profile-main {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .loan-table {
        min-width: 700px;
    }

    .card-custom {
        overflow: hidden;
    }

    .top-nav {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .mobile-icons {
        gap: 12px !important;
    }

    .mobile-icons i {
        font-size: 16px;
    }
    
    .step-label {
        font-size: 11px;
    }

    .custom-card,
    .section-card,
    .form-card {
        padding: 15px;
    }
    
    .border-top.d-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .border-top.d-flex .btn-outline-custom,
    .border-top.d-flex .btn-primary-custom,
    .border-top.d-flex .submit-btn {
        width: 48%;
        min-width: unset;
    }

    .sidebar-container {
        padding: 1.5rem;
    }

    .main-content {
        padding: 1rem;
    }

    .custom-card {
        padding: 20px;
        border-radius: 14px;
    }

    .loan-title {
        font-size: 24px;
    }

    .loan-subtitle {
        font-size: 14px;
    }

    .step-item {
        padding: 18px;
    }

    .step-number-title {
        font-size: 15px;
    }

    .step-description {
        font-size: 13px;
    }
    
    .profile-right-btn{
        width: fit-content !important;
        min-width: auto !important;
    }

    .border-top.d-flex .btn-outline-custom,
    .border-top.d-flex .btn-primary-custom,
    .border-top.d-flex .submit-btn {
        width: 48%;
        min-width: unset;
        padding: 12px 10px;
        font-size: 14px;
    }

    .main-content h1,
    .main-content h2 {
        font-size: 26px;
    }

    .form-control,
    .form-select {
        height: 50px;
        font-size: 14px;
    }
    .sidebar-bottom {
        margin-top: 25px;
    }

    .save-exit-btn {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .btn-primary-custom,
    .btn-secondary-custom,
    .submit-btn {
        background: var(--secondary);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 10px 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 40px;
    }
    .btn-outline-custom {
        background: transparent;
        border: 1px solid #104042;
        border-radius: 8px;
        padding: 10px 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 40px;
    }
    .profile-right-btn {
        padding: 9px 15px !important;
    font-size: 14px;
    width: auto !important;
    min-width: auto;
    line-height: 10px !important;
    height: 30px;
    border-radius: 5px !important;
    }
}


/* =========================================
   EXTRA SMALL DEVICES
========================================= */

@media (max-width: 480px) {
    .custom-card {
        padding: 16px;
    }

    .sidebar-container {
        padding: 1rem;
    }

    .loan-title {
        font-size: 22px;
    }

    .step-item {
        padding: 15px;
    }

    .step-number-title {
        font-size: 14px;
    }

    .step-description {
        font-size: 12px;
    }
}

@media (max-width: 400px){
    .profile-right-btn {
        padding: 9px 15px !important;
        font-size: 14px;
        width: auto !important;
        min-width: auto;
        line-height: 10px !important;
        height: 30px;
        border-radius: 5px !important;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-outline-custom,
    .submit-btn {
        width: 100%;
        min-width: 100%;
    }
}
