* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

body {
    background: #fff;
    color: #333;
    line-height: 1.6;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;

}

/* Header */
header {
    background: #fff;
    padding: 15px 0;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-unity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
}

.logo-icon {
    background-color: #FDCA33;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.logo-text span {
    display: block;
    font-size: 0.6em;
    color: #666;
    font-weight: normal;
}

.logo-wishfin {
    font-weight: bold;
    color: #555;
}

.logo-wishfin span {
    color: #00b300;
}

/* Main Content Layout */
.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
    margin-bottom: 150px;
}

/* Left Side - Info */
.info-section {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-weight: 500;
    font-size: 36px;
    line-height: 54px;
    color: #0F1A2A;
    margin-bottom: 20px;
}

.hero-title span {
    font-weight: 700;

}

.hero-icon {
    justify-self: center;
    margin-top: -10px;
    max-width: 475px;
}

.hero-subtitle {
    font-weight: 700;
    color: #FFC931;
    font-size: 18px;
    background: #252C35;
    padding: 7px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 450px;
}

.hero-subtitle span {
    font-weight: 400;
    padding: 0px 10px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: -35px;
}


.feature-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.box1 {
    background: #FCDC9F;
}

.box2 {
    background: #F5EA97;
}

.box3 {
    background: #9CEDFF;
}

.bg-green {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.bg-blue {
    background-color: #e8f0fe;
    color: #1a73e8;
}

.bg-purple {
    background-color: #f3e8fd;
    color: #9334e6;
}

.side-text {
    font-family: sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: 0px;
    color: #373737;
}

.sub-text {
    font-family: sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 29px;
    letter-spacing: 0px;
    color: #373737;

}

/* Right Side - Form */
.form-section {
    flex: 1;
    min-width: 300px;

}

.required::after {
    content: " *";
    color: red;
    margin-left: 3px;
    font-weight: bold;
}

.first-part {
    min-width: 300px;
    background: #FFF8E4;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

}

.second-part {
    min-width: 300px;
    padding: 30px 0px;
}

.form-header {
    padding-bottom: 15px;
    margin-bottom: 20px
}

.form-header p {
    color: #333;
    font-weight: 600;
    font-size: 23px;
    font-family: Inter;
}

.tenure {
    padding: 10px 15px;
    border: 1px solid #CBD4E1;
    border-radius: 3px;
    outline: none;
    font-weight: 400;
    font-size: 10px;
    background: #FFF;
    max-width: 88px;

}

.loan-tenure {
    position: relative;
    width: 50%;
    text-align: right;
    gap: 4px;
}

.loan-tenure select {
    width: 100%;
    color: #333;
    cursor: pointer;
    appearance: none;
}

/* Custom dropdown arrow */
.loan-tenure::after {
    content: "▼";
    font-size: 10px;
    color: #333333;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    pointer-events: none;
}

.loan-tenure label {
    text-align: left;
}

.loan-tenure .help-block {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    text-align: right;
    margin-top: 2px;
    z-index: 10;
    pointer-events: none;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    color: #333;
    cursor: pointer;
    appearance: none;
}

/* Custom dropdown arrow */
.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    color: #333333;
    position: absolute;
    right: 15px;
    top: 70%;
    transform: translateY(-50%);

    pointer-events: none;
}


/* Sliders */
.slider-group {
    margin-bottom: 25px;

}

.slider-label {
    color: #253746;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.amount-label {
    font-weight: 500;
    font-size: 12px;
}

.amount-display {
    color: #253746;
    font-size: 22px;
    font-weight: 500;

}

.range {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
}

/* Track (WebKit) */
.range::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(#FDCA33 0 0) no-repeat #fff;
    background-size: var(--fill, 0%) 100%;
    border-radius: 5px;
}

/* Thumb (WebKit) */
.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background: #000000;
    border-radius: 20px;
    border: 5px solid #FDCA33;
    cursor: pointer;
    margin-top: -8px;
}

/* Firefox track */
.range::-moz-range-track {
    height: 4px;
    background: #ddd;
    border-radius: 5px;
}

/* Firefox filled track */
.range::-moz-range-progress {
    height: 4px;
    background: #FDCA33;
    border-radius: 5px;
}

/* Firefox thumb */
.range::-moz-range-thumb {
    height: 22px;
    width: 22px;
    background: #FDCA33;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}


.slider-max-min {
    display: flex;
    justify-content: space-between;
    color: #253746;
    font-weight: 500;
    font-size: 12px;
    margin-top: 5px;
}

.invalid {
    border: 1px solid #dc3545 !important;
}

.has-error .help-block {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

.checkbox-item.has-error {
    color: #dc3545;
}

.checkbox-item .help-block {
    margin-left: 23px;
    margin-bottom: 10px;
}

.checkbox-group .invalid {
    border: 0px solid #dc3545 !important;
}


/* Responsive Form */
@media (min-width: 992px) {
    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: #2A3554;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #DEDEE8;
    border-radius: 1px;
    outline: none;
    font-size: 14px;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #FDCA33;
}

.form-group .help-block {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 11px;
    color: #dc3545;
}

/* Checkboxes */
.checkbox-group {
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 400;
    color: #373737;
}

.checkbox-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: flex-start;
    flex-direction: unset;
}

input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #2D2C29;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    max-width: 270px;
    background-color: #FDCA33;
    color: #282828;
    border: none;
    padding: 15px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;

}

