.main-header .logo a {
    display: block;
}

.main-header .logo a img {
    max-width: 170px;
}

.main-menu ul>li>a {
    padding: 20px 0px;
    color: #fff;
}

.modern-banner-area {
    position: relative;
    overflow: hidden;
    background: #0f160d;
}

.modern-banner-slider,
.modern-banner-slide {
    position: relative;
}

.modern-banner-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.modern-banner-bg,
.modern-banner-overlay {
    position: absolute;
    inset: 0;
}

.modern-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.modern-banner-slider .swiper-slide-active .modern-banner-bg img {
    transform: scale(1);
}

.modern-banner-overlay {
    background:
        linear-gradient(90deg, rgba(4, 7, 6, 0.86) 0%, rgba(4, 7, 6, 0.58) 34%, rgba(4, 7, 6, 0.22) 58%, rgba(4, 7, 6, 0.14) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 100%);
    z-index: 1;
}

.modern-banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.modern-banner-content {
    padding: 150px 0 120px 40px;
    color: #fff;
    max-width: 60%;
}

.modern-banner-kicker {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.modern-banner-title {
    margin: 0;
    font-family: var(--bd-ff-body);
    font-size: 65px;
    font-weight: 700;
    line-height: 68px;
    color: #fff;
}

.modern-banner-text {
    margin: 28px 0 40px;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.modern-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 50px;
    padding: 12px 30px;
    border-radius: 12px;
    background: #ff640d;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.modern-banner-btn:hover {
    background: #ff7b31;
    color: #fff;
    transform: translateY(-2px);
}

.modern-banner-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 68px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(-50%);
    backdrop-filter: blur(2px);
}

.modern-banner-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

.modern-banner-prev {
    left: 48px;
}

.modern-banner-next {
    right: 48px;
}

.modern-banner-pagination {
    position: absolute;
    left: 50% !important;
    bottom: 40px !important;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto !important;
    transform: translateX(-50%);
}

.modern-banner-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    margin: 0 !important;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    opacity: 1;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
}

.modern-banner-pagination .swiper-pagination-bullet-active {
    border-color: #ff640d;
    color: #fff;
}

.modern-banner-content>* {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.modern-banner-slider .swiper-slide.banner-content-ready .modern-banner-kicker {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.modern-banner-slider .swiper-slide.banner-content-ready .modern-banner-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

.modern-banner-slider .swiper-slide.banner-content-ready .modern-banner-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.modern-banner-slider .swiper-slide.banner-content-ready .modern-banner-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

.main-header {
    padding: 0px 30px;
}

.main-menu ul {
    gap: 60px;
}

.header-right .theme-btn-one .text-content {
    padding: 10px 26px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-area {
    border-bottom: 1px solid #afafaf6b;
    background: #00000000;
    backdrop-filter: blur(8px);
}

.header-right .theme-btn-one .text-content iconify-icon {
    font-size: 24px;
    transform: rotate(-34deg);
}





.homepage-sofi {
    background: #f7f4ef;
}

/* .homepage-sofi .line-pattern-group,
.homepage-sofi #preloader,
.homepage-sofi .mouse-cursor {
    display: none !important;
} */

.homepage-sofi .header-area {
    border-bottom: none;
    background: #ff7700;
    backdrop-filter: blur(14px);
}

.homepage-sofi .main-header {
    padding: 6px 20px;
}

.homepage-sofi .main-header .logo {
    margin: 0;
}

.homepage-sofi .main-header .logo a img {
    max-width: 150px;
}

.homepage-sofi .main-menu ul {
    gap: 50px;
}

.homepage-sofi .main-menu ul>li>a {
    padding: 18px 0;
    color: #fff;
}

.homepage-sofi .header-right {
    gap: 24px;
}

.header-login-link {
    color: #fff;
}

.homepage-sofi .header-right a:first-of-type {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border-left: 1px dashed rgb(255 255 255 / 44%);
    padding-left: 12px;
}

.homepage-sofi .header-right a:first-of-type iconify-icon {
    font-size: 20px;
}

.homepage-sofi .header-signup-btn .text-content {
    border-radius: 10px;
    padding: 10px 20px;
    color: #fff;
    letter-spacing: 0;
    border: 2px solid #fff;
    gap: 8px;
}

.homepage-sofi .header-signup-btn:hover .text-content {
    background: #2e2e2e;
}

.homepage-sofi .header-signup-btn::before,
.homepage-sofi .header-signup-btn::after,
.homepage-sofi .header-signup-btn .icon-box {
    display: none;
}

.sofi-hero-area {
    position: relative;
    padding: 72px 0px;
    background: #fff;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* .sofi-hero-area::before,
.sofi-hero-area::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sofi-hero-area::before {
    top: 74px;
    right: 16%;
    width: 14px;
    height: 14px;
    background: #d6eb53;
    box-shadow: 0 0 0 10px rgba(214, 235, 83, 0.16);
} */

.sofi-hero-area::after {
    right: -120px;
    bottom: -140px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

.sofi-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 48px;
    position: relative;
    top: -15px;
}

.sofi-hero-copy,
.sofi-hero-visual,
.sofi-stat-card,
.sofi-photo-card {
    opacity: 0;
    transform: translateY(36px);
}

.homepage-sofi.is-ready .sofi-hero-copy,
.homepage-sofi.is-ready .sofi-hero-visual,
.homepage-sofi.is-ready .sofi-stat-card,
.homepage-sofi.is-ready .sofi-photo-card {
    animation: sofiHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.homepage-sofi.is-ready .sofi-hero-visual {
    animation-delay: 0.15s;
}

.homepage-sofi.is-ready .sofi-stat-main {
    animation-delay: 0.24s;
}

.homepage-sofi.is-ready .sofi-stat-rating {
    animation-delay: 0.34s;
}

.homepage-sofi.is-ready .sofi-photo-top {
    animation-delay: 0.28s;
}

.homepage-sofi.is-ready .sofi-photo-bottom {
    animation-delay: 0.4s;
}

.sofi-hero-title {
    margin: 0;
    color: #121212;
    font-weight: 600;
    line-height: 0.97;
    font-size: 70px;
}

.sofi-hero-text {
    margin: 26px 0 34px;
    color: #535353;
    font-weight: 400;
    font-size: 16px;
}

.sofi-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 44px;
}

.sofi-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 8px 9px 8px 22px;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    /* box-shadow: 0 18px 34px rgba(17, 17, 17, 0.18); */
    font-size: 14px;
    text-transform: capitalize;
}

a.sofi-hero-cta.last {
    padding: 8px 10px 8px 24px;
    background: #fff;
    color: #111111;
    border: 1px solid #11111138;
    height: 48px;
}

a.sofi-hero-cta.last iconify-icon {
    color: #292929;
    font-size: 20px;
    background: #e8e8e8;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sofi-hero-cta i, .sofi-hero-cta iconify-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

.sofi-hero-cta:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 24px 38px rgba(17, 17, 17, 0.22);
}

.sofi-hero-price strong {
    display: block;
    color: #121212;
}

.sofi-hero-price span {
    color: #a3a3a3;
    font-size: 16px;
    font-weight: 400;
}

.sofi-hero-trust {
    max-width: 430px;
}

.sofi-hero-trust p {
    max-width: 85%;
    margin: 0;
    color: #4e4e4e;
    font: 500 14px/1.6 var(--bd-ff-inter);
}

.sofi-hero-visual {
    position: relative;
    min-height: 530px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.actical-wrap {
    display: flex;
    width: 50%;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    top: 65px;
}

.sofi-stat-card {
    /* position: absolute; */
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(20, 20, 20, 0.09);
    backdrop-filter: blur(6px);
}

.sofi-stat-main {
    width: 100%;
    padding: 34px 28px 28px;
    z-index: 2;
    height: 280px;
    background: #f3f3f3;
    box-shadow: 0 24px 70px rgb(20 20 20 / 24%);

}

.sofi-stat-main h2 {
    margin: 28px 0 54px;
    color: #111111;
    font-size: 28px;
}

.sofi-stat-eyebrow {
    color: #6e6e6e;
    font: 500 12px var(--bd-ff-inter);
}

.sofi-stat-play {
    position: absolute;
    top: -24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #ff7700;
    color: #fff;
    box-shadow: 0 18px 32px rgba(215, 239, 79, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sofi-stat-play iconify-icon {
    font-size: 26px;
}

.sofi-hero-copy {
    position: relative;
    top: 42px;
}

.sofi-stat-play:hover {
    transform: scale(1.05);
}

.sofi-stat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sofi-stat-footer span {
    color: #b0b0b0;
    font: 500 11px var(--bd-ff-inter);
}

.sofi-stat-bar {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.08);
    overflow: hidden;
}

.sofi-stat-bar span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #111111, #b8b8b8);
}

.sofi-stat-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: #111111;
    color: #ffffff;
    z-index: 2;
}

.sofi-rating-badge {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #ff7700;
    color: #fff;
}

.sofi-stat-rating strong {
    display: block;
    color: #ffffff;
}

.sofi-stat-rating small {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 400;
}

.sofi-photo-stack {
    width: 50%;
    height: 450px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sofi-photo-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 70px rgba(20, 20, 20, 0.12);
}

.sofi-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sofi-photo-top {
    top: 0;
    right: 0;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.sofi-photo-top img {
    object-position: 90% 27%;
}

.sofi-photo-bottom {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 280px;
    box-shadow: 0 24px 70px rgb(20 20 20 / 24%);
}

.sofi-photo-bottom img {
    position: absolute;
    top: -22px;
    height: 302px;
}

.homepage-sofi.is-ready .sofi-stat-main,
.homepage-sofi.is-ready .sofi-stat-rating,
.homepage-sofi.is-ready .sofi-photo-card {
    animation-name: sofiHeroRise, sofiFloat;
    animation-duration: 0.9s, 6s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-fill-mode: forwards, both;
    animation-iteration-count: 1, infinite;
}

.homepage-sofi.is-ready .sofi-stat-main {
    animation-delay: 0.24s, 1.5s;
}

.homepage-sofi.is-ready .sofi-stat-rating {
    animation-delay: 0.34s, 2.1s;
}

.homepage-sofi.is-ready .sofi-photo-top {
    animation-delay: 0.28s, 1.2s;
}

.homepage-sofi.is-ready .sofi-photo-bottom {
    animation-delay: 0.4s, 1.8s;
}

@keyframes sofiHeroRise {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sofiFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.banner-area {
    padding: 70px 0px;
}

.banner-right-wrapper p.mainspt {
    font-weight: 400;
    font-size: 16px;
    padding-left: 60px;
    margin: 0;
}

.banner-title {
    font-size: 94px;
}

.shape-wrapper {
    top: 80px;
}

.expertise-area .section-title {
    max-width: 100%;
}

.expertise-area {
    padding: 100px 0px 80px 0px;
}

section.identity-area.section-space-top {
    background: #fff;
    padding: 80px 0px;
}

.identity-area .img-box-reveal {
    margin-left: 0;
}

.img-box-reveal.fix h6 {
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 25px;
}

.img-box-reveal.fix p {
    margin-bottom: 15px;
    font-size: 16px;
}

section.capabilites-area.section-space {
    background: #fff;
    padding: 80px 0px;
}

.agency-content-wrapper {
    padding-left: 45px;
}

.identity-img {
    height: 520px;
}

.agency-btn a {
    font-family: var(--bd-ff-dm-sans) !important;
    border-radius: 10px;
}

.agency-btn a:hover {
    color: #ffffff;
}

.agency-img-wrapper .agency-title {
    font-size: 22px;
}

.agency-single-img {
    height: 360px;
}

.agency-single-img img {
    height: 100%;
    object-fit: cover;
}

.agency-right-content {
    padding-left: 35px;
}

.img-box-reveal.fix ul li {
    line-height: 26px;
    font-size: 15px;
    font-weight: 400;
    padding-bottom: 12px;
    display: flex;
    gap: 10px;
}

.img-box-reveal.fix ul li span b {
    font-weight: 500;
}

.identity-right.title-anim {
    margin: 0px;
}

.location {
    border-left: 0;
    background: #f2f2f28a;
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 30px;
}

.fixed-wraps {
    padding-left: 24px;
}

.location-map, .location .number {
    display: flex;
    gap: 20px;
}

.location .location-map:last-of-type {
    margin-bottom: 0;
}

.location-map>span, .number>span {
    height: 48px;
    width: 48px;
    background: #ff770012;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    border: 1px solid #ff770024;
}

.location-map>span iconify-icon, .number>span iconify-icon {
    font-size: 20px;
    color: var(--bd-primary);
}

.img-box-reveal.fix ul li iconify-icon {
    font-size: 18px;
    position: relative;
    top: 2px;
}

.identity-left-content .section-top-content {
    margin-bottom: 50px;
}

.identity-right p {
    margin-bottom: 24px;
}

.identity-single-count:last-child h3 {
    color: #ffffff;
}

.identity-single-count:last-child p {
    color: #ffffff;
}

.identity-single-count {
    max-width: 240px;
}

section.pricing-area.section-space {
    padding: 80px 0px;
    background: #f5f5f5;
}

.pricing-area .section-title-two {
    max-width: 100%;
}

.featured-wrap .section-title-two {
    font-family: var(--bd-ff-dm-sans);
    text-align: center;
}

.featured-wrap {
    text-align: center !important;
    font-family: var(--bd-ff-dm-sans) !important;
    max-width: 58%;
    margin: auto;
}

.pricing-single-inner span {
    font-family: var(--bd-ff-dm-sans) !important;
}

.pricing-list ul li {
    font-size: 16px;
    font-family: var(--bd-ff-dm-sans) !important;
    padding-left: 24px;
    margin-bottom: 20px;
}

.pricing-list ul li span {
    margin: 0;
    color: #000;
}

.pricing-price {
    font-size: 40px !important;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.pricing-list {
    margin-bottom: 50px;
}

.pricing-single-inner {
    padding: 40px;
}

.pricing-single-inner .btn-secondary:hover {
    color: #ffffff !important;
}

.pricing-single-inner .btn-secondary {
    font-family: var(--bd-ff-dm-sans) !important;
}

.pricing-single-inner:hover .pricing-btn .btn-secondary {
    color: #fff;
}

.pricing-single-inner span.pricinig-tag {
    color: #ffffff;
}

.pricing-main-wrapper {
    margin-top: 52px;
}

.pricing-main-wrapper .row {
    --bs-gutter-x: 34px;
    --bs-gutter-y: 34px;
}

.pricing-main-wrapper .col-sm-6.col-lg-4 {
    display: flex;
}

.pricing-single-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 20px 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    background: #f3f3f3;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.35),
        0 18px 40px rgba(24, 22, 18, 0.08);
}

.pricing-single-inner::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 196px;
    border-radius: 20px;
    background: #fff;
    z-index: 0;
    margin: auto;
    width: 96%;
}

.pricing-single-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    pointer-events: none;
}

.pricing-single-inner>* {
    position: relative;
    z-index: 1;
}

.pricing-single-inner .pricing-shape {
    display: none;
}

.pricing-single-inner span {
    margin: 0;
    font-family: var(--bd-ff-dm-sans) !important;
    text-transform: none;
    font-weight: 700;
    padding-bottom: 6px;
    color: #000;
}

.pricing-single-inner>span:first-child {
    max-width: calc(100% - 108px);
    margin-bottom: 6px;
    color: #141414;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.pricing-single-inner span.pricinig-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 13px;
    border: 1px solid #f2ddcf;
    border-radius: 999px;
    background: #fff6ef;
    color: var(--bd-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0;
}

.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 14px 0 4px;
    padding: 0;
    border: 0;
    color: #101010;
    font-family: var(--bd-ff-dm-sans);
    font-size: 40px !important;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.pricing-price::before {
    content: "";
    position: relative;
    top: -8px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.pricing-single-inner p {
    margin: 0 0 16px;
    color: #6c675f;
    font-size: 15px;
    line-height: 1.45;
}

.pricing-btn {
    margin-bottom: 24px;
    margin-top: 16px;
}

.pricing-btn .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: #1f1f1f;
    /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); */
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    gap: 10px;
}

.pricing-btn .btn-secondary iconify-icon {
    font-size: 24px;
}

.pricing-single-inner:hover .pricing-btn .btn-secondary {
    color: #fff;
    background: #1f1f1f;
}

.pricing-main-wrapper .col-lg-4:nth-child(2) .pricing-btn .btn-secondary {
    background: var(--bd-primary);
}

.pricing-main-wrapper .col-lg-4:nth-child(2) .pricing-single-inner:hover .pricing-btn .btn-secondary {
    background: var(--bd-primary);
}

.pricing-list {
    margin: 0;
    padding-top: 24px;
}

.pricing-list ul li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    align-items: center;
}

.pricing-list ul li::before {
    position: relative;
    top: 2px;
    left: auto;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 10px;
}

.pricing-main-wrapper .col-lg-4:nth-child(2) .pricing-list ul li::before {
    background: var(--bd-primary);
}

.pricing-list ul li span {
    margin-left: -3px;
    color: #7f796f;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 0 !important;

}

.loan-about-showcase {
    padding: 70px 0px;
    background: #fff;
}

.loan-about-frame {
    max-width: 1300px;
    margin: 0 auto;
}

.loan-about-stats {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(70, 42, 19, 0.08);
    overflow: hidden;

}

.loan-about-stat-group {
    padding: 28px;
}

.loan-about-stat-group+.loan-about-stat-group {
    border-left: 1px solid #eadfd6;
}

.loan-about-stat-title {
    margin: 0 0 12px;
    color: #2c2a29;
    font-size: 23px;
    font-weight: 500;
}

.loan-about-card p.loan-about-price {
    font-size: 20px;
    color: #000;
    font-weight: 600;
}

.loan-about-stat-copy {
    line-height: 24px;
    margin: 0 0 28px;
    color: #8e8378;
    font-size: 16px;
}

.loan-about-stat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 32px;
}

.loan-about-stat-item strong {
    display: block;
    margin-bottom: 0px;
    color: #2f2e2c;
    font-size: 34px;
    font-weight: 700;
}

.loan-about-stat-item span {
    display: block;
    color: #8c8177;
    font-size: 14px;
}

.loan-about-story {
    padding: 0px 0px 60px 0px;
}

.loan-about-story-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.72fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 26px;
}

.loan-about-story-title {
    max-width: 720px;
    margin: 0;
    color: #2d2c2b;
    font-size: 60px;
    font-weight: 500;
}

.loan-about-story-title em {
    font-style: italic;
    font-weight: 600;
}

.loan-about-story-note {
    max-width: 90%;
    font-size: 15px;
    margin-left: auto;

}

.loan-about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.7fr) minmax(220px, 0.78fr);
    gap: 18px;
    align-items: stretch;
}

.loan-about-card,
.loan-about-visual {
    border: 1px solid #eadfd6;
    border-radius: 12px;
    background: #fbf8f5;
    box-shadow: 0 12px 30px rgba(70, 42, 19, 0.06);
}

.loan-about-visual {
    overflow: hidden;
    min-height: 385px;
    margin-bottom: 0;
}

.loan-about-visual img,
.loan-about-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loan-about-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.loan-about-card h3 {
    margin: 0 0 14px;
    color: #343230;
    font-size: 22px;
}

.loan-about-card p {
    margin: 0;
    color: #9a8f85;
    font-size: 14px;
}

.loan-about-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 102px;
    margin-top: 24px;
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid #ece4db;
    background: #fffdfa;
    color: #544b43;
    font-size: 16px;
}

.loan-about-card.is-highlight .loan-about-pill {
    background: #ff7700;
    border-color: #ff7700;
    color: #ffffff;
}

.loan-about-mini-media {
    overflow: hidden;
    height: 220px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.loan-about-price {
    margin: 18px 0 0;
    color: #7e7368;
    font: 500 14px/1.4 "DM Sans", sans-serif;
}

.loan-about-footer-note {
    margin: 14px 0 0;
    color: #9b9086;
    font: 500 11px/1.45 "DM Sans", sans-serif;
}

.vehicle-report-section {
    padding: 70px 0px;
    background: #ffffff;
}

.vehicle-report-shell {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 18px;
}

.vehicle-report-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
}

.vehicle-report-intro {
    max-width: 68%;
}

.vehicle-report-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #8e8e8e;
    font: 500 12px/1.2 "DM Sans", sans-serif;
}

.vehicle-report-title {
    margin: 0;
    font-size: 60px;
    font-weight: 500;
}

.vehicle-report-social {
    width: 24%;
}

.agency-img-wrapper {
    margin-left: 0px;
    justify-content: space-between !important;
}

.vehicle-report-avatars {
    display: flex;
    flex-shrink: 0;
}

.vehicle-report-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-left: -8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.vehicle-report-avatars img:first-child {
    margin-left: 0;
}

.vehicle-report-social p {
    margin: 10px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 24px;
}

.vehicle-report-stage {
    position: relative;
    padding: 10px 22px 20px;
}

.vehicle-report-car {
    position: relative;
    z-index: 1;
    max-width: 85%;
    margin: 0 auto;
}

.vehicle-report-car img {
    width: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.10));
}

.main-menu ul>li.mobileonly {
    display: none;
}

.vehicle-report-card {
    position: absolute;
    left: 35%;
    top: 50%;
    z-index: 2;
    width: 290px;
    padding: 24px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
    transform: translate(-50%, -50%);
}

.vehicle-report-card-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #1e1e1e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.vehicle-report-card h3 {
    margin: 0 0 7px;
    color: #171717;
    font-size: 24px;
}

.vehicle-report-card p {
    margin: 0;
    color: #767676;
    font-size: 14px;
    line-height: 20px;
}

.vehicle-report-pin {
    position: absolute;
    left: -14px;
    top: 46%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.vehicle-report-pin::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #ca3a43;
}

.vehicle-report-footer {
    text-align: center;
    margin: 0;
}

.vehicle-report-footer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: underline;
    color: var(--bd-primary);
}

.vehicle-report-footer a iconify-icon {
    font-size: 26px;
}

/* .agency-area::before {
    background: #f2f2f2;
} */
footer.footer-three-area.section-space-top {
    padding: 80px 0px 72px 0px;
}

.footer-style-three-link ul li a {
    font: inherit;
}

.footer-logo-content ul li a {
    font: inherit;
    height: 40px;
    width: 40px;
    display: flex;
    background: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.footer-logo-content ul li a iconify-icon {
    color: var(--bd-primary);
    font-size: 20px;
}

.footer-style-three-widget .widget-title {
    font: inherit;
    color: var(--bd-white);
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
}

.footer-btn a {
    font: inherit;
    border-radius: 10px;
}

.footer-logo-content ul {
    gap: 15px;
}













.homepage-sofi {
    --rivian-header-text: rgba(255, 255, 255, 0.92);
    --rivian-header-border: rgba(255, 255, 255, 0.12);
    --rivian-hero-text: rgba(255, 255, 255, 0.82);
    background: #fff;
}

.homepage-sofi .header-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    border-bottom: 1px solid rgb(0 0 0 / 21%);
    background: linear-gradient(180deg, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 25%) 100%);
    backdrop-filter: blur(10px);
}

.homepage-sofi .header-sticky.sticky .header-area,
.homepage-sofi .header-sticky.sticky {
    background: rgba(10, 10, 10, 0.8);
}

.homepage-sofi .header-sticky.sticky .main-header {
    background: transparent;
}

.homepage-sofi .main-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
    padding: 0 12px;
}

.homepage-sofi .header-left-group {
    display: flex;
    align-items: center;
    gap: 50px;
    min-width: 0;
    flex: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.homepage-sofi .main-header .logo {
    height: auto;
    position: relative;
}

.homepage-sofi .main-header .logo a img {
    max-width: 150px;
}

.homepage-sofi .main-menu {
    min-width: 0;
}

.homepage-sofi .main-menu ul {
    display: flex;
    align-items: center;
    gap: 50px;
}

.homepage-sofi .main-menu ul>li>a,
.homepage-sofi .header-login-link {
    padding: 0;
    color: var(--rivian-header-text);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.homepage-sofi .main-menu ul>li>a:hover,
.homepage-sofi .header-login-link:hover {
    color: #fff;
}

.homepage-sofi .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex: 1 1 0;
}

.homepage-sofi .header-right a:first-of-type {
    border: 0;
    padding: 0;
}

.homepage-sofi .header-signup-btn .text-content {
    min-height: 38px;
    padding: 9px 18px;
    border: 1px solid #f70;
    border-radius: 10px;
    color: #fff;
    background: #ff7700;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.homepage-sofi .header-signup-btn:hover .text-content {
    background: #fff;
    color: #111;
}

body.homepage-sofi .header-area {
    background: linear-gradient(180deg, rgb(0 0 0) 0%, rgb(0 0 0) 100%);
}

.homepage-sofi .rivian-menu-toggle,
.homepage-sofi .bars_icon {
    width: 26px;
    min-width: 26px;
    height: 18px;
    padding: 0;
}

.homepage-sofi .rivian-menu-toggle .line,
.homepage-sofi .bars_icon .line {
    width: 100%;
    height: 1.5px;
    background: #fff;
}

.homepage-sofi .rivian-menu-toggle .line:nth-child(2),
.homepage-sofi .bars_icon .line:nth-child(2) {
    width: 72%;
}

.homepage-sofi .rivian-menu-toggle .line:nth-child(3),
.homepage-sofi .bars_icon .line:nth-child(3) {
    width: 86%;
}

.rivian-hero-area {
    position: relative;
    overflow: hidden;
    background: #111;
}

.rivian-hero-slider,
.rivian-hero-slide,
.rivian-hero-media,
.rivian-hero-media img {
    width: 100%;
    height: 100%;
}

.rivian-hero-slide {
    position: relative;
    min-height: 100vh;
}

.rivian-hero-media {
    position: absolute;
    inset: 0;
}

.rivian-hero-media img {
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s ease;
}

.rivian-hero-slider .swiper-slide-active .rivian-hero-media img {
    transform: scale(1);
}

.rivian-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.46) 32%, rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.06) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.rivian-hero-area .container-fluid {
    position: relative;
    z-index: 2;
}

.rivian-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    max-width: 50%;
    padding: 170px 0 84px 40px;
    color: #fff;
}

.rivian-hero-eyebrow,
.rivian-hero-title,
.rivian-hero-text,
.rivian-hero-actions {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.rivian-hero-slider .swiper-slide-active .rivian-hero-eyebrow,
.rivian-hero-slider .swiper-slide-active .rivian-hero-title,
.rivian-hero-slider .swiper-slide-active .rivian-hero-text,
.rivian-hero-slider .swiper-slide-active .rivian-hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.rivian-hero-slider .swiper-slide-active .rivian-hero-title {
    transition-delay: 0.12s;
}

.rivian-hero-slider .swiper-slide-active .rivian-hero-text {
    transition-delay: 0.24s;
}

.rivian-hero-slider .swiper-slide-active .rivian-hero-actions {
    transition-delay: 0.36s;
}

.rivian-hero-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rivian-hero-title {
    margin: 0;
    color: #fff;
    font-family: var(--bd-ff-inter);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.rivian-hero-text {
    margin: 24px 0 34px;

    color: var(--rivian-hero-text);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
}

.rivian-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.rivian-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 10px;
    background: #ff7700;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.rivian-hero-btn:hover {
    background: #eaeaea;
    color: #111;
}

.rivian-hero-btn-outline {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.rivian-hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.rivian-hero-navigation {
    position: absolute;
    right: 48px;
    bottom: 46px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.rivian-hero-prev,
.rivian-hero-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.rivian-hero-prev:hover,
.rivian-hero-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.rivian-hero-pagination {
    position: absolute;
    left: 50% !important;
    bottom: 58px !important;
    z-index: 3;
    display: inline-flex;
    gap: 8px;
    width: auto !important;
    transform: translateX(-50%);
}

.rivian-hero-pagination .swiper-pagination-bullet {
    width: 48px;
    height: 2px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    opacity: 1;
}

.rivian-hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

section.consulting-content-area {
    background: #fff;
    padding: 70px 0px;
}

section.consulting-content-area .consulting-content-wrapper.section-space-bottom {
    padding-bottom: 60px;
}

section.banner-area {
    background: #fff;
    padding-top: 0;
}

.banner-right-wrapper.first-about {
    padding-left: 0;
}

.project-counter {
    margin-bottom: 60px;
}





.home-faq-area {
    padding: 80px 0;
    background: #fff;
}

.home-faq-shell {
    position: relative;
}

.home-faq-intro {
    max-width: 430px;
    margin-bottom: 230px;
}

.home-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: #fff7ef;
    border: 1px solid #ffe3c8;
    color: var(--bd-primary);
    font: 600 12px/1 var(--bd-ff-dm-sans);
    box-shadow: 0 10px 20px rgba(255, 119, 0, 0.07);
}

.home-faq-badge iconify-icon {
    font-size: 15px;
}

.home-faq-title {
    margin: 0;
    color: #101010;
    font: 500 clamp(42px, 5vw, 64px)/0.95 var(--bd-ff-dm-sans);
    letter-spacing: -0.05em;
    text-transform: none;
}

.home-faq-request {
    padding: 30px;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    background: linear-gradient(135deg, #fffaf5 0%, #fff2e7 100%);
    box-shadow: 0 20px 40px rgba(27, 22, 17, 0.05);
    text-align: left;
}

.home-faq-request .faq_text {
    margin-bottom: 14px;
    color: #111;
    font-size: 28px;
    font-weight: 500;
}

.home-faq-request p {
    margin-bottom: 26px;
    color: #726a62;
    font: 400 15px/1.7 var(--bd-ff-dm-sans);
}

.home-faq-request .faq_button button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 10px;
    color: #fff;
    background: var(--bd-primary);
    font-size: 16px;
}

.home-faq-request .faq_button button:hover {
    background: #111;
    color: #fff;
}

.home-faq-request .faq_button button iconify-icon {
    font-size: 18px;
}

.home-faq-accordion {
    padding: 0;
    border: 0;
    background: transparent;
}

.home-faq-accordion .accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-faq-accordion .accordion .accordion-item {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid #ebe6de;
    border-radius: 12px;
    background: #fbfaf8;
    box-shadow: 0 8px 26px rgba(28, 23, 18, 0.04);
}



.pricing-area .section-title-two {
    max-width: 100%;
    font-weight: 500;
    font-size: 60px;
}

.feature-bar-single-inner {
    background: #f3f1ed;
}

.feature-bar-single-inner:nth-child(4) h4, .feature-bar-single-inner:nth-child(4) p {
    color: #fff;
}

section.home-four-feature-area.section-space {
    padding: 80px 0px 70px 0px;
    overflow: hidden;
}

.home-faq-accordion .accordion .accordion-item .accordion-button {
    position: relative;
    min-height: 58px;
    padding: 20px 86px 26px 20px;
    border: 0;
    background: transparent !important;
    color: #161616;
    box-shadow: none !important;
    font-size: 18px;
    font-family: var(--bd-ff-dm-sans) !important;
}

.sub-title-four {
    margin-bottom: 12px;
}

.feature-brand-wrapper a {
    padding: 10px 12px;
    font-size: 11px;
    font-family: var(--bd-ff-dm-sans) !important;
}

.feature-brand-wrapper a:hover {
    background-color: #ff7700;
    border-color: #ff7700;
    color: var(--bd-white);
}

.expertise-area {
    padding: 70px 0px;
}

.feature-gallery-single:last-child .feature-gallery-content-wrapper {
    width: 100%;
    padding-bottom: 0;
}

.agency-area::before {
    background: #f5f5f5;
}

section.agency-area.section-space {
    padding: 70px 0px;
}

.home-faq-accordion .accordion .accordion-item .accordion-button:not(.collapsed) {
    color: #161616;
}

.home-faq-accordion .accordion .accordion-item .accordion-button::after {
    display: none;
}

.agency-btn a {
    background-color: var(--bd-secondary);
    border-color: var(--bd-secondary);
    color: #fff;
}

.experience-wrapper p {
    background-color: transparent;
    top: 40px;
    color: #000000;
}

.agency-right-content .team-list ul li {
    border-color: #ebebeb;
}

.home-faq-accordion .accordion .accordion-item .accordion-button::before {
    display: none;
}

.home-faq-accordion .accordion .accordion-item .accordion-button:focus {
    box-shadow: none;
}

.single-featur-content h4 {
    font-size: 26px;
    font-weight: 700;
}

.funding-wrapper p {
    font-size: 18px;
    text-align: center;
    font-weight: 800;
}

.home-faq-arrow {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #f0e5d9;
    color: var(--bd-primary);
}

.home-faq-arrow iconify-icon {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.28s ease, color 0.28s ease;
}

.home-faq-accordion .accordion .accordion-item .accordion-button:not(.collapsed) .home-faq-arrow iconify-icon {
    transform: rotate(180deg);
}

.home-faq-accordion .accordion .accordion-item .accordion-body {
    padding: 0 20px 20px;
    margin: -2px 0 0;
    border: 0;
}

.home-faq-accordion .accordion .accordion-item .description {
    max-width: 510px;
    color: #6f685f;
    font: 400 15px/1.7 var(--bd-ff-dm-sans);
}



.footer-contact-modern {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    color: #fff;
}

.footer-contact-icon iconify-icon {
    font-size: 30px;
    line-height: 1;
}

.footer-contact-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.footer-contact-copy small {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-copy strong {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

.footer-three-copy-row {
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0px;
    position: relative;
    z-index: 2;
}

.footer-three-copy-mail a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    font-weight: 500;
}

.footer-three-copy-mail a:hover {
    color: #ffffff;
}

.footer-three-copy-mail iconify-icon {
    font-size: 24px;
    line-height: 1;
}

.feature-four-top-content .section-title-four {
    max-width: 980px;
    margin: 0 auto;
    font-size: clamp(52px, 6.2vw, 74px);
    line-height: 1.06;
}

.feature-four-top-content .section-title-four .feature-title-line {
    display: block;
    white-space: nowrap;
}

.about-page-hero {
    padding: 70px 0px;
    background: #fff;
    margin-top: 74px;
}

.about-page-hero-shell {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.4fr);
    gap: 44px;
    align-items: center;
    overflow: hidden;
}

.about-page-hero-media {
    position: relative;
    min-height: 386px;
}

.about-page-hero-main-photo,
.about-page-hero-consultation-card {
    position: absolute;
    overflow: hidden;
}

.about-page-hero-main-photo {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 440px;
    border-radius: 18px;
}

.about-page-hero-consultation-card {
    right: 0;
    width: 390px;
    height: 230px;
    border: 6px solid #fff;
    border-radius: 18px;
    bottom: -70px;
}

.about-page-hero-main-photo img,
.about-page-hero-consultation-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
}

.about-page-hero-content {
    height: auto;
    width: 100%;
}

.about-page-hero-copy {
    max-width: 100%;
}

.about-page-hero-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 14px;
    margin-bottom: 12px;
    color: #867a6e;
    font: 500 14px/1 var(--bd-ff-dm-sans);
    letter-spacing: 0.03em;
}

.about-page-hero-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff7700;
}

.about-page-hero-title {
    font-size: 56px;
    font-weight: 500;
}

.about-page-hero-text {
    margin: 10px 0 14px;
    font-weight: 400;
    font-size: 16px;
}

.about-page-hero-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-page-hero-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    font-weight: 500;
}

.about-page-hero-list li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 1px;
    color: #ff7700;
    font-family: "Font Awesome 6 Pro";
    font-size: 14px;
    font-weight: 400;
}

.about-page-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.about-page-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 10px;
    background: #ff7700;
    border: 1px solid #ff7700;
    color: #ffffff;
    font-weight: 500;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.about-page-hero-btn:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
    transform: translateY(-1px);
}

.about-page-hero-btn-outline {
    background: #ffffff;
    border-color: #e6ddd3;
    color: #554d45;
}

.about-page-hero-btn-outline:hover {
    background: #f4ede4;
    border-color: #f4ede4;
    color: #111111;
}

.about-page-hero-stat-card {
    min-height: 148px;
    padding: 16px;
    border-radius: 14px;
    background: var(--bd-primary);
    color: #ffffff;
    box-shadow: 0 20px 34px rgba(47, 108, 93, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 160px;
}

.about-page-hero-bh-main {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding-top: 12px;
}

.about-page-hero-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
}

.about-page-hero-stat-card strong {
    display: block;
    font-size: 34px;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fff;
}

.about-page-hero-stat-card span:last-child {
    display: block;
    max-width: 76px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.about-page-hero-media,
.about-page-hero-copy,
.about-page-hero-stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.about-page-hero.is-visible .about-page-hero-media,
.about-page-hero.is-visible .about-page-hero-copy,
.about-page-hero.is-visible .about-page-hero-stat-card {
    opacity: 1;
    transform: translateY(0);
}

.about-page-hero.is-visible .about-page-hero-copy {
    transition-delay: 0.08s;
}

.about-page-hero.is-visible .about-page-hero-stat-card {
    transition-delay: 0.16s;
}

.about-card-section {
    padding: 70px 0px;
    background: #f7f4ef;
}

.about-card-section-shell {
    max-width: 1300px;
    margin: 0 auto;
}

.about-card-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.7fr);
    gap: 44px;
    align-items: start;
    margin-bottom: 50px;
}

.about-card-section-heading,
.about-card-section-summary,
.about-card-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.about-card-section.is-visible .about-card-section-heading,
.about-card-section.is-visible .about-card-section-summary,
.about-card-section.is-visible .about-card-item {
    opacity: 1;
    transform: translateY(0);
}

.about-card-section.is-visible .about-card-section-summary {
    transition-delay: 0.08s;
}

.about-card-section.is-visible .about-card-item:nth-child(1) {
    transition-delay: 0.14s;
}

.about-card-section.is-visible .about-card-item:nth-child(2) {
    transition-delay: 0.2s;
}

.about-card-section.is-visible .about-card-item:nth-child(3) {
    transition-delay: 0.26s;
}

.about-card-section-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 14px;
    margin-bottom: 18px;
    color: #867a6e;
    font: 500 12px/1 var(--bd-ff-dm-sans);
    letter-spacing: 0.03em;
}

.about-card-section-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff7700;
}

.about-card-section-title {
    max-width: 760px;
    margin: 0;
    color: #111111;
    font-family: var(--bd-ff-dm-sans);
    font-size: 60px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.about-card-section-summary {
    padding-top: 28px;
}

.about-card-section-summary p {
    font-weight: 400;
    line-height: 1.7;
}

.about-card-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-card-item {
    min-height: 250px;
    padding: 24px;
    border: 1px solid #efe8df;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(45, 33, 21, 0.05);
    display: flex;
    flex-direction: column;
}

.about-card-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.about-card-item-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-flex;
}

.about-card-item-blue .about-card-item-dot {
    background: #2f9cf4;
}

.about-card-item-orange .about-card-item-dot {
    background: #ff7700;
}

.about-card-item-green .about-card-item-dot {
    background: #2f6c5d;
}

.about-card-item-read {
    color: #5b5b5b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.about-card-item-title {
    margin: 0;
    color: #171717;
    font-family: var(--bd-ff-dm-sans);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.34;
    letter-spacing: -0.03em;
}

.about-card-item-footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
}