.btns {
    display: flex;
    justify-content: center;
}

.submitButton {
    justify-content: center;
    display: flex;
}


.btn-submit:hover {
    background-color: #e65c00;
}

.full-screen-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Loader Animation */
.hourglass-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #4caf50;
    /* Green spinner */
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.hourglass-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ff9933;
}

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

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

.status-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.status-subtitle {
    color: #777;
    font-size: 0.9rem;
}

/* Rejection Icon */
.reject-icon {
    width: 80px;
    height: 80px;
    background-color: #ffebee;
    color: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px auto;
    border: 2px solid #d32f2f;
}

.error {
    border-color: red !important;
}
.powered-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #E2E8F0;
}

.powered-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  font-size: 12px;
}

.powered-text {
  font-weight: 500;
  margin: 0 8px;
}

@media screen and (max-width: 1099.98px) {
    .sub-text {
        font-size: 15px;
    }

}


@media screen and (max-width: 991.98px) {
    .hero-subtitle {
        font-size: 14px !important;
        padding: 7px 7px !important;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .hero-icon {
        max-width: 375px;
    }

    .slider-label {
        gap: 106px;
    }

    .tenure {
        padding: 10px 10px;
    }

    .loan-tenure::after {
        top: 70%;
    }

    .side-text {
        font-size: 19px;
    }

    .sub-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 767.98px) {
    .main-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        background: #FFF8E4;
        margin: 0px auto;
        gap: 0;
        padding-bottom: 50px;
    }

    .info-section {
        display: contents;
    }

    .hero-card {
        order: 1;
        margin-bottom: 0px;
    }

    .form-section {
        order: 2;
        margin-bottom: 60px;
    }

    .feature-list {
        order: 3;
    }

    header {
        background: #FFF8E4 !important;
    }

    .hero-subtitle {
        font-size: 18px !important;
        padding: 7px 15px !important;
        max-width: 450px;
    }

    .hero-icon {
        justify-self: center;
    }

    .info-section {
        display: contents;
    }

    .hero-card {
        order: 1;
        margin-bottom: 0px;
    }

    .form-section {
        order: 2;
        margin-bottom: 60px;
    }

    .feature-list {
        order: 3;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .first-part {
        margin-top: -35px;
        background: #FFF;
        border-top: 5px solid #FDCA33;
    }

    .loan-tenure::after {
        top: 50%;
    }

    .slider-label {
        gap: 0px;
    }

    .range::-webkit-slider-runnable-track {
        height: 10px;
        background: linear-gradient(#FDCA33 0 0) no-repeat #ddd;
        background-size: var(--fill, 0%) 100%;
        border-radius: 5px;
    }

    .range::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 20px;
        width: 20px;
        background: #000000;
        border-radius: 20px;
        border: 5px solid #FDCA33;
        cursor: pointer;
        margin-top: -5px;
    }
}

@media screen and (max-width: 576.98px) {
    .hero-icon {
        max-width: 325px;
        margin-top: 0px;
    }

    .first-part {
        margin-top: -28px;
        background: #FFF;
    }

    .side-text {
        font-size: 14px;
    }

    .sub-text {
        font-size: 10px;
        line-height: 25px;
    }

    .feature-item {
        padding: 10px 15px;
    }
}

@media screen and (max-width: 468.98px) {
    .hero-icon {
        max-width: 380px;
        margin-left: 14px;
        justify-self: unset;
    }

    .hero-subtitle {
        font-size: 17px !important;
        padding: 7px 9px !important;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }
}

@media screen and (max-width: 435.98px) {


    .slider-label {
        gap: 0px;
    }

    .amount-label {
        font-size: 10px;
    }

    .amount-display {
        font-size: 17px;
    }

    .loan-tenure label {
        font-size: 11px;
    }

    .loan-tenure {
        width: 50%;
    }

    .hero-icon {
        max-width: 340px;
        margin-left: 6px;
        justify-self: center;
    }

    .hero-subtitle {
        font-size: 14px !important;
        justify-self: left;
    }
}

@media screen and (max-width: 374.98px) {
    .hero-subtitle {
        font-size: 12px !important;
        padding: 7px 7px !important;
    }

    .hero-icon {
        max-width: 280px;
        margin-left: 5px;
    }

    .first-part {
        padding: 30px 15px;
    }

    .hero-subtitle span {
        font-weight: 400;
        padding: 0px 5px;
    }

    .form-header p {
        font-size: 15px;
    }

    .feature-item {
        padding: 10px 10px;
    }
}

@media screen and (max-width: 336.98px) {
    .loan-tenure::after {
        top: 70%;
    }

    .slider-label {
        gap: 13px;
    }
}