.about-card-item-footer p {
    max-width: 80%;
    margin: 0;
    color: #8b8176;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.about-card-item-action {
    width: 62px;
    height: 40px;
    min-width: 62px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-card-item-action:hover {
    background: #ff7700;
    color: #ffffff;
    transform: translateY(-1px);
}

.about-mvv-section {
    padding: 70px 0px;
    background: #ffffff;
}

.about-mvv-shell {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 40px;
    align-items: center;
}

.about-mvv-copy,
.about-mvv-media,
.about-mvv-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.about-mvv-section.is-visible .about-mvv-copy,
.about-mvv-section.is-visible .about-mvv-media,
.about-mvv-section.is-visible .about-mvv-item {
    opacity: 1;
    transform: translateY(0);
}

.about-mvv-section.is-visible .about-mvv-media {
    transition-delay: 0.08s;
}

.about-mvv-section.is-visible .about-mvv-item:nth-child(1) {
    transition-delay: 0.14s;
}

.about-mvv-section.is-visible .about-mvv-item:nth-child(2) {
    transition-delay: 0.2s;
}

.about-mvv-section.is-visible .about-mvv-item:nth-child(3) {
    transition-delay: 0.26s;
}

.about-mvv-title {
    margin: 0 0 40px;
    font-size: 60px;
    font-weight: 500;
}

.about-mvv-list {
    display: grid;
    gap: 0;
}

.about-mvv-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #eee6dc;
}

.about-mvv-item:first-child {
    padding-top: 0;
}

.about-mvv-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.about-mvv-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.about-mvv-item-mission .about-mvv-item-icon {
    background: rgba(255, 119, 0, 0.12);
    color: #ff7700;
}

.about-mvv-item-vision .about-mvv-item-icon {
    background: rgba(47, 156, 244, 0.12);
    color: #2f9cf4;
}

.about-mvv-item-values .about-mvv-item-icon {
    background: rgba(47, 108, 93, 0.12);
    color: #2f6c5d;
}

.about-mvv-item-content h3 {
    margin: 0 0 6px;
    color: #171717;
    font-family: var(--bd-ff-dm-sans);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.about-mvv-item-content p {
    max-width: 440px;
    margin: 0;
    color: #8b8176;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.about-mvv-media {
    position: relative;
}

.about-mvv-image {
    margin: 0;
    height: 450px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(45, 33, 21, 0.08);
}

.about-mvv-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-mvv-overlay-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.68);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.about-mvv-overlay-label {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.about-mvv-overlay-card strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
}

.about-mvv-overlay-action {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-mvv-overlay-action:hover {
    background: #ff7700;
    color: #ffffff;
    transform: translateY(-1px);
}

section.pricing-area.section-space.about-page-hero.contact-page {
    background: #fff;
}

.contact-ui-section {
    padding: 0 0 80px;
    background: #fff;
}

/* .contact-ui-shell {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
} */

.contact-ui-form-card {
    padding: 42px;
    border: 1px solid #ededed;
    background: #f5f5f5;
    border-radius: 10px;
}

.contact-ui-card-title {
    margin: 0 0 20px;
    color: #161616;
    font-family: var(--bd-ff-dm-sans);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.footer-btn a:hover {
    color: #ffffff;
    background-color: var(--bd-primary);
}

.footer-contact-title .theme-btn .icon-box i {
    color: #fff;
}

.contact-ui-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-ui-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-ui-field input,
.contact-ui-field textarea {
    width: 100%;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    color: #212121;
    font-size: 16px;
    font-weight: 400;
    padding: 13px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
}

.contact-ui-field input {
    height: 50px;
}

.contact-ui-field textarea {
    min-height: 124px;
    resize: none;
}

.contact-ui-field input::placeholder,
.contact-ui-field textarea::placeholder {
    color: #353535;
}

.contact-ui-field input:focus,
.contact-ui-field textarea:focus {
    outline: none;
    border-color: #ff7700;
    box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.08);
}

.contact-ui-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 170px;
    height: 48px;
    padding: 0 18px;
    border: 0;
    background: #1e1e1e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.25s ease, transform 0.25s ease;
    border-radius: 10px;
}

.contact-ui-submit:hover {
    background: #ff7700;
    transform: translateY(-1px);
}

.contact-ui-details {
    padding: 0px 0px 0px 26px;
    height: 100%;
    position: relative;
}

.contact-ui-field label {
    padding-bottom: 8px;
}

.contact-ui-details-head {
    max-width: 100%;
    margin-bottom: 40px;
}

.contact-ui-details-head p {
    margin: 0;
    color: #8b8b8b;
    font-size: 16px;
    line-height: 1.7;
}

.contact-ui-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    margin-bottom: 40px;
}

.contact-ui-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-ui-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    color: #ffffff;
    font-size: 28px;
    border-radius: 10px;
}

.contact-ui-info-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}

.contact-ui-info-copy strong {
    color: #161616;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.contact-ui-info-copy span,
.contact-ui-info-copy a {
    color: #8f8f8f;
    font-size: 16px;
    line-height: 1.55;
}

.contact-ui-info-copy a:hover {
    color: #ff7700;
}

.contact-ui-social {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    bottom: 0;
    justify-content: space-between;
    width: 100%;
}

.contact-ui-social-label {
    color: #161616;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.contact-ui-social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-ui-social-links a {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    transition: color 0.25s ease, transform 0.25s ease;
    background: #ff7700;
    border-radius: 50%;
}

.contact-ui-social-links a:hover {
    transform: translateY(-1px);
}

/* .privacy-policy-page {
    background:
        radial-gradient(circle at top left, rgba(255, 119, 0, 0.08), transparent 28%),
        linear-gradient(180deg, #f6f3ee 0%, #ffffff 24%, #ffffff 100%);
} */

/* .privacy-policy-page .header-area {
    border-bottom: none;
    background: #ff7700;
    backdrop-filter: blur(14px);
}

.privacy-policy-page .main-header {
    padding: 6px 20px;
}

.privacy-policy-page .main-menu ul {
    gap: 50px;
}

.privacy-policy-page .main-menu ul>li>a {
    padding: 18px 0;
    color: #fff;
} */

.privacy-policy-page .theme-btn-one .text-content {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-policy-hero {
    padding: 125px 0 80px;
    background: #fff;
}

.privacy-policy-shell {
    max-width: 1300px;
    margin: 0 auto;
}

.privacy-policy-card {
    height: auto;
    width: 100%;
}

.privacy-policy-copy {
    width: 100%;
}

.privacy-policy-block {
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid #ece7df;
}

.privacy-policy-block-last {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.privacy-policy-block h2 {
    margin: 0 0 16px;
    color: #171717;
    font-family: var(--bd-ff-dm-sans);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.privacy-policy-block p {
    margin: 0 0 14px;
    color: #5f5a54;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-policy-block p:last-child {
    margin-bottom: 0;
}

.privacy-policy-block ul {
    margin: 0;
    padding-left: 16px;
}

.privacy-policy-block ul li {
    margin-bottom: 12px;
    color: #5f5a54;
    font-size: 16px;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-policy-block ul li iconify-icon {
    font-size: 18px;
}

.privacy-policy-block ul li:last-child {
    margin-bottom: 0;
}






.auth-page-body {
    margin: 0;
    min-height: 100vh;
    background-color: #ff77000a;
    background-image: linear-gradient(rgb(165 171 188 / 16%) 1px, transparent 1px), linear-gradient(90deg, rgb(165 171 188 / 16%) 1px, transparent 1px);
    background-size: 124px 124px;
    font-family: "DM Sans", sans-serif;
    color: #171725;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.auth-shell {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 900px;
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 429px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(87, 100, 135, 0.08);
}

.auth-left-panel {
    display: flex;
    flex-direction: column;
    padding: 31px 36px 34px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-bottom: 40px;
}

.auth-brand:hover {
    color: inherit;
}

.auth-brand img {
    max-width: 160px;
}

.auth-panel-copy {
    text-align: center;
    padding-bottom: 40px;
}

.auth-wave {
    display: block;
    margin-bottom: 10px;
    color: #f4bc2c;
    font-size: 16px;
}

.auth-wave i {
    transform: rotate(-20deg);
}

.auth-title {
    margin: 0;
    color: #171725;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.auth-subtitle {
    margin: 9px 0 0;
    color: #8f96a8;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.auth-forms {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.auth-form {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.auth-form.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.auth-form-field {
    margin-bottom: 18px;
}

.auth-form-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: #2a2f3d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.auth-form-field label span {
    color: #7c8398;
}

.auth-form-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #eff2f7;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(29, 34, 55, 0.03);
    padding: 0 14px;
    color: #202432;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.auth-form-field input::placeholder {
    color: #abb1c0;
}

.auth-form-field input:focus {
    outline: none;
    border-color: #ff7700;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap input {
    padding-right: 42px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9da4b7;
    font-size: 14px;
    line-height: 1;
}

.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px 0 20px;
}

.auth-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.auth-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-check-indicator {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1.5px solid #d4d9e5;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.auth-check-indicator::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) scale(0.7);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.auth-check-text {
    color: inherit;
}

.auth-check:hover .auth-check-indicator {
    border-color: #ff7700;
    transform: translateY(-1px);
}

.auth-check input:focus-visible+.auth-check-indicator {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 119, 0, 0.16), 0 8px 18px rgba(15, 23, 42, 0.08);
}

.auth-check input:checked+.auth-check-indicator {
    border-color: #ff7700;
    background: linear-gradient(135deg, #ff8d3a 0%, #ff7700 100%);
    box-shadow: 0 10px 22px rgba(255, 119, 0, 0.28);
}

.auth-check input:checked+.auth-check-indicator::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.auth-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff7700;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.auth-link-button:hover {
    color: #ff7700;
}

.auth-link-inline {
    font-size: inherit;
    font-weight: 700;
}

.auth-submit-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #ff7700;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.auth-submit-btn:hover {
    background: #ff7700;
    color: #ffffff;
}

.auth-submit-btn:disabled {
    cursor: not-allowed;
}

.auth-submit-btn.is-loading {
    opacity: 0.88;
}

.auth-switch-copy {
    margin: 24px 0 0;
    text-align: center;
    color: #2a2f3d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.auth-right-panel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
}

.auth-right-panel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.passowrd-wraps {
    display: flex;
    gap: 18px;
}

.auth-error {
    display: none;
    min-height: 14px;
    margin-top: 5px;
    color: #d34c4c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.auth-error:not(:empty) {
    display: block;
}

.auth-success-message {
    display: none;
    margin: 2px 0 14px;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(12, 166, 120, 0.08);
    color: #ff7700;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.auth-success-message.is-visible {
    display: block;
}

.auth-is-hidden {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    height: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

/* Responsive CSS: keep all screen-size media queries below */
@media (prefers-reduced-motion: reduce) {

    .sofi-hero-copy,
    .sofi-hero-visual,
    .sofi-stat-card,
    .sofi-photo-card {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .rivian-hero-media img,
    .rivian-hero-eyebrow,
    .rivian-hero-title,
    .rivian-hero-text,
    .rivian-hero-actions {
        transform: none !important;
        transition: none !important;
        opacity: 1 !important;
    }

    .about-page-hero-media,
    .about-page-hero-copy,
    .about-page-hero-stat-card,
    .about-card-section-heading,
    .about-card-section-summary,
    .about-card-item,
    .about-mvv-copy,
    .about-mvv-media,
    .about-mvv-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 1399px) {
    .modern-banner-prev {
        left: 24px;
    }

    .modern-banner-next {
        right: 24px;
    }

    .sofi-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
        gap: 36px;
    }

    .sofi-hero-title {
        max-width: 460px;
        font-size: clamp(40px, 4.6vw, 62px);
    }
}

@media (max-width: 1199px) {
    .modern-banner-slide {
        min-height: 880px;
    }

    .modern-banner-content {
        padding: 170px 0 120px;
    }

    .modern-banner-nav {
        width: 72px;
        height: 52px;
        font-size: 24px;
    }

    .pricing-single-inner {
        padding: 30px 24px 24px;
    }

    .homepage-sofi .main-menu ul {
        gap: 28px;
    }

    .sofi-hero-grid {
        grid-template-columns: 1fr;
    }

    .sofi-hero-copy {
        max-width: 680px;
    }

    .sofi-hero-visual {
        max-width: 620px;
        margin: 0 auto;
    }

    .homepage-sofi .main-menu ul {
        gap: 18px;
    }

    .rivian-hero-content {
        max-width: 500px;
    }

    .about-page-hero-shell {
        padding: 38px 34px;
        gap: 30px;
    }

    .about-page-hero-title {
        font-size: 40px;
    }

    .about-card-section-shell {
        padding: 32px;
    }

    .about-card-section-title {
        font-size: 50px;
    }

    .about-card-item-title {
        font-size: 22px;
    }

    .about-mvv-shell {
        padding: 32px;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        gap: 28px;
    }

    .about-mvv-title {
        font-size: 42px;
    }

    .contact-ui-shell {
        gap: 34px;
        grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    }

    .privacy-policy-card {
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .modern-banner-slide {
        min-height: 760px;
    }

    .modern-banner-content {
        padding: 150px 0 120px;
    }

    .modern-banner-nav {
        top: auto;
        bottom: 110px;
        transform: none;
    }

    .modern-banner-prev {
        left: 15px;
    }

    .modern-banner-next {
        left: 101px;
        right: auto;
    }

    .sofi-hero-area {
        padding: 126px 0 60px;
    }

    .sofi-hero-actions {
        flex-wrap: wrap;
        gap: 18px;
    }

    .sofi-hero-visual {
        min-height: 500px;
        width: 100%;
    }

    .sofi-photo-stack {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 280px;
        height: 404px;
        margin-left: auto;
    }

    .sofi-photo-top,
    .sofi-photo-bottom {
        width: 220px;
    }

    .sofi-stat-main {
        top: 76px;
        width: 235px;
    }

    .sofi-stat-rating {
        bottom: 32px;
    }

    .homepage-sofi .main-header {
        min-height: 72px;
        padding: 0;
    }

    .homepage-sofi .header-left-group {
        display: none;
    }

    .homepage-sofi .main-header .logo {
        position: static;
        transform: none;
    }

    .homepage-sofi .header-right {
        flex: 0 0 auto;
        gap: 14px;
    }

    .rivian-hero-slide,
    .rivian-hero-content {
        min-height: 760px;
    }

    .rivian-hero-content {
        justify-content: center;
        padding: 140px 0 120px;
    }

    .rivian-hero-navigation {
        left: 40px;
        right: auto;
        bottom: 42px;
    }

    .rivian-hero-pagination {
        left: 40px !important;
        bottom: 110px !important;
        transform: none;
    }

    .home-faq-intro {
        max-width: 100%;
        margin-bottom: 28px;
    }

    .home-faq-request {
        max-width: 470px;
    }

    .about-page-hero {
        padding: 100px 0 50px;
    }

    .about-page-hero-shell {
        grid-template-columns: 1fr;
        padding: 34px 28px;
    }

    .about-page-hero-media {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }

    /* .about-page-hero-content {
        grid-template-columns: 1fr;
        gap: 18px;
    } */

    .about-page-hero-copy {
        max-width: 100%;
    }

    .about-page-hero-title,
    .about-page-hero-text {
        max-width: 100%;
    }

    .about-page-hero-stat-card {
        width: 118px;
        min-height: 142px;
    }

    .about-card-section {
        padding: 0 0 54px;
    }

    .about-card-section-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-card-section-summary {
        padding-top: 0;
    }

    .about-card-section-summary p {
        max-width: 100%;
    }

    .about-card-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-card-item:nth-child(3) {
        grid-column: 1 / -1;
    }

    .about-mvv-section {
        padding: 0 0 54px;
    }

    .about-mvv-shell {
        grid-template-columns: 1fr;
    }

    .about-mvv-title {
        max-width: 100%;
    }

    .about-mvv-item-content p {
        max-width: 100%;
    }

    .about-mvv-media {
        max-width: 560px;
    }

    .contact-ui-shell {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .contact-ui-details {
        padding-top: 0;
    }

    .privacy-policy-hero {
        padding: 112px 0 60px;
    }

    .privacy-policy-card {
        padding: 32px 28px;
    }

    .auth-page {
        padding: 22px;
    }

    .auth-card {
        max-width: 760px;
        grid-template-columns: 1fr;
    }

    .auth-left-panel {
        order: 2;
        padding: 26px 22px 28px;
    }

    .auth-brand {
        margin-bottom: 30px;
    }

    .auth-panel-copy {
        padding: 0;
    }

    .auth-right-panel {
        order: 1;
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .modern-banner-slide {
        min-height: 680px;
    }

    .modern-banner-content {
        padding: 135px 0 130px;
    }

    .modern-banner-kicker {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .modern-banner-text {
        margin: 22px 0 28px;
        font-size: 16px;
    }

    .modern-banner-btn {
        min-width: 148px;
        min-height: 54px;
        font-size: 17px;
    }

    .modern-banner-nav {
        width: 60px;
        height: 46px;
        border-radius: 16px;
        font-size: 20px;
    }

    .modern-banner-next {
        left: 83px;
    }

    .modern-banner-pagination {
        bottom: 30px;
        gap: 8px;
    }

    .modern-banner-pagination .swiper-pagination-bullet {
        padding: 9px 11px;
        font-size: 21px;
    }

    .pricing-main-wrapper .row {
        --bs-gutter-x: 22px;
        --bs-gutter-y: 22px;
    }

    .pricing-single-inner {
        border-radius: 20px;
    }

    .pricing-single-inner::before {
        top: 10px;
        left: 10px;
        right: 10px;
        height: 144px;
        border-radius: 16px;
    }

    .pricing-single-inner>span:first-child {
        max-width: calc(100% - 92px);
        font-size: 17px;
    }

    .pricing-single-inner span.pricinig-tag {
        top: 30px;
        right: 0px;
        font-size: 10px;
    }

    .pricing-price {
        font-size: 40px !important;
    }

    .pricing-btn .btn-secondary {
        min-height: 50px;
        font-size: 15px;
    }

    .homepage-sofi .main-header {
        padding: 10px 0;
    }

    .sofi-hero-area {
        padding: 112px 0 48px;
    }

    .sofi-hero-title {
        font-size: 42px;
        line-height: 1.02;
    }

    .sofi-hero-text {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .sofi-hero-cta {
        width: 100%;
        justify-content: space-between;
    }

    .sofi-hero-price strong {
        font-size: 30px;
    }

    .sofi-hero-brands {
        gap: 20px;
    }

    .sofi-hero-brands span {
        font-size: 21px;
    }

    .sofi-hero-visual {
        min-height: 485px;
    }

    .sofi-stat-main {
        left: 0;
        top: 44px;
        width: calc(100% - 92px);
        padding: 28px 22px 24px;
    }

    .sofi-stat-main h2 {
        margin: 20px 0 38px;
        font-size: 22px;
    }

    .sofi-stat-play {
        right: 18px;
        top: 18px;
    }

    .sofi-stat-rating {
        left: 0;
        width: calc(100% - 110px);
        bottom: 12px;
    }

    .sofi-photo-stack {
        max-width: 220px;
        height: 360px;
    }

    .sofi-photo-top,
    .sofi-photo-bottom {
        width: 186px;
    }

    .sofi-photo-top {
        height: 160px;
    }

    .sofi-photo-bottom {
        height: 198px;
    }

    .homepage-sofi .header-login-link,
    .homepage-sofi .header-signup-btn {
        display: none !important;
    }

    .homepage-sofi .main-header .logo a img {
        max-width: 114px;
    }

    .rivian-hero-slide,
    .rivian-hero-content {
        min-height: 680px;
    }

    .rivian-hero-content {
        max-width: 100%;
        padding: 132px 0 116px;
    }

    .rivian-hero-text {
        max-width: 320px;
        font-size: 16px;
    }

    .rivian-hero-btn {
        min-width: 116px;
        min-height: 44px;
        padding: 11px 18px;
    }

    .rivian-hero-navigation {
        left: 20px;
        bottom: 24px;
    }

    .rivian-hero-pagination {
        left: 20px !important;
        bottom: 100px !important;
    }

    .rivian-hero-pagination .swiper-pagination-bullet {
        width: 34px;
    }

    .home-faq-area {
        padding: 40px 0;
    }

    .home-faq-title {
        font-size: 42px;
    }

    .home-faq-request {
        padding: 30px 22px 24px;
    }

    .home-faq-accordion .accordion .accordion-item .accordion-button {
        min-height: 86px;
        padding: 22px 72px 22px 20px;
        font-size: 17px;
    }

    .home-faq-arrow {
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
        width: 38px;
        height: 38px;
    }

    .home-faq-arrow iconify-icon {
        font-size: 17px;
    }

    .home-faq-accordion .accordion .accordion-item .accordion-body {
        padding: 0 20px 22px;
    }

    .feature-four-top-content .section-title-four {
        font-size: 28px;
        line-height: 1.08;
    }

    .main-menu ul>li.mobileonly {
        display: block;
    }

    .mean-container .mean-nav {
        margin-bottom: 0px;
    }

    .offcanvas-icon button:hover i {
        color: #fff;
    }

    .share-link ul li a:hover {
        color: #fff;
    }

    .loan-about-showcase {
        padding: 40px 0px;
    }

    .loan-about-stat-group,
    .loan-about-card {
        padding: 24px;
    }

    .vehicle-report-intro {
        max-width: 100%;
    }

    .loan-about-stat-title {
        font-size: 20px;
    }

    .vehicle-report-social {
        width: 100%;
    }

    section.home-four-feature-area.section-space {
        padding: 40px 0px;
    }

    .expertise-area {
        padding: 40px 0px;
    }

    .feature-gallery-content p {
        max-width: 80%;
        margin: auto;
        font-size: 20px;
    }

    .feature-gallery-content h2 {
        font-size: 35px;
        padding-bottom: 10px;
    }

    .feature-gallery-content-wrapper {
        height: 280px;
    }

    .feature-bar-single-inner p {
        font-size: 11px;
    }

    .feature-bar-single-inner:nth-child(4) {
        height: 250px;
    }

    .feature-bar-single-inner:nth-child(3) {
        height: 224px;
    }

    .pricing-area .section-title-two {
        font-size: 28px;
    }

    .featured-wrap {
        max-width: 100%;
        margin: auto;
    }

    section.pricing-area.section-space {
        padding: 40px 0px;
    }

    .feature-gallery-content-wrapper.feature-bar-wrapper {
        height: 360px;
    }

    .agency-single-img.agency-single-img-two {
        display: none;
    }

    .agency-single-img img {
        width: 100%;
    }

    .agency-single-img {
        width: 100%;
    }

    section.agency-area.section-space {
        padding: 40px 0px;
    }

    .agency-content-wrapper {
        padding-left: 0;
    }

    .agency-right-content {
        padding-left: 0;
    }

    .experience-wrapper {
        width: 50%;
    }

    .experience-wrapper h2 {
        font-size: 42px;
    }

    .experience-wrapper p {
        font-size: 16px;
        line-height: 23px;
        padding-top: 12px;
    }

    footer.footer-three-area.section-space-top {
        padding: 40px 0px 90px 0px;
    }

    .footer-contact-title .theme-btn .icon-box {
        color: #fff;
    }

    .footer-img img {
        width: 100%;
        height: 100%;
    }

    .footer-btn a {
        padding: 8px 20px;
        margin-top: 12px;
    }

    .footer-three-bottom {
        padding-top: 40px;
    }

    .footer-logo-content {
        text-align: left;
    }

    .footer-logo-content .footer-logo {
        margin-bottom: 20px;
    }

    .footer-logo-content ul {
        justify-content: left;
    }

    .footer-contact-card {
        padding: 6px 0px;
        border-radius: 16px;
    }

    .footer-contact-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .footer-contact-copy strong {
        font-size: 13px;
    }

    .footer-three-copy-row {
        padding-top: 18px;
        padding-bottom: 0;
    }

    .footer-three-copy-mail a {
        font-size: 14px;
    }

    .footer-mail.footer-three-copy-mail {
        width: 100%;
    }

    .feature-gallery-single .funding-wrapper {
        padding: 10px;
    }

    .funding-wrapper p {
        font-size: 15px;
    }

    .funding-wrapper h2 {
        font-size: 24px;
    }

    .loan-about-story {
        padding: 0px 0px 20px 0px;
    }

    .contact-ui-section {
        padding: 0 0 50px;
    }

    .contact-ui-shell {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-ui-form-card {
        padding: 22px 18px 20px;
    }

    .contact-ui-card-title {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .contact-ui-form-grid,
    .contact-ui-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-ui-info-grid {
        gap: 18px;
        margin-bottom: 28px;
    }

    .contact-ui-social {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        position: relative;
        padding-top: 40px;
    }

    .privacy-policy-hero {
        padding: 100px 0 50px;
    }

    .privacy-policy-block p,
    .privacy-policy-block ul li {
        font-size: 14px;
        line-height: 1.75;
    }

    .privacy-policy-block ul li {
        align-items: flex-start;
    }

    .privacy-policy-block ul li iconify-icon {
        position: relative;
        top: 4px;
    }

    .privacy-policy-block ul {
        padding-left: 0;
    }

    .privacy-policy-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .privacy-policy-block {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .privacy-policy-block h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .privacy-policy-card {
        padding: 0 !important;
    }

    .privacy-policy-hero {
        padding: 100px 0 20px !important;
    }

    .about-page-hero {
        padding: 40px 0 40px;
    }

    .about-page-hero-shell {
        padding: 0px;
        gap: 24px;
    }

    .about-page-hero-bh-main {
        flex-wrap: wrap;
    }

    .about-page-hero-stat-card {
        width: 100%;
    }

    .about-page-hero-media {
        min-height: auto;
        max-width: 100%;
    }

    .about-page-hero-main-photo {
        width: 100%;
        height: 310px;
        border-radius: 16px !important;
        position: relative;
    }

    .about-page-hero-consultation-card {
        display: none;
    }

    .about-page-hero-badge {
        top: 28px;
        left: 214px;
        width: 58px;
        height: 58px;
    }

    .about-page-hero-title {
        font-size: 32px;
        line-height: 1.02;
    }

    .about-page-hero-text,
    .about-page-hero-list li {
        font-size: 13px;
    }

    .about-page-hero-actions {
        flex-wrap: wrap;
    }

    .about-card-section {
        padding: 0 0 40px;
    }

    .about-card-section-shell {
        padding: 40px 0px 10px 0px;
    }

    .about-card-section-title {
        font-size: 34px;
        line-height: 1.08;
    }

    .about-card-section-summary p {
        font-size: 14px;
        margin-bottom: 0;
    }

    .about-card-section-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card-item:nth-child(3) {
        grid-column: auto;
    }

    .about-card-item {
        min-height: 248px;
        padding: 16px 16px 18px;
        border-radius: 16px;
    }

    .about-card-item-title {
        font-size: 21px;
    }

    .about-card-item-footer {
        gap: 14px;
        padding-top: 26px;
    }

    .about-card-item-footer p {
        max-width: 100%;
        font-size: 13px;
    }

    .about-card-item-action {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .about-mvv-section {
        padding: 0 0 40px;
    }

    .about-mvv-shell {
        padding: 40px 0px 10px 0px;
        border-radius: 20px;
        gap: 24px;
    }

    .about-mvv-image {
        margin: 0;
        height: 320px;
    }

    .about-mvv-title {
        font-size: 34px;
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .about-mvv-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .contact-ui-details {
        padding: 30px 0px 0px 0px !important;
    }

    .about-mvv-item-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        font-size: 18px;
    }

    .about-mvv-item-content h3 {
        font-size: 18px;
    }

    .about-mvv-image {
        min-height: 320px;
        border-radius: 16px;
    }

    .about-mvv-overlay-card {
        right: 14px;
        bottom: 14px;
        padding: 12px 12px 12px 14px;
        border-radius: 14px;
    }

    .about-mvv-overlay-card strong {
        font-size: 14px;
    }

    .about-mvv-overlay-action {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .auth-page {
        padding: 16px;
    }

    .auth-card {
        min-height: auto;
    }

    .auth-left-panel {
        padding: 28px;
    }

    .auth-brand {
        margin-bottom: 20px;
    }

    .auth-brand-mark {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .auth-brand-text {
        font-size: 23px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-forms {
        max-width: 100%;
    }

    .auth-form-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-right-panel {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .vehicle-report-top {
        flex-direction: column;
    }

    .vehicle-report-social {
        max-width: 100%;
        padding-top: 0;
    }

    .vehicle-report-card {
        left: 7%;
        top: 19%;
    }

    /* .loan-about-showcase {
        padding: 12px 0 0;
    } */

    .loan-about-stats,
    .loan-about-story-head,
    .loan-about-story-grid {
        grid-template-columns: 1fr;
    }

    .loan-about-stat-group+.loan-about-stat-group {
        border-left: 0;
        border-top: 1px solid #eadfd6;
    }

    .loan-about-story-note {
        margin: 0;
        max-width: 100%;
    }

    .loan-about-visual {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .vehicle-report-section {
        padding: 40px 0px;
    }

    .vehicle-report-shell {
        padding: 0 12px;
    }

    .vehicle-report-stage {
        padding: 0 0 12px;
    }

    .vehicle-report-card {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 0 14px 0px;
        width: 100%;
        transform: none;
    }

    .vehicle-report-pin {
        display: none;
    }

    .vehicle-report-title {
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    /* .loan-about-frame {
        padding: 0 12px;
    } */

    .loan-about-stat-list {
        gap: 16px;
    }

    .loan-about-story-title {
        font-size: 28px;
    }

    .loan-about-visual {
        min-height: 280px;
    }

    .loan-about-mini-media {
        height: 220px;
    }
}

/* ==========================================
   VEHICLE FINANCING & USER DASHBOARD STYLES
   ========================================== */

/* Apply Loan / Form Wizard Styles */
.loan-wizard-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 60px;
        border: 1px solid #dddddd99;
}

.loan-wizard-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto 50px auto;
}

.loan-wizard-progress .progress-line {
    position: absolute;
    top: 24px;
    left: 0;
    height: 4px;
    background: #ff7700;
    width: 0%;
    z-index: 1;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.loan-wizard-progress::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 4px;
    background: #f1f1f1;
    z-index: 0;
        max-width: 95%;
    margin: auto;
}

.step-indicator {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.step-indicator .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f8f8;
    border: 3px solid #e8e8e8;
    color: #999;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-indicator .step-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    transition: all 0.3s ease;
}

.step-indicator.active .step-num {
    background: #ff7700;
    border-color: #ff7700;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(255, 119, 0, 0.15);
}

.step-indicator.active .step-label {
    color: #111;
}

.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fadeInStep 0.4s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Custom Styling */
.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 35px;
}

.form-label {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    display: block;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap .input-icon {
    position: absolute;
    left: 18px;
    font-size: 20px;
    color: #999;
}

input.form-control-custom,
select.form-control-custom {
    width: 100% !important;
    height: 54px !important;
    padding: 14px 20px 14px 48px !important;
    border: 1.5px solid #cccccc !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #222 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

select.form-control-custom {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
}

input.form-control-custom:focus,
select.form-control-custom:focus {
    border-color: #ff7700 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 119, 0, 0.1) !important;
}

input.form-control-custom.is-invalid,
select.form-control-custom.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fffdfd !important;
}

.error-msg {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Range Slider */
.amount-badge {
    background: rgba(255, 119, 0, 0.1);
    color: #ff7700;
    font-weight: 700;
    font-size: 18px;
    padding: 4px 14px;
    border-radius: 8px;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e8e8e8;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff7700;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(255, 119, 0, 0.4);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Term Select Cards */
.term-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.term-option-card {
    cursor: pointer;
    margin: 0;
}

.term-option-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.term-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    text-align: center;
    transition: all 0.3s ease;
}

.term-option-card input:checked + .term-option-inner {
    border-color: #ff7700;
    background: rgba(255, 119, 0, 0.04);
    box-shadow: 0 4px 15px rgba(255, 119, 0, 0.08);
}

.term-months {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    display: block;
    margin-bottom: 4px;
}

.term-option-card input:checked + .term-option-inner .term-months {
    color: #ff7700;
}

.term-rate {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

/* Upload zones */
.document-upload-zone {
    border: 2px dashed #d8d8d8;
    border-radius: 16px;
    padding: 30px;
    background: #fafafa;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.document-upload-zone:hover {
    border-color: #ff7700;
    background: #fffdfb;
}

.document-upload-zone.is-invalid {
    border-color: #dc3545;
    background: #fffdfd;
}

.upload-icon {
    font-size: 42px;
    color: #ff7700;
    margin-bottom: 15px;
}

.document-upload-zone h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.document-upload-zone p {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.file-name-display {
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.btn-outline-custom {
    background: transparent !important;
    border: 1.5px solid #ccc !important;
    color: #444 !important;
}

.btn-outline-custom:hover {
    background: #f4f4f4 !important;
    color: #111 !important;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* Verification state */
.verification-loading-state {
    padding: 40px 0;
}

.verification-loading-state .spinner-border {
    width: 64px;
    height: 64px;
    color: #ff7700 !important;
    border-width: 4px;
}

.verification-checks-list {
    max-width: 420px;
    margin: 35px auto 0 auto;
    background: #fafafa;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e8e8e8;
}

.verification-check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.verification-check-item:last-child {
    margin-bottom: 0;
}

.verification-check-item .check-loader {
    font-size: 20px;
    color: #999;
}

.verification-check-item .check-loader.spin {
    color: #ff7700;
    animation: rotateLoader 1.5s linear infinite;
}

@keyframes rotateLoader {
    to { transform: rotate(360deg); }
}

.verification-check-item.checked {
    color: #111;
}

.verification-check-item.checked .check-loader {
    color: #28a745;
}

/* Result Feedback */
.result-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-success-light { background: rgba(40, 167, 69, 0.1); }
.bg-warning-light { background: rgba(255, 193, 7, 0.1); }
.bg-orange-light { background: rgba(255, 119, 0, 0.08); }
.bg-blue-light { background: rgba(0, 123, 255, 0.08); }
.bg-green-light { background: rgba(40, 167, 69, 0.08); }
.bg-purple-light { background: rgba(111, 66, 193, 0.08); }

.text-orange { color: #ff7700 !important; }
.text-blue { color: #007bff !important; }
.text-green { color: #28a745 !important; }
.text-purple { color: #6f42c1 !important; }

.result-main-icon {
    font-size: 48px;
}

.result-status-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
}

.result-status-desc {
    max-width: 500px;
    margin: 0 auto;
    font-size: 15px;
}

.loan-summary-box {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 24px;
}

.loan-summary-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 10px;
}

.loan-summary-box strong {
    font-size: 15px;
    color: #111;
}

.alert-custom-info {
    background: rgba(0, 123, 255, 0.04);
    border: 1px solid rgba(0, 123, 255, 0.15);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 15px;
    color: #004085;
    text-align: left;
}

.alert-custom-info .alert-icon {
    font-size: 24px;
    color: #007bff;
    flex-shrink: 0;
}

.alert-custom-info strong {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
    color: #002752;
}

.alert-custom-info p {
    font-size: 13.5px;
    color: #004085;
}

/* Loan Summary Side Panel */
.loan-summary-panel {
    background: #0f160d;
    border-radius: 24px;
    padding: 30px;
    color: #fff;
    position: sticky;
    top: 100px;
    z-index: 10;
}

.loan-summary-panel .panel-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 20px;
}

.loan-summary-panel .panel-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-car-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #ff7700;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.border-line {
    height: 1px;
    background: #e8e8e8;
    width: 100%;
}

.loan-summary-panel .border-line {
    background: rgba(255, 255, 255, 0.1);
}

.panel-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.panel-stat strong {
    color: #fff;
}

.panel-emi-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
}

.panel-emi-stat span {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.panel-emi-stat strong {
    font-size: 22px;
    color: #ff7700;
    font-weight: 700;
}

.branch-info-panel {
    background: rgba(255, 119, 0, 0.08);
    border: 1px solid rgba(255, 119, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.branch-info-panel .pin-icon {
    font-size: 28px;
    color: #ff7700;
    margin-bottom: 10px;
}

.branch-info-panel h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.branch-info-panel p {
    font-size: 13px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}


/* ==========================================
   USER PROFILE & DASHBOARD PAGE STYLES
   ========================================== */

.profile-avatar-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ff7700;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 119, 0, 0.25);
}

.welcome-label {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    display: block;
}

.user-display-name {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.user-display-meta {
    font-size: 13.5px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.credit-score-badge {
    display: inline-flex;
    align-items: center;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 12px 20px;
    text-align: left;
}

.score-radial {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #28a745;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.score-val {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.score-label {
    font-size: 8px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    margin-top: 2px;
}

.score-copy strong {
    font-size: 14px;
    color: #28a745;
    display: block;
}

.score-copy small {
    font-size: 11px;
    color: #888;
}

/* Stat Card Widgets */
.profile-stat-card-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-stat-card-widget .widget-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.profile-stat-card-widget .widget-copy strong {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

/* Content Panel & Tabs */
.profile-content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e8e8;
    margin-bottom: 60px;
}

.card-head-tabbed .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.status-tab-list {
    display: flex;
    background: #f4f4f4;
    padding: 6px;
    border-radius: 12px;
    gap: 4px;
}

.status-tab-btn {
    border: 0;
    background: transparent;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.status-tab-btn:hover {
    color: #111;
}

.status-tab-btn.active {
    background: #ffffff;
    color: #ff7700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Booking Cards */
.booking-list-item-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.booking-list-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 119, 0, 0.3);
}

.booking-list-item-card:last-child {
    margin-bottom: 0;
}

.booking-car-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 119, 0, 0.1);
    color: #ff7700;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-id-tag {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    display: block;
}

.booking-vehicle-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.booking-progress-bar {
    width: 100%;
    height: 6px;
    background: #f1f1f1;
    border-radius: 99px;
    overflow: hidden;
}

.booking-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #ff7700;
    transition: width 0.4s ease;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
}

.badge-pending {
    background: rgba(255, 193, 7, 0.12);
    color: #d39e00;
}

.badge-approved {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.badge-active {
    background: rgba(0, 123, 255, 0.12);
    color: #007bff;
}

.badge-paidoff {
    background: rgba(108, 117, 125, 0.12);
    color: #6c757d;
}

.badge-rejected {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

/* Empty states */
.empty-state {
    padding: 60px 0;
}

.empty-state-icon {
    font-size: 56px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: #777;
    max-width: 380px;
    margin: 0 auto;
}

/* Modal Schedule */
.custom-modal-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 15px;
    border: 0;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.modal-loan-summary {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 20px;
}

.modal-loan-summary strong {
    font-size: 15px;
    color: #111;
}

.table-custom-schedule {
    margin-top: 15px;
}

.table-custom-schedule th {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
    border-bottom: 2px solid #e8e8e8;
    padding: 12px 10px;
}

.table-custom-schedule td {
    padding: 14px 10px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.table-custom-schedule tr:last-child td {
    border-bottom: 0;
}

/* Payment Sim Modal */
.payment-sim-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.payment-sim-icon-box iconify-icon {
    display: inline-block;
}

.btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

/* Custom Alert & general buttons styling */
.alert-custom-info {
    background: rgba(0, 123, 255, 0.04) !important;
    border: 1px solid rgba(0, 123, 255, 0.15) !important;
    color: #004085 !important;
}

.btn-outline-custom {
    background: transparent !important;
    border: 1px solid #ccc !important;
    color: #444 !important;
}

.btn-outline-custom:hover {
    background: #f4f4f4 !important;
    color: #111 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .loan-summary-panel {
        margin-top: 30px;
        position: static;
    }
}

@media (max-width: 768px) {
    .term-selector-grid {
        grid-template-columns: 1fr;
    }

    .status-tab-list {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .loan-wizard-container {
        padding: 20px;
    }

    .loan-wizard-progress {
        margin-bottom: 35px;
    }

    .step-indicator .step-label {
        display: none;
    }
}

/* Select2 Custom Theme & validation styling */
.select2-container .select2-selection--single {
    height: 54px !important;
    border: 1.5px solid #cccccc !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 42px !important; /* leaves space for absolute icon */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding-left: 0px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 18px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888 transparent !important;
    border-width: 0 5px 6px 5px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #ff7700 !important;
    box-shadow: 0 0 0 4px rgba(255, 119, 0, 0.1) !important;
}

.select2-dropdown {
    border: 1.5px solid #ff7700 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    background: #fff !important;
    z-index: 1060 !important;
}

.select2-results__option {
    padding: 12px 18px !important;
    font-size: 14px !important;
    color: #333 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ff7700 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(255, 119, 0, 0.08) !important;
    color: #ff7700 !important;
    font-weight: 600 !important;
}

select.select2-enable.is-invalid + .select2-container .select2-selection--single {
    border-color: #dc3545 !important;
    background-color: #fffdfd !important;
}

/* Hide background vertical layout grid lines */
.line-pattern-group,
.line-pattern-two {
    display: none !important;
}
strong#summary-vehicle-name {
    color: #fff;
}

small.text-muted.d-block {
    color: #ffffffba !important;
}

.loan-summary-panel .border-line {
    border-bottom: 1px solid #e5e5e52b;
}
.wizard-step-content .form-group label.form-label {
    margin-bottom: 12px;
}

/* Wizard Flex Layout for Anchoring Step Actions to Card Bottom */
.loan-wizard-card {
    min-height: 580px;
    display: flex;
    flex-direction: column;
}

.loan-wizard-card form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wizard-step-content.active {
    display: flex !important;
    flex-direction: column;
    flex: 1;
}

.wizard-step-actions {
    margin-top: auto;
    padding-top: 30px;
}

/* Custom Gray Button Overrides */
.btn-gray-custom {
    background-color: #f1f1f1 !important;
    border-color: #e0e0e0 !important;
    color: #555555 !important;
}

.btn-gray-custom:hover {
    background-color: #e5e5e5 !important;
    border-color: #d0d0d0 !important;
    color: #222222 !important;
}

/* Guarantor info box in modal styling */
.modal-guarantor-summary {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
}

.modal-guarantor-summary h6 {
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .portal-tab-btn span {
        display: none;
    }
    .portal-tab-btn {
        padding: 12px 10px;
    }
    .doc-replacer-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .doc-replacer-card .card-action {
        width: 100%;
    }
    .doc-replacer-card .card-action button {
        width: 100%;
    }
}

/* ==========================================================================
   MASTER-DETAIL SIDEBAR APPLICATION LISTING
   ========================================================================== */
.portal-sidebar-panel {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}

.portal-sidebar-panel .btn-new-app-link {
    font-size: 13px;
    font-weight: 700;
    color: #ff7700;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.portal-sidebar-panel .btn-new-app-link:hover {
    color: #cc5f00;
    transform: translateY(-1px);
}

.sidebar-search-wrap {
    position: relative;
    width: 100%;
}

.sidebar-search-wrap .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #adb5bd;
}

.sidebar-search-wrap input {
    width: 100%;
    height: 44px;
    background-color: #f8f9fa;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 10px 15px 10px 42px;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.sidebar-search-wrap input:focus {
    background-color: #ffffff;
    border-color: #ff7700;
    box-shadow: 0 0 0 4px rgba(255, 119, 0, 0.08);
}

.portal-loan-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for applications list */
.portal-loan-list::-webkit-scrollbar {
    width: 5px;
}
.portal-loan-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}
.portal-loan-list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 10px;
}

.loan-list-item-card {
    background: #ffffff;
    border: 1.5px solid #f1f3f5;
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.loan-list-item-card:hover {
    background-color: #fafafa;
    border-color: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
}

/* .loan-list-item-card.active {
    background-color: #fffaf6 !important;
    border-color: #ffe0cc !important;
    border-left: 4px solid #ff7700 !important;
    box-shadow: 0 4px 20px rgba(255, 119, 0, 0.04) !important;
} */

.loan-list-item-card .card-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.loan-list-item-card .app-id {
    font-size: 10px;
    font-weight: 700;
    color: #ff7700;
    background-color: rgba(255, 119, 0, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-bottom: 6px;
}

.loan-list-item-card h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.loan-list-item-card .app-date {
    font-size: 11px;
    color: #868e96;
    display: block;
}

.loan-list-item-card .status-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.loan-list-item-card .status-indicator-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
}

.loan-list-item-card .price-val {
    font-size: 15px;
    font-weight: 800;
    color: #111111;
}

/* Empty detail state panel */
.empty-detail-state {
    background-color: #ffffff;
    border: 1px dashed #dee2e6;
    border-radius: 20px;
    padding: 80px 40px;
}

.empty-detail-state .empty-state-icon {
    font-size: 64px;
    color: #adb5bd;
    margin-bottom: 20px;
}

.empty-detail-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 8px;
}

.empty-detail-state p {
    font-size: 14px;
    color: #6c757d;
    max-width: 420px;
    margin: 0 auto;
}

/* Sub forms styling inside work blocks */
.disabled-form select.form-control-portal {
    background-color: #f8f9fa !important;
    border-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ==========================================================================
   CUSTOMER PORTAL PORTLET AND NEW DASHBOARD CARDS
   ========================================================================== */
.portal-dashboard-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.portal-dashboard-card .card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.portal-dashboard-card .card-heading .card-icon {
    font-size: 20px;
}

.portal-dashboard-card .card-body-content {
    display: flex;
    flex-direction: column;
}

.portal-dashboard-card .card-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #121212;
    margin: 0;
    line-height: 1.3;
}

.portal-dashboard-card .card-sub-detail {
    border-top: 1px solid #f1f3f5;
    padding-top: 10px;
    font-size: 13px;
}

.portal-dashboard-card .card-sub-detail .detail-label {
    display: block;
    color: #868e96;
    margin-bottom: 2px;
}

.portal-dashboard-card .card-sub-detail .detail-val {
    font-size: 14px;
    font-weight: 700;
    color: #343a40;
}

/* Status Badges */
.status-indicator-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    line-height: 1;
}

.status-indicator-badge.badge-secondary {
    background-color: #f1f3f5;
    color: #495057;
}

.status-indicator-badge.badge-info {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.status-indicator-badge.badge-warning {
    background-color: rgba(255, 119, 0, 0.1);
    color: #ff7700;
}

.status-indicator-badge.badge-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-indicator-badge.badge-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Mini progress tracker timeline */
.mini-tracker-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 8px;
}

.mini-tracker-timeline::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10px;
    right: 10px;
    height: 3px;
    background-color: #f1f3f5;
    z-index: 1;
}

.mini-tracker-timeline .tracker-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.mini-tracker-timeline .tracker-step .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #dee2e6;
    transition: all 0.3s ease;
}

.mini-tracker-timeline .tracker-step .step-lbl {
    font-size: 9px;
    font-weight: 600;
    color: #868e96;
    margin-top: 5px;
    text-transform: uppercase;
}

.mini-tracker-timeline .tracker-step.checked .dot {
    background-color: #ff7700;
    box-shadow: 0 0 0 1px #ff7700;
}

.mini-tracker-timeline .tracker-step.checked .step-lbl {
    color: #ff7700;
}

.mini-tracker-timeline .tracker-step.active .dot {
    background-color: #ff7700;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.2);
}

.mini-tracker-timeline .tracker-step.active .step-lbl {
    color: #ff7700;
    font-weight: 700;
}

/* Required Documents Checklist Card */
.doc-checklist-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-checklist-ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.doc-checklist-ul li .check-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.doc-checklist-ul li .check-icon.success-color {
    color: #198754;
}

.doc-checklist-ul li .check-icon.danger-color {
    color: #dc3545;
}

/* Tab Navigation Menu */
.profile-tabs-nav-menu {
    display: flex;
    background: #ffffff;
    border: 1px solid #eef2f5;
    padding: 6px;
    border-radius: 14px;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.portal-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #495057;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.portal-tab-btn:hover {
    background-color: #f8f9fa;
    color: #ff7700;
}

.portal-tab-btn.active {
    background-color: #ff7700;
    color: #ffffff;
}

/* Tabbed Content Card */
.portal-content-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.portal-tab-content {
    display: none;
}

.portal-tab-content.active {
    display: block;
}

.section-block-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

/* Form inputs & Disabled States */
.form-label-portal {
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block;
}

.form-control-portal {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-control-portal:focus {
    outline: none;
    border-color: #ff7700;
    box-shadow: 0 0 0 4px rgba(255, 119, 0, 0.1);
}

.disabled-form .form-control-portal {
    background-color: #f8f9fa !important;
    border-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.btn-edit-trigger {
    background: none;
    border: 1.5px solid #ff7700;
    color: #ff7700;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-edit-trigger:hover {
    background-color: #ff7700;
    color: #ffffff;
}

.portal-divider {
    border-bottom: 1px dashed #e9ecef;
}

/* Portal generic buttons */
.btn-portal {
    border: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-portal.btn-cancel {
    background-color: #f1f3f5;
    color: #495057;
}

.btn-portal.btn-cancel:hover {
    background-color: #e2e6ea;
}

.btn-portal.btn-save-orange {
    background-color: #ff7700;
    color: #ffffff;
}

.btn-portal.btn-save-orange:hover {
    background-color: #e06900;
}

/* Document replacer elements */
.document-replacement-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doc-replacer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f1f3f5;
    padding: 20px;
    border-radius: 14px;
    background: #fafafa;
    gap: 20px;
    flex-wrap: wrap;
}

.doc-replacer-card .card-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.doc-replacer-card .icon-indicator {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.doc-replacer-card .icon-indicator.success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.doc-replacer-card .icon-indicator.alert-yellow {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.doc-replacer-card .copy h4 {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 3px 0;
}

.doc-replacer-card .copy .doc-type-label {
    font-size: 11px;
    font-weight: 600;
    color: #868e96;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 5px 0;
}

.doc-replacer-card .copy .file-name {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: block;
}

.btn-portal.btn-replace {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 18px;
    font-size: 13px;
}

.btn-portal.btn-replace:hover {
    background: #f8f9fa;
    border-color: #ced4da;
    color: #ff7700;
}

.btn-portal.btn-replace-orange {
    background: #ff7700;
    color: #ffffff;
    padding: 8px 18px;
    font-size: 13px;
}

.btn-portal.btn-replace-orange:hover {
    background: #e06900;
}

.text-warning-custom {
    color: #e0a800 !important;
}

.text-success-custom {
    color: #198754 !important;
}

/* Chat Log Interface UI */
.chat-portal-layout {
    display: flex;
    flex-direction: column;
    height: 520px;
    border: 1px solid #f1f3f5;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.chat-portal-header {
    background: #fafafa;
    border-bottom: 1px solid #f1f3f5;
    padding: 16px 20px;
}

.admin-profile-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 38px;
    height: 38px;
    background-color: #ff7700;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.admin-profile-meta h4 {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 2px 0;
}

.admin-status-sub {
    font-size: 11px;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot-active {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #198754;
    display: inline-block;
}

.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chat-bubble-wrap {
    display: flex;
    gap: 10px;
    max-width: 75%;
}

.chat-bubble-wrap.admin-message {
    align-self: flex-start;
}

.chat-bubble-wrap.customer-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-bubble-wrap .sender-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ff7700;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bubble-content-block {
    display: flex;
    flex-direction: column;
}

.bubble-text {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 500;
}

.admin-message .bubble-text {
    background-color: #ffffff;
    color: #212529;
    border-top-left-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f3f5;
}

.customer-message .bubble-text {
    background-color: #ff7700;
    color: #ffffff;
    border-top-right-radius: 0;
    box-shadow: 0 2px 8px rgba(255, 119, 0, 0.15);
}

.bubble-time {
    font-size: 10px;
    color: #868e96;
    margin-top: 4px;
}

.admin-message .bubble-time {
    align-self: flex-start;
}

.customer-message .bubble-time {
    align-self: flex-end;
}

.chat-composer-block {
    border-top: 1px solid #f1f3f5;
    padding: 15px 20px;
    background: #ffffff;
}

@media (max-width: 768px) {
    .portal-tab-btn span {
        display: none;
    }
    .portal-tab-btn {
        padding: 12px 10px;
    }
    .doc-replacer-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .doc-replacer-card .card-action {
        width: 100%;
    }
    .doc-replacer-card .card-action button {
        width: 100%;
    }
}

/* ==========================================================================
   DNB INSPIRED SPLIT STEP FORM STYLING
   ========================================================================== */
.dnb-wizard-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeef2;
    min-height: 650px;
}

/* Left Sidebar - Teal background tint */
.dnb-sidebar {
    background-color: #f2f7f6; /* Soft teal tint */
    border-right: 1px solid #e3eae8;
}

@media (min-width: 992px) {
    .dnb-sidebar {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    .dnb-form-container {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}

.dnb-sidebar-inner {
    padding: 45px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
@media (min-width: 992px) {
    .dnb-sidebar-inner {
        position: sticky !important;
        top: 0px !important;
        height: auto !important;
    }
}

.dnb-logo {
    font-size: 20px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dnb-logo .logo-bold {
    font-weight: 800;
    color: #ff7700;
}

.dnb-logo .logo-light {
    font-weight: 400;
    color: #475569;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

/* Stepper Vertical Progress */
.vertical-stepper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.stepper-line {
    position: absolute;
    left: 15px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background-color: #cbd5e1;
    z-index: 1;
    transition: height 0.3s ease;
}

.stepper-step {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 60px;
    cursor: default;
}

.stepper-step:last-child {
    padding-bottom: 0;
}

.step-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
}

/* Stepper States */
.stepper-step.active .step-icon-circle {
    border-color: #f70;
    background-color: #f70;
    color: #ffffff;
    box-shadow:0 0 0 4px rgb(244 130 35 / 14%);
}

.stepper-step.active .step-text {
    color: #0f172a;
    font-weight: 700;
}

.stepper-step.checked .step-icon-circle {
    border-color: #ff7700;
    background-color: #ff7700;
    color: #ffffff;
}

.stepper-step.checked .step-text {
    color: #ff7700;
    font-weight: 600;
}

.checked-icon {
    font-size: 16px;
    color: #ffffff;
}

/* Right Panel Form Container */
.dnb-form-container {
    padding: 45px 45px 0 45px !important;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.step-headline {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.step-tagline {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}

.form-section-label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
    margin-top: 25px;
    margin-bottom: 20px;
}

/* Custom DNB Inputs */
.form-group-dnb {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.form-group-dnb .floating-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.dnb-input, .dnb-select {
        width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    background-color:#f7f7f763 !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.dnb-input::placeholder {
    color: #3232329e !important;
    opacity: 1 !important;
}
.dnb-input:-ms-input-placeholder {
    color: #3232329e !important;
}
.dnb-input::-ms-input-placeholder {
    color: #3232329e !important;
}

.dnb-input:focus, .dnb-select:focus {
    border-color: #f70 !important;
    box-shadow: 0 0 0 4px rgba(11, 145, 210, 0.08) !important;
}

/* Adjust Select2 elements for DNB theme */
.dnb-form-container .select2-container .select2-selection--single {
        width: 100% !important;
    height: 48px !important;
    border:1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    background-color:#f7f7f763 !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.dnb-form-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-left: 0px !important;
    line-height: 44px !important;
}

.dnb-form-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 12px !important;
}

.dnb-form-container .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #f70 !important;
    box-shadow: 0 0 0 4px rgba(11, 145, 210, 0.08) !important;
}

.dnb-form-container select.select2-enable.is-invalid + .select2-container .select2-selection--single {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08) !important;
    background-color: #fffdfd !important;
}

.dnb-input.is-invalid, .dnb-select.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08) !important;
}

.dnb-input.input-disabled {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
    cursor: not-allowed;
}

/* DNB Upload Zone */
.dnb-upload-zone {
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    text-align: center !important;
    background-color: #f8fafc !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 120px !important;
    position: relative !important;
    overflow: hidden !important;
}

.dnb-upload-zone:hover {
    background-color: #fffaf6 !important;
    border-color: #ff7700 !important;
}

.dnb-upload-zone.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fffdfd !important;
}

.dnb-upload-zone.dragover {
    background-color: #fff8f2 !important;
    border-color: #ff7700 !important;
}

.dnb-upload-zone.has-file {
    border-style: solid !important;
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
}

.upload-zone-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
}

.upload-zone-content.d-none {
    display: none !important;
}


.upload-icon-wrapper {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 119, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 4px !important;
    transition: all 0.25s ease !important;
}

.dnb-upload-zone.has-file .upload-icon-wrapper {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.dnb-upload-zone:hover .upload-icon-wrapper {
    transform: translateY(-2px) scale(1.05) !important;
    background-color: rgba(255, 119, 0, 0.12) !important;
}

.upload-icon-dnb {
    font-size: 22px !important;
    color: #ff7700 !important;
    transition: color 0.25s ease !important;
}

.dnb-upload-zone.has-file .upload-icon-dnb {
    color: #10b981 !important;
}

.upload-text {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    transition: color 0.25s ease !important;
}

.dnb-upload-zone.has-file .upload-text {
    color: #065f46 !important;
}

.dnb-upload-zone:hover .upload-text {
    color: #ff7700 !important;
}

.dnb-upload-zone.has-file:hover .upload-text {
    color: #065f46 !important;
}

.upload-hint {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    display: block !important;
}

.dnb-upload-zone.has-file .upload-hint {
    display: none !important;
}

/* Term Selectors (Step 3 Grid) */
.dnb-term-grid {
    display: grid;
    gap: 12px;
    width: 100%;
}

.dnb-term-grid .term-option-card {
    cursor: pointer;
    margin: 0;
}

.dnb-term-grid .term-option-card input[type="radio"] {
    display: none;
}

.dnb-term-grid .term-option-inner {
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.dnb-term-grid .term-option-card input[type="radio"]:checked + .term-option-inner {
    border-color: #ff7700;
    background-color: #fffaf6;
    box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.08);
}

.dnb-term-grid .term-option-inner strong {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

/* Actions Section */
.dnb-actions-divider {
    display: none !important;
}

.dnb-step-actions {
    /* position: sticky !important;
    bottom: 0 !important; */
    background-color: #ffffff !important;
    padding: 15px 35px !important;
    margin: 0px -45px 0 -45px !important;
    z-index: 99 !important;
    border-top: 1.5px solid #f1f5f9 !important;
}

@media (min-width: 992px) {
    .dnb-step-actions {
        border-bottom-right-radius: 20px !important;
    }
}

@media (max-width: 991px) {
    .dnb-step-actions {
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
    }
}

.btn-dnb-next, .btn-dnb-submit {
    background-color: #ff7700;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    height: 48px;
    padding: 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-dnb-next:hover, .btn-dnb-submit:hover {
    background-color: #e06900;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 119, 0, 0.25);
    color: #ffffff;
}

.btn-dnb-back {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    height: 48px;
    padding: 0 30px;
    transition: all 0.3s ease;
}

.btn-dnb-back:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

div#upload-progress-banner {
    margin-bottom: 20px !important;
}

/* Summary Box inside Step 4 */
.dnb-summary-widget-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    margin-bottom: 40px;
}

.summary-header-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 9px;
    font-weight: 800;
    background-color: rgba(11, 145, 210, 0.1);
    color: #f70;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.summary-icon-inner {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 119, 0, 0.08);
    color: #ff7700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.summary-row-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.summary-row-item:last-of-type {
    border-bottom: none;
}

.summary-row-item strong {
    color: #1e293b;
}

.summary-row-item.border-highlight {
    border-bottom: 2px solid #e2e8f0;
    font-weight: 700;
}

.repayment-emi-block {
    text-align: center;
    background-color: #ffffff;
    border: 1.5px solid #ff7700;
    border-radius: 10px;
    padding: 15px;
}

.repayment-emi-block span {
    font-size: 11px;
    font-weight: 700;
    color: #ff7700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 5px;
}

.repayment-emi-block h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ff7700;
    margin: 0;
}

.dnb-sidebar-inner p {
    font-size: 13px;
    padding-bottom: 20px;
}
.summary-vehicle-name-tx small.text-muted.d-block {
    color: #000 !important;
}

.summary-vehicle-name-tx strong#summary-vehicle-name {
    color: #000;
}

/* Custom Select2 overrides are handled above under .dnb-form-container */

@media (max-width: 991px) {
    .dnb-sidebar {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-right: none;
        border-bottom: 1px solid #e3eae8;
    }
    .dnb-form-container {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .stepper-step {
        padding-bottom: 25px;
    }
}

/* Document Grid and Cards styling matching Image 1 */
.dnb-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dnb-doc-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dnb-doc-card:hover {
    border-color: #ff7700;
    background-color: #fffaf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.05);
}

.dnb-doc-card.uploaded {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.dnb-doc-card.dragover {
    border-color: #ff7700;
    background-color: #fff5eb;
    border-style: dashed;
}

.doc-card-icon {
    font-size: 26px;
    color: #ff7700;
    margin-right: 15px;
    transition: color 0.2s ease;
}

.dnb-doc-card.uploaded .doc-card-icon {
    color: #10b981;
}

.doc-card-info {
    display: flex;
    flex-direction: column;
}

.doc-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.doc-card-status {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.dnb-doc-card.uploaded .doc-card-status {
    color: #047857;
    font-weight: 600;
}

@media (max-width: 767px) {
    .dnb-doc-grid {
        grid-template-columns: 1fr;
    }
}

/* Success State Center Card & Hide Sidebar */
.dnb-wizard-card.hide-sidebar {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.dnb-wizard-card.hide-sidebar .dnb-sidebar {
    display: none !important;
}

.dnb-wizard-card.hide-sidebar .dnb-form-container {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 650px !important;
    margin: 40px auto !important;
}

/* ==========================================================================
   USER PROFILE REDESIGN: READ-ONLY DETAILS & SUMMARY CARDS
   ========================================================================== */



/* Redesigned Welcome Banner Section */


.btn-apply-new {
    background-color: #ff7700 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(255, 119, 0, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
}

.btn-apply-new:hover {
    background-color: #e06900 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(255, 119, 0, 0.25) !important;
    color: #ffffff !important;
}

/* 2. Sidebar Filter Tabs styling */
.sidebar-filter-tabs {
    display: flex;
    gap: 8px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid #eef2f5;
    flex-wrap: wrap;
}

.filter-tab {
    flex: 1;
    border: none;
    background: none;
    font-size: 12.5px;
    font-weight: 700;
    color: #5c6873;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    color: #ff7700;
    background-color: rgba(255, 119, 0, 0.04);
}

.filter-tab.active {
    background-color: #ff7700;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(255, 119, 0, 0.15);
}

/* 3. Redesigned Loan Card styling */
.loan-list-item-card .vehicle-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #f1f3f5;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.loan-list-item-card .vehicle-icon-bg.active,
.loan-list-item-card:hover .vehicle-icon-bg {
    background-color: rgba(255, 119, 0, 0.1);
    color: #ff7700;
}

.loan-list-item-card .vehicle-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.loan-list-item-card .card-body-area {
    min-width: 0; /* allows text truncation/wrapping inside flexbox */
}

.loan-list-item-card .app-id {
    font-size: 10.5px;
    font-weight: 700;
    color: #ff7700;
    background-color: rgba(255, 119, 0, 0.06);
    padding: 2px 6px;
    border-radius: 5px;
}

.loan-list-item-card .app-date {
    font-size: 11px;
    color: #94a3b8;
}

.loan-list-item-card .price-val {
    font-size: 16px;
    font-weight: 800;
    color: #ff7700;
}

.loan-list-item-card .status-indicator-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 4. Read-Only detail layout styling inside content blocks */
.portal-details-block {
    background: #ffffff;
    border: 1px solid #f1f3f5;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.portal-details-block:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    border-color: #e2e8f0;
}

.details-block-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1.5px solid #f1f3f5;
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.details-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item.col-span-2 {
    grid-column: span 2;
}

.info-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    word-break: break-word;
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .details-info-grid {
        grid-template-columns: 1fr;
    }
    .info-item.col-span-2 {
        grid-column: span 1;
    }
}

/* Minimalist & Modern Loan Card Enhancements */
.loan-list-item-card {
    padding: 24px !important;
    margin-bottom: 24px;
}

.card-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 20px;
    width: 100%;
}

@media (max-width: 991px) {
    .card-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .card-info-grid {
        grid-template-columns: 1fr;
    }
}

.info-cell {
    display: flex;
    flex-direction: column;
}

.detail-label-minimal {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.detail-value-minimal {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
}

.detail-value-minimal.accent-color {
    color: #ff7700 !important;
}

.detail-value-minimal.emi-highlight {
    color: #10b981 !important;
}

.border-top-light {
    border-top: 1px solid #f1f5f9 !important;
}

/* Card action buttons custom styling */
.loan-list-item-card .btn-card-action {
    background: #f8fafc;
    border: none;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loan-list-item-card .btn-card-action:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.loan-list-item-card .btn-card-action.btn-cancel {
    background-color: #fef2f2 !important;
    color: #ef4444 !important;
}

.loan-list-item-card .btn-card-action.btn-cancel:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

.loan-list-item-card .btn-card-action.primary.btn-accept {
    background-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}

.loan-list-item-card .btn-card-action.primary.btn-accept:hover {
    background-color: #059669 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
    color: #ffffff !important;
}

.loan-list-item-card .btn-card-action.btn-view-info {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

.loan-list-item-card .btn-card-action.btn-view-info:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Floating Glassmorphic Toast Notifications */
.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 300px;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-left: 4px solid #10b981;
    color: #065f46;
}

.toast-notification.success iconify-icon {
    color: #10b981;
}

.toast-notification.info {
    border-left: 4px solid #3b82f6;
    color: #1e3a8a;
}

.toast-notification.info iconify-icon {
    color: #3b82f6;
}

.toast-notification.danger {
    border-left: 4px solid #ef4444;
    color: #7f1d1d;
}

.toast-notification.danger iconify-icon {
    color: #ef4444;
}



/* ==========================================================================
   LOAN APPLICATION DETAILS MODAL CUSTOM STYLING
   ========================================================================== */

/* Modal overlay styling */
.loan-detail-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    animation: fadeInModal 0.25s ease forwards;
}

/* Modal window container */
.loan-detail-modal-window {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal Header styling */
.modal-header-minimal {
    padding: 24px 30px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.modal-header-minimal .modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.modal-header-minimal .modal-app-id {
    font-size: 11px;
    font-weight: 700;
    color: #ff7700;
    background-color: rgba(255, 119, 0, 0.06);
    padding: 2px 6px;
    border-radius: 5px;
    margin-top: 4px;
    display: inline-block;
}

.modal-header-minimal .btn-modal-close {
    background: none;
    border: none;
    padding: 0;
    color: #94a3b8;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-header-minimal .btn-modal-close:hover {
    color: #ef4444;
}

/* Modal Tabs styling */
.modal-tabs-minimal {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.modal-tabs-minimal::-webkit-scrollbar {
    display: none;
}

.modal-tab-btn {
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.modal-tab-btn:hover {
    color: #ff7700;
}

.modal-tab-btn.active {
    color: #ff7700;
}

.modal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #ff7700;
    border-radius: 3px 3px 0 0;
}

.modal-tab-btn iconify-icon {
    font-size: 16px;
}

/* Modal Content and grid layout */
.modal-content-minimal {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
    background: #ffffff;
}

.modal-tab-pane {
    display: none;
}

.modal-tab-pane.active {
    display: block;
    animation: fadeInModal 0.2s ease forwards;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.details-section-heading {
    grid-column: span 2;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section-heading iconify-icon {
    color: #ff7700;
    font-size: 18px;
}

.detail-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-field.col-span-2 {
    grid-column: span 2;
}

.detail-field .field-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-field .field-val {
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    word-break: break-word;
}

.detail-field .field-val.highlight-green {
    color: #10b981 !important;
    font-weight: 700;
}

.detail-field .field-val.highlight-orange {
    color: #ff7700 !important;
    font-weight: 700;
}

/* File items layout */
.file-item-minimal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: #475569;
    font-weight: 500;
}

.file-item-minimal iconify-icon {
    color: #ff7700;
    font-size: 18px;
}

/* Document Upload Rows in Modal */
.modal-doc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.modal-doc-row:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.doc-meta-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.doc-meta-info .doc-icon {
    color: #ff7700;
    font-size: 24px;
    flex-shrink: 0;
}

.doc-meta-info .doc-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.doc-meta-info .doc-filename {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
}

.btn-replace-doc {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-replace-doc:hover {
    background: #ff7700;
    border-color: #ff7700;
    color: #ffffff;
}

/* Modal Footer styling */
.modal-footer-minimal {
    padding: 18px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    background: #ffffff;
}

.btn-modal-action-secondary {
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-action-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}


@media (max-width: 767px) {
    .modal-details-grid {
        grid-template-columns: 1fr;
    }
    .details-section-heading, .detail-field.col-span-2 {
        grid-column: span 1;
    }
    .doc-meta-info .doc-filename {
        max-width: 180px;
    }
}

/* ==========================================================================
   ACTIVE DISBURSED LOAN DETAILS CARD WIDGET
   ========================================================================== */
.active-loan-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.active-loan-split-container {
    display: flex;
    flex-direction: row;
    min-height: 280px;
}

.active-loan-left-panel {
    background: #00a170; /* beautiful vibrant green color matching screenshot */
    width: 270px;
    flex-shrink: 0;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.active-loan-right-panel {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    position: relative;
}

.loan-code-header-row {
    padding: 16px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* .loan-code-header-row:hover {
    background-color: #f8fafc;
} */

.right-meta-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.right-code-val {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.btn-toggle-expand {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 15px !important;
    transition: all 0.2s !important;
    padding: 0 !important;
    margin: 0 !important;
}

.btn-toggle-expand:hover,
.btn-toggle-expand.active-state {
    background: #ff7700 !important;
    border-color: #ff7700 !important;
    color: #ffffff !important;
}

.disbursed-badge {
    font-size: 10.5px !important;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: none !important;
    max-width: fit-content;
}

.disbursed-badge .bullet {
    color: #ffffff !important;
}

.disbursed-badge.pending-status {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: none !important;
}

.disbursed-badge.closed-status {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: none !important;
}

.left-meta-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}

.left-amount-val {
    margin: 0;
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}

.left-amount-val .currency-label {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
    display: block;
}

.left-amount-val .amount-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.left-divider {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    margin: 16px 0;
    border-radius: 2px;
}

.left-date-subtext {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.5;
    display: block;
}

.active-loan-body {
    padding: 0;
    overflow: visible;
}

.details-grid-container {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 0 30px 20px 30px;
    border-bottom-right-radius: 24px;
}

.details-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 0;
}

.details-grid-row.border-bottom-light {
    border-bottom: 1px solid #e2e8f0;
}

.details-grid-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: none;
    padding: 0;
}

.grid-label {
    font-size: 12px;
    font-weight: 500;
    color: #3b3e41;
    letter-spacing: 0.02em;
}

.grid-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}


/* Loan Select Dropdown Styles */
.loan-select-dropdown {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgb(0 0 0 / 34%);
    z-index: 1000;
    min-width: 99%;
    max-height: 320px;
    overflow-y: auto;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.loan-select-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.loan-dropdown-item {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    border-bottom:1px solid #e7e7e7;
}

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

.loan-dropdown-item:hover {
    background-color: #f8fafc;
}

.dropdown-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-item-icon {
    width: 36px;
    height: 36px;
    background-color: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 18px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.loan-dropdown-item:hover .dropdown-item-icon {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
}

.dropdown-loan-id {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.dropdown-loan-desc {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

.dropdown-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.dropdown-status-badge.disbursed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.dropdown-status-badge.closed {
    background-color: #ffebee;
    color: #c62828;
}

.dropdown-status-badge.pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

/* Sleek custom scrollbar for dropdown */
.loan-select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.loan-select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.loan-select-dropdown::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}

.loan-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom status badge overrides for active-loan card header & body */
.disbursed-badge.closed-status {
    color: #c62828 !important;
    background-color: #ffebee !important;
}
.disbursed-badge.closed-status .bullet {
    color: #e53935 !important;
}
.disbursed-badge.pending-status {
    color: #d84315 !important;
    background-color: #fbe9e7 !important;
}
.disbursed-badge.pending-status .bullet {
    color: #ff5722 !important;
}

.disbursed-badge-solid.closed-status {
    color: #c62828 !important;
    background-color: #ffebee !important;
}
.disbursed-badge-solid.pending-status {
    color: #d84315 !important;
    background-color: #fbe9e7 !important;
}

/* Caret button active state when dropdown is open */
.btn-toggle-expand.active-state {
    border-color: #10b981 !important;
    color: #10b981 !important;
    background-color: #f0fdf4 !important;
    transform: rotate(180deg) !important;
}

/* Premium dynamic hover styles for dropdown items based on loan status */
.loan-dropdown-item.status-disbursed:hover {
    background-color: #f0fdf4 !important;
}
.loan-dropdown-item.status-disbursed:hover .dropdown-item-icon {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
}

.loan-dropdown-item.status-closed:hover {
    background-color: #fef2f2 !important;
}
.loan-dropdown-item.status-closed:hover .dropdown-item-icon {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

.loan-dropdown-item.status-pending:hover {
    background-color: #fffbeb !important;
}
.loan-dropdown-item.status-pending:hover .dropdown-item-icon {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
}

.dropdown-status-badge .bullet {
    font-size: 8px;
    margin-right: 4px;
}

/* ==========================================================================
   LOAN REPAYMENT DETAILS & TIMELINE
   ========================================================================== */
.repayment-widget {
    background: #ffffff;
    border:1px solid #efefef;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 5%);
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .repayment-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
} */

.repayment-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.repayment-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.btn-view-transactions {
    font-size: 14px;
    font-weight: 600;
    color: #252b33 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    background: #f2f2f2;
    padding: 10px 20px;
    border-radius: 8px;
}

.repayment-timeline-wrapper {
    position: relative;
    margin-top: 24px;
}
.repayment-item-dot.status-disbursed{
    display: none;
}

/* .timeline-line {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 7px;
    width: 2px;
    background: #e2e8f0;
} */

.repayment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.repayment-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.repayment-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
    overflow: hidden;
}

div#portal-transactions-list .repayment-item {
    border-color: #e2e8f0;
    overflow: hidden;
}

/* Timeline dot placed on the connector line */
/* .repayment-item-dot {
    position: absolute;
    left: -27px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    z-index: 10;
    box-shadow: 0 0 0 3px transparent;
}

.repayment-item-dot.status-disbursed {
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.repayment-item-dot.status-closed {
    background-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.repayment-item-dot.status-pending {
    background-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
} */

/* Left layout: Date box and Stacked Details */
.repayment-item-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.repayment-date-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px 0px 0px 12px;
    width: 100px;
    height: 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.repayment-date-box .month {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.repayment-date-box .day {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 5px 0;
    line-height: 1;
}

.repayment-date-box .year {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1;
}

.repayment-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0px;
}

.repayment-ref-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.repayment-ref {
    font-weight: 600;
    color: #475569;
}

.repayment-amount-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.repayment-amount {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1;
}

.repayment-amount.status-closed {
    color: #ef4444; /* Overdue amount in red */
}

.repayment-status-label {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.repayment-status-label.status-disbursed {
    color: #10b981;
}

.repayment-status-label.status-closed {
    color: #ef4444;
}

.repayment-status-label.status-pending {
    color: #f59e0b;
}

/* Center Layout: Detailed Columns Grid Pill */
.repayment-grid-pill {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-grow: 1;
    max-width: 480px;
}

.repayment-grid-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.repayment-grid-col .label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.repayment-grid-col .val {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
}

.repayment-grid-col .val.status-closed {
    color: #ef4444; /* Red for overdue late charges */
}

/* Right Layout: Status Badge & Calendar info */
.repayment-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    min-width: 140px;
    text-align: right;
    padding: 20px;
}

.repayment-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.03em;
    display: inline-block;
}

.repayment-badge.status-disbursed {
    color: #2e7d32;
    background-color: #e8f5e9;
}

.repayment-badge.status-closed {
    color: #c62828;
    background-color: #ffebee;
}

.repayment-badge.status-pending {
    color: #d84315;
    background-color: #fbe9e7;
}

.repayment-cal-info {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.repayment-cal-info.status-disbursed {
    color: #10b981;
}

.repayment-cal-info.status-closed {
    color: #ef4444;
}

.repayment-cal-info.status-pending {
    color: #f59e0b;
}

/* Foreclosed EMI styles */
.repayment-badge.status-foreclosed {
    color: #4b5563;
    background-color: #f3f4f6;
}

.repayment-status-label.status-foreclosed {
    color: #6b7280;
}

.repayment-cal-info.status-foreclosed {
    color: #6b7280;
}

.repayment-amount.status-foreclosed {
    color: #9ca3af;
    text-decoration: line-through;
}

.repayment-grid-col .val.status-foreclosed {
    color: #9ca3af;
}

/* Modern Client-Side Pagination Styles */
.repayment-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.repayment-page-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
}

.repayment-page-btn:hover:not(.disabled):not(.active) {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.repayment-page-btn.active {
    border-color: #ff7700;
    background: #ff7700;
    color: #ffffff;
}

.repayment-page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 991px) {
    .repayment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .repayment-grid-pill {
        max-width: 100%;
        width: 100%;
    }
    .repayment-item-right {
        align-items: flex-start;
        text-align: left;
        min-width: unset;
    }
}

/* ==========================================================================
   HEADER PROFILE DROPDOWN
   ========================================================================== */
.profile-dropdown-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.profile-dropdown-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.profile-dropdown-trigger:hover,
.profile-dropdown-wrapper.active .profile-dropdown-trigger {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-dropdown-trigger .profile-icon {
    font-size: 16px;
    color: #ff7700;
}

.profile-dropdown-trigger .arrow-icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    height: auto;
    width: auto;
    border: none;
}

.profile-dropdown-wrapper.active .profile-dropdown-trigger .arrow-icon {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 250px;
    padding: 8px;
    z-index: 9999;
}

.profile-dropdown-wrapper.active .profile-dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.profile-dropdown-item:hover {
    background-color: #f8fafc;
    color: #ff7700 !important;
}

.profile-dropdown-item iconify-icon {
    font-size: 18px;
    color: #64748b;
    transition: color 0.2s ease;
}

.profile-dropdown-item:hover iconify-icon {
    color: #ff7700;
}

.dropdown-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 6px 0;
}

.profile-dropdown-item.logout-item {
    color: #ef4444 !important;
}

.profile-dropdown-item.logout-item iconify-icon {
    color: #ef4444;
}

.profile-dropdown-item.logout-item:hover {
    background-color: #fef2f2;
    color: #b91c1c !important;
}

.profile-dropdown-item.logout-item:hover iconify-icon {
    color: #b91c1c;
}

/* ==========================================================================
   PORTAL MODAL SYSTEM (PROFILE, DOCUMENTS, TRANSACTIONS)
   ========================================================================== */
.portal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.portal-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.portal-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portal-modal-overlay.active .portal-modal-card {
    transform: scale(1) translateY(0);
}

.portal-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-modal-title iconify-icon {
    font-size: 24px;
    color: #ff7700;
}

.portal-modal-close {
    background: #f8fafc;
    border: none;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portal-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.portal-modal-body {
    padding: 28px;
    max-height: 480px;
    overflow-y: auto;
}

/* Profile Details Styles */
.modal-profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.modal-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}

.modal-profile-meta h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.modal-profile-meta p {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 0;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.modal-info-item {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.modal-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.modal-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* Document Item Styles */
.modal-doc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.modal-doc-item:hover {
    border-color: rgba(255, 122, 0, 0.2);
    background: #fffdfb;
}

.modal-doc-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 122, 0, 0.08);
    color: #ff7700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.modal-doc-info h5 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.modal-doc-info p {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 0;
}

.modal-doc-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.modal-doc-status.verified {
    background: #ecfdf5;
    color: #059669;
}

/* Transaction Table Styles */
.modal-tx-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.modal-tx-table {
    width: 100%;
    border-collapse: collapse;
    .modal-tx-status {
    font-weight: 600;
}

.modal-tx-status.success {
    color: #10b981;
}
}

/* ==========================================================================
   PORTAL PAGES (PROFILE DETAILS, DOCUMENTS, TRANSACTIONS)
   ========================================================================== */

   .homepage-sofi .header-right a:first-of-type:hover{
    color: #fff !important;
    background: transparent;
   }
    .homepage-sofi .header-right a:first-of-type{
           background: #1b1b1b99;
    padding: 11px 20px;
    border-radius: 10px;
    border: 2px solid #4b4b4b;
    }
.user-profile-page {
    background: #f8fafc;
    min-height: calc(100vh - 60px);
    padding: 0px !important;
}

.profile-card-minimal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 2%);
}

.profile-card-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 6px 16px rgba(255, 122, 0, 0.25);
}

.profile-card-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.profile-card-email {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.profile-card-badge {
    display: inline-block;
    background: rgba(255, 122, 0, 0.08);
    color: #ff7700;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
}

/* .profile-details-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 2%);
} */

.details-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section-title iconify-icon {
    font-size: 22px;
    color: #ff7700;
}

.details-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
}

@media (max-width: 767px) {
    .details-grid-row {
        grid-template-columns: 1fr;
    }
    .col-span-2 {
        grid-column: span 1 !important;
    }
}

.col-span-2 {
    grid-column: span 2;
}

.details-grid-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.details-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.details-input-field {
    background-image: initial;
    background-position: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    border: 1px solid rgb(203 213 225 / 52%) !important;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: rgb(51, 65, 85);
    transition: 0.2s;
    background-color: rgb(241 245 249 / 36%) !important;
    height: 50px !important;
}
.details-input-field::placeholder{
    color: #999;
}

.details-input-field:focus {
    background: #ffffff;
    border-color:#b0b0b0 !important;
    outline: none;
}

.details-input-field[readonly] {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
    cursor: not-allowed;
}

.btn-profile-save {
    background: #ff7700;
    border: 1px solid #ff7700;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-profile-save:hover {
    background: #e06600;
    border-color: #e06600;
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.25);
}

/* Document Upload Card */
.document-upload-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 2%);
}

.dnb-upload-zone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dnb-upload-zone:hover,
.dnb-upload-zone.dragover {
    border-color: #ff7700;
    background: #fffdfb;
}

.upload-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.08);
    color: #ff7700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.dnb-upload-zone:hover .upload-icon-wrapper {
    transform: translateY(-3px);
    background: #ff7700;
    color: #ffffff;
}

.upload-text {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.upload-hint {
    font-size: 12.5px;
    color: #64748b;
}

.upload-progress-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.progress-file-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.progress-percent {
    font-size: 12px;
    font-weight: 700;
    color: #ff7700;
}

.progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #ff7700;
    transition: width 0.15s linear;
}

/* Document deletion btn */
.btn-delete-doc {
    opacity: 0.7;
    transition: all 0.2s ease;
}

.btn-delete-doc:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Receipt download btn */
.btn-receipt-download {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #ff7700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-receipt-download:hover {
    background: #ff7700;
    border-color: #ff7700;
    color: #ffffff;
}

/* ==========================================================================
   PROFILE PAGE TABS & FIELDS
   ========================================================================== */

   .profile-details-wrapper-new{
        background: rgb(255, 255, 255);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 16px;
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 4px 20px;
   }
.profile-tabs-nav {
        display: flex;
    gap: 12px;
    padding: 20px 24px;
    flex-wrap: wrap;
    margin: -30px -30px 20px -30px;
    border-bottom: 1px solid rgb(226, 232, 240);
}

.profile-tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.profile-tab-btn:hover {
    color: #ff7700;
    background: rgba(255, 119, 0, 0.05);
}

.profile-tab-btn.active {
    color: #ff7700;
    background: rgba(255, 119, 0, 0.08);
}

.profile-tab-btn iconify-icon {
    font-size: 18px;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


e {
    color: #ff7700;
    background: rgba(255, 119, 0, 0.08);
}

.profile-tab-btn iconify-icon {
    font-size: 18px;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-details-wrapper .dnb-step-actions {
    margin: 0px -30px 0 -30px !important;
    margin-top: 30px !important;
    padding-bottom: 0 !important;
}

/* Select2 overrides inside .profile-details-wrapper */
.profile-details-wrapper .select2-container .select2-selection--single {
    width: 100% !important;
    height: 50px !important;
    border-radius: 10px !important;
        border: 1px solid rgba(203, 213, 225, 0.52) !important;
    background-color: rgba(241, 245, 249, 0.36) !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.profile-details-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #334155 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding-left: 0px !important;
    line-height: normal !important;
}

.profile-details-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.profile-details-wrapper .select2-container--default.select2-container--focus .select2-selection--single {
    background: #ffffff !important;
    border-color: #ff7700 !important;
    box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.15) !important;
}

/* Document cards inside Required Documents tab */
.active-doc-click {
    transition: all 0.2s ease-in-out !important;
}
.active-doc-click:hover {
    border-color: #ff7700 !important;
    background-color: #fffdfb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.05);
}
.active-doc-click.selected {
    border-color: #ff7700 !important;
    background-color: #fff8f2 !important;
    box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.12) !important;
}
.profile-doc-status {
    word-break: break-all;
}

/* ==========================================================================
   PORTAL SIDEBAR LAYOUT & NAVIGATION STYLE (MOCKUP-INSPIRED)
   ========================================================================== */
.portal-layout-body footer {
    display: none !important;
}

.portal-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: #f8fafc;
}

.portal-sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 74px;
    height: 100vh;
    z-index: 1010;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-content-wrapper {
    flex-grow: 1;
    padding: 40px 30px 60px 30px;
    overflow-y: auto;
    background-color: rgb(248 250 252 / 16%);
    width: calc(100% - 280px);
}


/* Brand Header */
.sidebar-brand-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-icon {
    font-size: 26px;
    color: #ff7700;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

section.screen.doxss {
    width: 80%;
}

.btn-sidebar-collapse {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
}

.btn-sidebar-collapse:hover {
    background: #f1f5f9;
    color: #475569;
}

/* User Card */
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.user-avatar-circle {
    width: 44px;
    height: 44px;
    background: #ff7700;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.user-info-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-user-card .user-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-rating-box {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.user-role-label {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
}

.star-rating {
    font-size: 10px;
    color: #eab308;
    font-weight: 700;
}

/* Status Widget */
.sidebar-status-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.status-widget-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.status-desc {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s;
}

/* Switch Slider */
.portal-switch-label {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.portal-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.portal-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 20px;
}

.portal-switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.portal-switch-label input:checked + .portal-switch-slider {
    background-color: #3b82f6; /* Blue switch matching FixFair status switch */
}

.portal-switch-label input:checked + .portal-switch-slider:before {
    transform: translateX(16px);
}

/* Nav Menu links */
.sidebar-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #64748b !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    background: transparent;
}

.nav-item-link:hover {
    background: #ebebeb;
    color: #0f172a !important;
}

.nav-item-link.active {
    background: #ebebeb !important;
    color: #0f172a !important;
    font-weight: 700;
}

.nav-item-link.active .nav-icon {
    color: #ff7700;
}

.nav-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.nav-text {
    flex-grow: 1;
}

.nav-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.nav-menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 10px 0;
}

.logout-item-btn:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.logout-item-btn:hover .nav-icon {
    color: #ef4444 !important;
}

/* Sidebar Logout Card Styling */
.sidebar-logout-card {
    background: #ff77001c;
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    color: #000000;
    margin-top: auto;
    border: 1px solid rgb(255 119 0 / 14%);
}

.logout-card-title {
    color: #000 !important;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.logout-card-text {
    color:rgb(0 0 0 / 85%);
    font-size: 11.5px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.btn-logout-card {
    background: #ff7700 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 100px !important;
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn-logout-card iconify-icon {
    font-size: 16px;
    vertical-align: middle;
}

.btn-logout-card:active {
    transform: translateY(0);
}

/* Mobile header styling */
.portal-mobile-header {
        height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    z-index: 1009;
    width: 100%;
}

.mobile-logo-box img {
    max-width: 110px;
}
.mobileab-wp {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobileab-wp button {
    background: #f2f2f2;
}

.btn-mobile-menu {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 6px;
}

.btn-mobile-menu:hover {
    background: #f1f5f9;
}

.mobile-logo-box {
    display: flex;
    align-items: center;
}

.mobile-avatar {
    width: 32px;
    height: 32px;
    background: #ff7700;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
}

/* Mobile Slide Out drawer logic */
.portal-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1008;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.portal-sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .portal-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
        transform: translateX(-100%);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        z-index: 1020;
    }

    .portal-sidebar.mobile-open {
        transform: translateX(0);
    }

    .portal-content-wrapper {
        width: 100%;
        padding: 90px 0px 30px 0px;
    }
}

/* Fix header and sidebar in portal pages */
.portal-layout-body .header-area,
.portal-layout-body .header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important; /* Bypass scroll-hide translation */
    background: linear-gradient(180deg, rgb(0 0 0) 0%, rgb(0 0 0) 100%) !important; /* solid orange brand color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    z-index: 1020 !important;
    transition: none !important;
}

.portal-layout-body .portal-container {
    padding-top: 74px; /* Offset for the fixed header */
}

@media (min-width: 992px) {
    .portal-layout-body .portal-sidebar {
        position: fixed !important;
        top: 74px !important;
        left: 0;
        bottom: 0;
        height: calc(100vh - 74px) !important;
        z-index: 101 !important;
    }
    .portal-layout-body .portal-content-wrapper {
        margin-left: 280px !important;
        width: calc(100% - 280px) !important;
    }
}

@media (max-width: 991px) {
    .portal-layout-body header.header-area {
        display: none !important; /* Hide landing page header on mobile portal pages to prevent double header conflict */
    }
    .portal-layout-body .portal-container {
        padding-top: 0; /* No desktop header offset on mobile */
    }
}

/* Minimal Toast Notification Styles */
.bf-toast {
    --toast-color: #10b981;
    --toast-border: #bbf7d0;
    --toast-glow: rgba(16, 185, 129, 0.08);

    position: fixed;
    top: 30px;
    right: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    z-index: 99999;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* premium bounce slide in */
    max-width: 420px;
    min-width: 320px;
    overflow: hidden;
}

.bf-toast.bf-toast-danger,
.bf-toast.bf-toast-error {
    --toast-color: #ef4444;
    --toast-border: #fecaca;
    --toast-glow: rgba(239, 68, 68, 0.08);
}

.bf-toast.bf-toast-info {
    --toast-color: #3b82f6;
    --toast-border: #bfdbfe;
    --toast-glow: rgba(59, 130, 246, 0.08);
}

.bf-toast.bf-toast-warning {
    --toast-color: #f59e0b;
    --toast-border: #fde68a;
    --toast-glow: rgba(245, 158, 11, 0.08);
}

.bf-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--toast-color); /* dynamic color bar on the left edge */
}

/* Background soft radial glow on the left */
.bf-toast-left-decor {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: radial-gradient(circle at left, var(--toast-glow) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.bf-toast.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.bf-toast-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid var(--toast-border); /* dynamic boundary */
    border-radius: 10px;
    color: var(--toast-color); /* dynamic color */
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px var(--toast-glow);
    position: relative;
    z-index: 2;
}

.bf-toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.bf-toast-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.bf-toast-message {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

.bf-toast-close {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.bf-toast-close:hover {
    color: #64748b;
    transform: scale(1.08);
}

@media (max-width: 575px) {
    .bf-toast {
        left: 20px;
        right: 20px;
        top: 20px;
        bottom: auto;
        min-width: auto;
        transform: translateY(-120%);
    }
    .bf-toast.show {
        transform: translateY(0);
    }
}

/* Document Preview Modal & Simulated PDF Viewer Styles */
.dnb-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.dnb-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(5px);
}

.dnb-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    animation: dnbModalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dnbModalSlideUp {
    from {
        transform: translateY(35px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.dnb-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dnb-modal-header h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.dnb-modal-header p {
    font-size: 13px;
    color: #64748b;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 26px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    padding: 0;
}

.btn-close-modal:hover {
    color: #ef4444;
    transform: rotate(90deg);
}

.dnb-modal-body {
    padding: 24px;
    overflow-y: auto;
    background: #f8fafc;
    flex-grow: 1;
}

.dnb-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Simulated PDF Document Styles */
.simulated-pdf-viewer {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    font-family: 'Inter', 'DM Sans', sans-serif;
    color: #334155;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff7700;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.pdf-logo {
    height: 24px;
    width: auto;
}

.pdf-watermark {
    font-size: 10px;
    font-weight: 800;
    color: #ff7700;
    letter-spacing: 0.1em;
    border: 1px solid #ff7700;
    padding: 2px 8px;
    border-radius: 4px;
}

.pdf-doc-content {
    flex-grow: 1;
    font-size: 13.5px;
    line-height: 1.6;
}

.pdf-doc-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pdf-meta-list {
    margin-bottom: 20px;
    font-size: 13px;
}

.pdf-meta-item {
    display: flex;
    margin-bottom: 6px;
}

.pdf-meta-label {
    width: 140px;
    font-weight: 600;
    color: #64748b;
}

.pdf-meta-value {
    font-weight: 700;
    color: #1e293b;
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 25px;
}

.pdf-table th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-align: left;
    text-transform: uppercase;
}

.pdf-table td {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 12px;
    font-size: 12.5px;
    color: #334155;
}

.pdf-signature-block {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pdf-stamp {
    border: 2px dashed #059669;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
    transform: rotate(-4deg);
    display: inline-block;
    letter-spacing: 0.05em;
}

.pdf-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}

/* Premium document item action buttons */
.btn-view-doc,
.btn-delete-doc {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.btn-view-doc {
    background: #f1f5f9;
    color: #475569;
}

.btn-view-doc:hover {
    background: rgba(255, 119, 0, 0.1);
    color: #ff7700;
}

.btn-delete-doc {
    background: #f1f5f9;
    color: #ef4444;
}

.btn-delete-doc:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Premium Document Card Grid System */
.portal-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.doc-preview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.doc-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1;
}

.doc-card-media {
    height: 160px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.doc-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.btn-card-delete {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 5;
    padding: 0;
}

.btn-card-delete iconify-icon {
    font-size: 16px;
}

.doc-preview-card:hover .btn-card-delete {
    opacity: 1;
    transform: scale(1);
}

.btn-card-delete:hover {
    background: #fef2f2;
    color: #dc2626;
    transform: scale(1.05) !important;
}

.doc-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 4;
}

.doc-card-media:hover .doc-card-overlay {
    opacity: 1;
}

.btn-view-card {
    background: #ffffff;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(8px);
}

.doc-card-media:hover .btn-view-card {
    transform: translateY(0);
}

.btn-view-card:hover {
    background: #ff7700;
    color: #ffffff;
}

.btn-view-card iconify-icon {
    font-size: 14px;
}

.pdf-type {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
}

.pdf-icon-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pdf-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.05);
}

.pdf-pill-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.doc-card-body {
        padding: 22px 24px 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
}

.doc-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}

.doc-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 6px;
}

.doc-card-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.doc-card-size {
    font-size: 11px;
    color: #ff7700;
    font-weight: 700;
    background: rgba(255, 119, 0, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Document Upload Card */
.document-upload-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.details-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section-title iconify-icon {
    color: #ff7700;
    font-size: 22px;
}

/* Drag & Drop Upload Zone Styling */
.dnb-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dnb-upload-zone:hover, .dnb-upload-zone.dragover {
    border-color: #ff7700;
    background: rgba(255, 119, 0, 0.02);
}

.upload-icon-wrapper {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7700;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.dnb-upload-zone:hover .upload-icon-wrapper {
    transform: translateY(-3px);
    border-color: #ff7700;
    box-shadow: 0 6px 15px rgba(255, 119, 0, 0.12);
}

.upload-icon-dnb {
    font-size: 24px;
}

.upload-text {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
}

.upload-hint {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Progress bar inside upload zone */
.upload-progress-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
}

.progress-file-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.progress-percent {
    font-size: 12px;
    font-weight: 700;
    color: #ff7700;
}

.progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #ff7700;
    border-radius: 10px;
    transition: width 0.15s ease-out;
}

@media (max-width: 575px) {
    .portal-doc-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Filter Dropdown for Transaction Status */
.transaction-filter-wrap {
    position: relative;
    flex-shrink: 0;
}

.modern-filter-dropdown {
    position: relative;
    width: 250px;
}

.filter-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-dropdown-trigger:hover,
.filter-dropdown-trigger.open {
    border-color: #ff7700;
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.08);
    color: #0f172a;
}

.filter-dropdown-trigger .filter-icon {
    font-size: 16px;
    color: #64748b;
    transition: color 0.2s;
}

.filter-dropdown-trigger:hover .filter-icon,
.filter-dropdown-trigger.open .filter-icon {
    color: #ff7700;
}

.filter-dropdown-trigger .arrow-icon {
       font-size: 22px;
    color: #000000;
    transition: transform 0.2s ease, color 0.2s;
    border: none;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.filter-dropdown-trigger.open .arrow-icon {
    transform: rotate(180deg);
    color: #ff7700;
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform-origin: top right;
    animation: dropdownMenuFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownMenuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.filter-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
}

.filter-dropdown-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.filter-dropdown-item.active {
    background: rgba(255, 119, 0, 0.06);
    color: #ff7700;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-all { background: #64748b; }
.dot-success { background: #10b981; }
.dot-pending { background: #f59e0b; }
.dot-failed { background: #ef4444; }

.loan-code-stack-wps {
    display: flex;
    align-items: center;
    gap: 15px;
}

.loan-code-stack-i {
    height: 46px;
    width: 46px;
    background: #ebebebe3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Extracted Codebase Inline Styles */
.bf-dashboard-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 26px;
    margin-bottom: 5px;
}

.bf-dashboard-subtitle {
    color: #64748b;
    font-size: 14.5px;
    margin-bottom: 0;
}

.sidebar-badge-orange {
    background-color: #ff7700 !important;
    color: #ffffff !important;
}

.sidebar-badge-blue {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

.bf-credit-score-excellent {
    color: #059669 !important;
    font-weight: 700 !important;
}

.bf-highlight-amount {
    color: #ff7700 !important;
    font-weight: 700 !important;
}

.textarea-purpose-height {
    height: 80px;
}

.inline-icon-adjust {
    font-size: 14px;
    margin-left: 4px;
    vertical-align: middle;
}

.tx-filter-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tx-empty-state-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    padding: 50px 20px;
}

.tx-empty-state-text {
    color: #64748b;
    font-size: 14.5px;
    margin-top: 15px;
    font-weight: 600;
    margin-bottom: 0;
}

.btn-receipt-pdf {
    background: none;
    border: none;
    color: #ff7700;
    font-weight: 700;
    font-size: 13.5px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.tx-spacer-gray {
    color: #94a3b8;
    font-weight: 600;
}

.tx-dot-align {
    font-size: 6px;
    margin-right: 4px;
}

.input-expiry-date {
    width: 100%;
    padding-left: 42px !important;
    background-color: #ffffff !important;
}

.input-expiry-calendar-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
    pointer-events: none;
}

.upload-hint-text {
    color: #64748b;
    font-size: 13.5px;
    margin-bottom: 20px;
}

.text-danger-star {
    color: #ef4444;
}

.upload-label {
    font-weight: 700;
    color: #334155;
    font-size: 13.5px;
    display: block;
    margin-bottom: 8px;
}

.input-file-hidden {
    display: none;
}

.align-middle-icon {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.align-middle-icon-right {
    font-size: 16px;
    vertical-align: middle;
    margin-left: 4px;
}

.apply-form-section-label {
    margin-top: 30px;
}

.apply-section-label-icon {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 6px;
    color: #ff7700;
}

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

.apply-btn-add-guarantor {
    padding: 4px 10px;
    font-size: 11px;
    height: auto;
    margin: 0;
}

.apply-step-headline-icon {
    font-size: 24px;
    vertical-align: middle;
    margin-right: 8px;
    color: #ff7700;
}

.apply-upload-zone-padding {
    padding: 40px 20px;
}

.apply-upload-icon-wrapper-margin {
    margin-bottom: 15px;
}

.apply-upload-icon-size {
    font-size: 44px;
}

.apply-upload-text-styling {
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.apply-upload-hint-styling {
    color: #64748b;
    font-size: 12px;
}

.apply-files-selected-label-margin {
    margin-bottom: 15px;
}

.apply-summary-widget-padding {
    padding: 15px 20px;
    background-color: #fafafa;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 30px;
}

.apply-selected-files-list-reset {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.apply-spinner-size {
    width: 3rem;
    height: 3rem;
    color: #ff7700 !important;
}

.apply-verification-checks-width {
    max-width: 450px;
}

.apply-result-icon-circle-size {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.apply-result-icon-font-size {
    font-size: 44px;
}

.apply-result-status-title-font {

    font-weight: 700;
}

.apply-summary-widget-box-max-width {
    max-width: 550px;
}

.apply-summary-widget-header {
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.apply-summary-receipt-small-muted {
    color: #888888 !important;
    font-size: 11px;
}

.apply-summary-receipt-strong-font {
    font-size: 14px;
    font-weight: 700;
}

.apply-alert-custom-info-styling {
    max-width: 550px;
    background-color: #fffaf6;
    border: 1.5px solid #ffe6d5;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
}

.apply-alert-icon-color {
    color: #ff7700;
    font-size: 20px;
}

.apply-alert-next-strong-color {
    color: #ff7700;
}

.apply-btn-dashboard-redirect {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
}

.apply-uploaded-docs-info-icon-size {
    font-size: 24px;
    color: #10b981;
}

.apply-uploaded-docs-info-strong-size {
    display: block;
    font-size: 15px;
}

.apply-uploaded-docs-info-span-size {
    font-size: 13px;
    font-weight: normal;
}

.apply-uploaded-docs-warn-icon-size {
    font-size: 24px;
    color: #f59e0b;
}

.apply-uploaded-docs-warn-strong-size {
    display: block;
    font-size: 15px;
}

.apply-uploaded-docs-warn-span-size {
    font-size: 13px;
    font-weight: normal;
}

.apply-flex-center-gap-12 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apply-loan-amount-input {
    font-weight: 700;
    color: #ff7700 !important;
}

.apply-textarea-purpose {
    height: 48px;
    padding: 12px 15px;
}

/* Document Preview & Delete Modal Styles */
.doc-preview-modal-body {
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    flex-grow: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.doc-preview-image-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 12px;
    border: 1px solid #e2e8f0;
    max-height: 100%;
}

.doc-preview-img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 8px;
}

.doc-preview-btn-download {
    background: #ff7700;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.delete-confirm-content {
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: none;
}

.delete-confirm-body {
    padding: 30px 24px;
    background: #ffffff;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
}

.delete-confirm-icon-wrap {
    font-size: 34px;
    margin-bottom: 15px;
    display: inline-block;
    line-height: 1;
}

.delete-confirm-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 20px;
    margin-bottom: 8px;
}

.delete-confirm-desc-highlight {
    font-weight: 700;
    color: #1e293b;
}

.delete-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.delete-confirm-btn-no {
    flex: 1;
    border: none;
    background-color: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete-confirm-btn-no:hover {
    background-color: #e2e8f0;
}

.delete-confirm-btn-yes {
    flex: 1;
    border: none;
    background-color: #ef4444;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
    transition: background-color 0.2s;
}

.delete-confirm-btn-yes:hover {
    background-color: #dc2626;
}

.delete-confirm-text {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.tx-empty-state-icon {
    font-size: 48px;
    color: #94a3b8;
}

.upload-success-banner {
    background-color: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.upload-warning-banner {
    background-color: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.apply-selected-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.apply-selected-file-icon {
    color: #ff7700;
    font-size: 20px;
}

.apply-selected-file-category {
    font-size: 10.5px;
    font-weight: 700;
    color: #ff7700;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-selected-file-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    display: inline-block;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apply-selected-file-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.apply-selected-file-size {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.remove-file-btn {
    background: none;
    border: none;
    padding: 4px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-file-btn:hover {
    color: #ef4444 !important;
}

.trash-btn-icon {
    font-size: 18px;
}

.apply-selected-files-list-reset li:last-child {
    border-bottom: none !important;
}

/* Extracted Inline Styles Classes */
.feature-gallery-content-wrapper {
    --transparent-bg: #ffffff;
}

body.index-page-body footer.footer-three-area.section-space-top {
    padding: 80px 0px 0px 0px;
}

@media (max-width: 767px) {
    body.index-page-body footer.footer-three-area.section-space-top {
        padding: 80px 0px 20px 0px;
    }
}

body.apply-loan-page-body footer.footer-three-area.section-space-top {
    display: none !important;
}

.upload-progress-wrap {
    display: none;
}

.progress-bar-fill {
    width: 0%;
}

.grid-col-all {
    grid-column: 1 / -1;
}

.doc-empty-icon {
    font-size: 48px;
    color: #94a3b8;
}

.doc-empty-text {
    color: #64748b;
    font-size: 14.5px;
    margin-top: 10px;
}

.doc-badge-icon {
    font-size: 13px;
}

.doc-type-badge-pdf {
    background: rgba(239, 68, 68, 0.95);
}

.pdf-icon-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pdf-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 24px;
}

.pdf-pill-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.doc-card-expiry {
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

.doc-expiry-icon {
    vertical-align: middle;
    margin-right: 2px;
    font-size: 13px;
}

.contact-map-iframe {
    border: 0;
}

.upload-selected-icon {
    color: #ff7700 !important;
}

.upload-selected-hint {
    color: #64748b !important;
    font-weight: 500 !important;
}

.btn-clear-selection {
    background: none;
    border: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 13.5px;
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-selection:hover {
    color: #dc2626 !important;
}

.loan-code-header-row.no-click {
    cursor: default !important;
}

/* Loan List Staged Interface Styles */
.btn-back-loans {
    border-radius: 12px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
}

.loan-tabs-wrapper {
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.loan-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.loan-tabs-nav {
    margin-bottom: -1px;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.loan-tab-btn {
    background: none !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    padding: 12px 8px !important;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.loan-tab-btn:hover {
    color: #0f172a;
}

.loan-tab-btn.active {
    color: #ff7700;
    border-bottom-color: #ff7700 !important;
}

.tab-badge {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

.loan-tab-btn.active .tab-badge {
    background-color: rgba(255, 119, 0, 0.08);
    color: #ff7700;
}

.loan-list-cards {
    margin-top: 25px;
}

.loan-list-card {
    background: #f3f3f3ad;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.006);
    overflow: visible;
    padding: 4px;
}

.loan-list-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border-color: #ff77003a;
}

.loan-list-card-header {
     display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px 24px 5px 24px;
}

.loan-card-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loan-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.loan-card-avatar-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.loan-card-user-meta {
    display: flex;
    flex-direction: column;
}

.loan-card-user-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.loan-card-subtext {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.loan-card-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.status-badge-approved {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.status-badge-pending {
    background-color: rgba(255, 119, 0, 0.08);
    color: #ff7700;
}

.status-badge-rejected {
    background-color: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

.loan-list-card-body {
        border-top: 1px solid #f1f5f9;
    background: #fff;
    padding: 24px;
    border-radius: 12px 12px 0px 0px;
}

.loan-card-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.loan-card-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 18px;
}

.loan-card-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.loan-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.loan-card-meta-item iconify-icon {
    font-size: 16px;
    color: #000;
}

.loan-list-card-footer {
       display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #fff;
    border-radius: 0px 0px 12px 12px;
    padding-top: 10px;
}

.loan-footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 38%;
        justify-content: end;
}

.loan-btn-decline {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #ef4444;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.loan-btn-decline:hover {
    background: #fff5f5;
    border-color: #fca5a5;
}

.loan-btn-view {
    background: #000;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 50%;
}

.loan-btn-view:hover {
    background: rgb(255, 119, 0);
    transform: translateY(-1px);
}

.loan-footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loan-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
    font-size: 18px;
    text-decoration: none !important;
}

.loan-icon-btn:hover {
    color: #0066ff;
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.02);
}

.loan-card-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loan-card-time-ago {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.loan-btn-repayment {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 50%;
}

.loan-btn-repayment:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.loan-btn-accept {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    width: 100%;
}

.loan-btn-accept:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

div#loan-list-pagination-container {
    gap: 10px;
    display: flex;

    justify-content: center;
}
.details-grid-container .details-grid-row {
    grid-template-columns: repeat(4, 1fr);
}

button.btn-dnb-submit.text-nowrap {
    display: flex;
    gap: 10px;
    font-weight: 500;
    padding: 0 24px;
}

button.btn-dnb-submit.text-nowrap svg {
    font-size: 20px;
}
.dnb-modal-header .d-flex.align-items-center.gap-15 {
    gap: 18px;
    align-items: center;
}
span#preview-status-badge {
    margin-left: 12px;
}

/* Document Center Upload Modal Styles */
.upload-modal-content {
    max-width: 650px !important;
    border-radius: 24px !important;
    padding: 0px !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
    overflow: hidden;
}

.upload-modal-header-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.modal-title-custom {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.modal-subtitle-custom {
    font-size: 13px !important;
    color: #64748b !important;
}

/* Modal Drag & Drop Zone */
.modal-upload-zone {
    border: 2px dashed #cbd5e1 !important;
    border-radius: 16px !important;
    padding: 35px 20px !important;
    background: #ffffff !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-upload-zone:hover, .modal-upload-zone.dragover {
    border-color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.01) !important;
}

.btn-modal-upload-trigger {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-upload-zone:hover .btn-modal-upload-trigger {
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.upload-zone-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 12px;
}

.upload-zone-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* File Staging Card Row */
.upload-file-item {
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease;
}

.upload-file-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.upload-file-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.upload-file-icon.is-pdf {
    background: #fef2f2;
    color: #ef4444;
}

.upload-file-info {
    flex-grow: 1;
    min-width: 0;
}

.upload-file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.upload-file-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-cancel-upload {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    display: inline-flex;
    font-size: 20px;
}

.btn-cancel-upload:hover {
    color: #ef4444;
}

.upload-file-meta {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 1px;
    display: block;
}

.upload-status-completed {
    color: #10b981;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.upload-status-completed iconify-icon {
    font-size: 14px;
}

/* Modal Progress Bar */
.upload-progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 2px;
}

.progress-track-modal {
    flex-grow: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill-modal {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 10px;
    transition: width 0.15s ease-out;
}

.progress-percent-modal {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    min-width: 28px;
    text-align: right;
}
.date-range-wrap {
    max-width: fit-content;
}

.date-range-wrap input.daterangecl {
    height: 43px;
    border-radius: 12px !important;
    background: rgb(255, 255, 255) !important;
    border: 1px solid rgb(203, 213, 225) !important;
}
.transaction-filter-wrap-main {
    display: flex;
    gap: 14px;
}

.calendar-container {
    left: auto !important;
    right: 24px !important;
}

/* Premium Tooltip for Loan Info Button */
.loan-card-name-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.loan-info-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loan-card-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #3b82f6;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.loan-card-info-btn:hover {
    background-color: #2563eb;
    transform: scale(1.1);
}

.loan-card-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 240px;
    background-color: #0f172a;
    color: #ffffff;
    text-align: left;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    bottom: 100%;
    transform: translateY(-10px);
    z-index: 1100;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    font-family: inherit;
}

.loan-card-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.loan-info-container:hover .loan-card-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(-6px);
}

.loan-card-tooltip .tooltip-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 6px;
    border-bottom: 1px solid #334155;
    padding-bottom: 4px;
}

.loan-card-tooltip .tooltip-body {
    font-size: 12px;
    line-height: 1.4;
    color: #e2e8f0;
    font-weight: 400;
    white-space: normal;
}

/* Modern Highlighted Accept Offer Card Styles */
.highlighted-offer-card {
    position: relative;
    border: none !important;
    background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899, #3b82f6) !important;
    background-size: 300% 100% !important;
    animation: movingGradientBorder 6s linear infinite !important;
    border-radius: 16px !important;
    padding: 38px 2px 2px 2px !important; /* Thick top bar (38px), thin sides/bottom (2px) */
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.2) !important;
    overflow: visible !important;
    z-index: 1;
}

/* Inner white container */
.highlighted-offer-card::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #ffffff;
    border-radius: 14px; /* Curved inside the gradient outer box */
    z-index: -1;
}

/* Offer banner text in the top gradient bar */
.highlighted-offer-card::before {
    content: '★ OFFER APPROVED: ACTION REQUIRED';
    position: absolute;
    top: 11px;
    left: 20px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    z-index: 2;
    text-transform: uppercase;
}

/* Ensure all card contents are layered above the background ::after */
.highlighted-offer-card .loan-list-card-header,
.highlighted-offer-card .loan-list-card-body,
.highlighted-offer-card .loan-list-card-footer {
    position: relative;
    z-index: 2; /* Sits on top of the white background ::after */
    background: transparent !important; /* Make sure they don't block the white background */
}

/* Add custom layout adjustments for inner card header */
.highlighted-offer-card .loan-list-card-header {
    padding-top: 20px !important; /* Space inside the white box */
}

/* Keyframes for smooth animation */
@keyframes movingGradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dynamic Notification Row Styling */
.notification-row-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.005);
}

.notification-row-item:hover {
    box-shadow: 0 8px 12px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
    border-color: #cbd5e1;
}

/* .notification-row-item.unread-active {
    border-left: 4px solid #ff7700;
} */

.notif-row-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.notif-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Category Specific Icon Background Colors */
.icon-box-system {
    background-color: rgba(16, 185, 129, 0.08); /* Light green */
    color: #10b981;
}

.icon-box-sms {
    background-color: rgba(59, 130, 246, 0.08); /* Light blue */
    color: #3b82f6;
}

.icon-box-payments {
    background-color: rgba(245, 158, 11, 0.08); /* Light orange/yellow */
    color: #f59e0b;
}

.icon-box-email {
    background-color: rgba(239, 68, 68, 0.08); /* Light red/orange */
    color: #ef4444;
}

.icon-box-approvals {
    background-color: rgba(139, 92, 246, 0.08); /* Light purple */
    color: #8b5cf6;
}

.icon-box-overdue {
    background-color: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

.icon-box-upcoming {
    background-color: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.notif-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notif-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.unread-dot-indicator {
    width: 6px;
    height: 6px;
    background-color: #ff7700;
    border-radius: 50%;
    display: inline-block;
}

.notif-description {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.notif-time {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-row-right {
        display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

/* Category Badge Styling */
.notif-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: 0.02em;
    line-height: 1;
}

.badge-type-system {
    background-color: #f1f5f9;
    color: #64748b;
}

.badge-type-email {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-type-sms {
    background-color: #dbeafe;
    color: #2563eb;
}

.notif-actions-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Actions Buttons */
.btn-notif-action {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.notif-btn-check:hover {
    color: #10b981;
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.04);
}

.notif-btn-delete:hover {
    color: #ef4444;
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.04);
}

/* Notification Tabs Container & Nav */
.notif-tabs-wrapper {
    position: relative;
    z-index: 10;
}

.notif-tabs-nav {
        display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 10px;
    margin: -6px -4px;
    -webkit-overflow-scrolling: touch;
    background: #f1f5f9;
    border-radius: 10px;
}

/* Hide scrollbars but keep functionality */
.notif-tabs-nav::-webkit-scrollbar {
    height: 4px;
}
.notif-tabs-nav::-webkit-scrollbar-track {
    background: transparent;
}
.notif-tabs-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Notification Tab Button (Modern Pill) */
.notif-tab-btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    padding: 8px 18px !important;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    outline: none !important;
    box-shadow: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.notif-tab-btn:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b;
}

.notif-tab-btn.active {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05) !important;
}

/* Tab Badge */
.notif-tab-badge {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.notif-tab-btn.active .notif-tab-badge {
    background-color: #ff7700;
    color: #ffffff;
}

.notif-tab-btn:hover .notif-tab-badge {
    background-color: #e2e8f0;
    color: #0f172a;
}
a.nav-item-link.homenua {
    display: none;
}
.repayment-grid-col span button:hover {
    color: #ff7700;
    background: transparent;
}


@media (max-width: 991px) {
    .active-loan-split-container {
        flex-direction: column;
    }
    .active-loan-left-panel {
        width: 100%;
        min-height: auto;
        gap: 15px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .active-loan-right-panel {
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .details-grid-container {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    .details-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 20px;
        padding: 16px 0;
    }
    .details-grid-col {
        border-right: none;
        padding: 0;
    }
    a.nav-item-link.homenua {
    display: flex;
}
}

@media(max-width:767px){
    .bf-dashboard-title{
        font-size: 22px;
    }
.active-loan-left-panel .left-amount-stack.mt-30 {
    margin-top: 14px;
}
.active-loan-widget.mb-40.expanded {
    margin-bottom: 24px;
}

span#display-disb-subtext br {
    display: none;
}
.repayment-header {
    flex-wrap: wrap;
    gap: 10px;
}
.repayment-widget {
    padding: 24px;
}
.repayment-item-left {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
}
.repayment-date-box
 {
    border-radius: 12px 0px 0px 0px;
    border-bottom: none;
    height: 96px;
}
.repayment-info {
    padding: 15px 0px;
}
.repayment-widget {
    border-radius: 16px;
    padding: 24px;
}
.repayment-item {
    border: 1px solid #e9e9e9;
}
.profile-welcome-banner.mb-40 {
    margin-bottom: 26px;
}
.profile-details-wrapper-new {
    padding: 24px;
    margin: 0px 15px;
    width: calc(100% - 30px);
}
.profile-details-wrapper .dnb-step-actions {
    margin: 0px -24px 0 -24px !important;
    margin-top: 20px !important;
}
.profile-tab-btn {
    background: #f4f4f4;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
}

.loan-list-card-header {
    flex-wrap: wrap;
    gap: 12px;
}
.loan-card-meta-grid {
    gap: 20px;
}

.loan-list-card-footer {
    flex-wrap: wrap;
}
.loan-footer-left {
    gap: 12px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 14px;
}
.loan-btn-repayment, .loan-btn-view {
    width: 100%;
}
 .details-grid-row {
        grid-template-columns: 1fr !important;
        gap: 16px 0;
    }
    .repayment-grid-pill {
        background: transparent;
        border: none;
        padding: 0px 20px;
    }
    .transaction-filter-wrap-main {
    flex-wrap: wrap;
    padding-top: 12px;
}
.transaction-filter-wrap {
    width: 100%;
}
.modern-filter-dropdown {
    width: 100%;
}
.date-range-wrap {
    max-width: 100%;
}
.notification-row-item {
    display: block;
}
.notif-row-right {
    margin-left: 60px;
    padding-top: 10px;
}

}

.delete-confirm-btn-yes-orange {
    flex: 1;
    border: none;
    background-color:rgb(239, 68, 68);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 119, 0, 0.25);
    transition: background-color 0.2s;
}
.delete-confirm-btn-yes-orange:hover {
    background-color: #e06600;
}

