/* FINSCARE Custom Styles & Enhancements */

:root {
    --primary-color: #fb4253;
    --primary-hover: #e03040;
    --navy-blue: #032e63;
    --sky-bg: #f2f7fb;
    --border-radius-card: 16px;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Top sticky header enhancement */
.custom-navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    z-index: 1050;
    background: #ffffff !important;
}

.custom-navbar .nav-link-custom {
    color: #333333;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.custom-navbar .nav-link-custom:hover,
.custom-navbar .nav-link-custom.active {
    color: var(--primary-color) !important;
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
}

/* Hero Section Enhancements */
.hero-section {
    background-size: cover;
    background-position: center;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
}

.hero-section h1 {
    font-size: 2.8rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

.card-hero {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: none;
    transition: transform 0.3s ease;
}

.card-hero:hover {
    transform: translateY(-5px);
}

.floating-main {
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Range Slider Enhancements for Calculator */
.range-slider {
    position: relative;
    padding: 10px 0;
}

.range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fb4253;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(251, 66, 83, 0.45);
    transition: transform 0.15s ease;
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.18);
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fb4253;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(251, 66, 83, 0.45);
}

.calc-value-badge,
.input-group1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff4f5 !important;
    color: #fb4253 !important;
    border: 1.5px solid #ffd0d5 !important;
    border-radius: 25px !important;
    padding: 6px 16px !important;
    margin: 0 !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    position: static !important;
    box-shadow: 0 2px 6px rgba(251, 66, 83, 0.08) !important;
}

.calc-value-badge::before,
.calc-value-badge::after,
.input-group1::before,
.input-group1::after,
#principle-amount::before,
#principle-amount::after,
#loan_period::before,
#loan_period::after {
    display: none !important;
    content: none !important;
}

/* Loan Cards Polish */
.cardProduct {
    background: #ffffff;
    border: 1px solid #eaedf3;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.cardProduct:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    border-color: #ffd0d5;
}

/* FAQ Accordion Styling */
.accordion-faq-item {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    transition: all 0.25s ease;
}

.accordion-faq-item:hover {
    border-color: #ffd0d5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.faq-question-btn {
    width: 100%;
    padding: 18px 24px;
    text-align: left;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: #032e63;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question-btn .faq-icon {
    font-size: 1.25rem;
    color: #fb4253;
    transition: transform 0.3s ease;
}

.faq-question-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer-body {
    padding: 0 24px 20px 24px;
    color: #555555;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Floating Quick Action Button */
.floating-contact-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-circle-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
    text-decoration: none;
}

.float-circle-btn:hover {
    transform: scale(1.12);
}

.float-whatsapp {
    background: #25D366;
}

.float-apply {
    background: #fb4253;
    color: white;
    font-size: 22px;
}

/* Modal styling for Quick Application */
.modal-header-loan {
    background: linear-gradient(135deg, #fb4253 0%, #d82b3c 100%);
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.form-control-loan {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.form-control-loan:focus {
    border-color: #fb4253;
    box-shadow: 0 0 0 3px rgba(251, 66, 83, 0.15);
}

/* ========================================================
   APPLY NOW / LOGIN PAGE - EXACT PIXEL PERFECT REPLICA
   ======================================================== */

/* Left Banner: Slate Blue */
.login-banner {
    background-color: #2b5177 !important;
    background-image: none !important;
    padding: 60px 45px !important;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-banner .subHeading1 {
    font-family: 'BauhausRegular', sans-serif !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    margin-bottom: 16px !important;
    line-height: 1.2 !important;
}

.login-banner .subText {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

.login-banner .yellow-txt {
    color: #f7941d !important;
    font-weight: 700 !important;
}

.login-banner .subText1 {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 25px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

.login-banner .benefit_key h3,
.login-banner .benefit_key h5 {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.login-banner .benefit_key ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin-bottom: 0 !important;
}

.login-banner .benefit_key ul li {
    color: #ffffff !important;
    font-size: 0.92rem !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

/* Right Login Card */
.bg-white.card {
    padding: 40px 30px !important;
}

.bg-white.card h1.primary-txt,
.bg-white.card h1.BauhausRegular {
    font-family: 'BauhausRegular', sans-serif !important;
    color: #032e63 !important;
    font-size: 1.95rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

.login_box p.text-body {
    font-size: 0.95rem !important;
    color: #222222 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

.login_main1 {
    border: 1.5px solid #6c757d !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login_main1:focus-within {
    border-color: #032e63 !important;
    box-shadow: 0 0 0 3px rgba(3, 46, 99, 0.12) !important;
}

.login_main1 img {
    width: 24px !important;
    height: auto !important;
    margin-right: 6px !important;
    vertical-align: middle;
}

.login_main1 .h6 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 0 !important;
}

#login-inp {
    border: none !important;
    outline: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #222222 !important;
    background: transparent !important;
    width: 100% !important;
    padding-left: 10px !important;
}

#login-inp::placeholder {
    color: #888888 !important;
    font-weight: 400 !important;
}

/* Checkbox */
.apply-check-term {
    font-size: 0.78rem !important;
    color: #444444 !important;
    line-height: 1.4 !important;
}

.apply-check-term a {
    color: #032e63 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.apply-check-term a:hover {
    text-decoration: underline !important;
}

/* GET OTP Button: Deep Navy Blue from screenshot */
#login-sbm,
.otp_btn {
    background-color: #032e63 !important;
    border-color: #032e63 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    border-radius: 8px !important;
    padding: 13px 20px !important;
    box-shadow: 0 4px 10px rgba(3, 46, 99, 0.2) !important;
    transition: all 0.2s ease !important;
}

#login-sbm:hover,
.otp_btn:hover {
    background-color: #021f44 !important;
    border-color: #021f44 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(3, 46, 99, 0.3) !important;
}

/* Why Choose FINSCARE Section Below */
section.choose_us {
    background: linear-gradient(135deg, #f0f6fc 0%, #fdf0f3 100%) !important;
    padding: 60px 40px !important;
}

section.choose_us h2.subHeading {
    font-family: 'BauhausRegular', sans-serif !important;
    color: #032e63 !important;
    font-size: 2.7rem !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    display: block !important;
}

section.choose_us p {
    color: #333333 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    max-width: 950px !important;
    margin-bottom: 35px !important;
}

/* Floating Right Action Icons (WhatsApp, Google Play & Apply CTA) */
.side-dock-container {
    position: fixed;
    right: 20px;
    bottom: 95px;
    top: auto;
    transform: none;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-icon-circle:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.floating-icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* ========================================================
   MOBILE-FIRST RESPONSIVE FIXES & POLISHED DESIGN SYSTEM
   ======================================================== */

/* Prevent horizontal overflow on any device */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Navbar Polish */
.custom-navbar {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.custom-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 36px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .navbar-brand img {
        height: 44px;
        max-width: 220px;
    }
}

/* Mobile Nav Toggler */
.navbar-toggler {
    border: none !important;
    padding: 6px 10px !important;
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.navbar-toggler-icon img {
    width: 24px;
    height: 24px;
}

/* Mobile Collapse Menu */
@media (max-width: 991.98px) {
    #mainNavbar {
        background: #ffffff;
        border-radius: 16px;
        margin-top: 10px;
        padding: 16px 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border: 1px solid #eef2f6;
    }

    #mainNavbar .nav-link-custom {
        padding: 10px 14px !important;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #mainNavbar .nav-link-custom:active,
    #mainNavbar .nav-link-custom.active {
        background: #fff0f2;
        color: var(--primary-color) !important;
    }
}

/* Hero Section - Mobile First */
.hero-section {
    position: relative;
    padding-top: 88px !important;
    padding-bottom: 50px !important;
    background: linear-gradient(135deg, #032e63 0%, #064082 50%, #0a4f9e 100%) !important;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 66, 83, 0.18) 0%, rgba(251, 66, 83, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

/* Trust Pill Badges */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.trust-badge-pill i {
    color: #ffd166;
    font-size: 0.95rem;
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #fb4253 0%, #e0283b 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 24px rgba(251, 66, 83, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(251, 66, 83, 0.5);
    color: #ffffff !important;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff !important;
}

/* Floating Info Badges on Hero Center Image */
.hero-visual-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-visual-wrap .main-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.35));
}

@media (min-width: 992px) {
    .hero-visual-wrap .main-img {
        max-width: 380px;
    }
}

.hero-micro-card {
    position: absolute;
    background: #ffffff;
    color: #032e63;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite;
}

.hero-micro-card.card-left {
    bottom: 25px;
    left: 5%;
}

.hero-micro-card.card-right {
    top: 35px;
    right: 5%;
    animation-delay: -2s;
}

.hero-micro-card .badge-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff0f2;
    color: #fb4253;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-micro-card.card-left .badge-icon-box {
    background: #e8f8f0;
    color: #10b981;
}

/* 3 Easy Steps Section */
.step-box-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.step-box-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(3, 46, 99, 0.08);
    border-color: #ffd0d5;
}

.step-box-card.step-featured {
    background: linear-gradient(145deg, #032e63 0%, #064082 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(3, 46, 99, 0.25);
}

.step-box-card.step-featured p {
    color: rgba(255, 255, 255, 0.85);
}

.step-badge-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff0f2;
    color: #fb4253;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-box-card.step-featured .step-badge-number {
    background: rgba(255, 255, 255, 0.18);
    color: #ffd166;
}

.step-box-card figure img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

/* Loan Products Polish */
.cardProduct {
    background: #ffffff;
    border: 1.5px solid #edf1f7;
    border-radius: 18px;
    padding: 26px 20px 22px 20px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.cardProduct:hover {
    transform: translateY(-6px);
    border-color: #fb4253;
    box-shadow: 0 16px 32px rgba(251, 66, 83, 0.1);
}

.cardProduct figure img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
}

.cardProduct h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #032e63;
    margin-bottom: 10px;
}

.cardProduct p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 18px;
    flex-grow: 1;
}

.cardProduct .product-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fb4253;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    background: #fff0f2;
    transition: all 0.2s ease;
}

.cardProduct .product-apply-btn:hover {
    background: #fb4253;
    color: #ffffff;
}

/* Modern Loan Calculator Component */
.calculateLoan {
    background: linear-gradient(180deg, #f0f6ff 0%, #e8f1fc 100%) !important;
    padding: 60px 0;
}

.calc-card-main {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(3, 46, 99, 0.08);
    border: 1px solid #dce8f7;
    overflow: hidden;
}

.calc-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.calc-chip {
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-chip:hover,
.calc-chip.active {
    background: #fb4253;
    color: #ffffff;
    border-color: #fb4253;
}

.calc-result-summary {
    background: linear-gradient(135deg, #032e63 0%, #073d80 100%);
    border-radius: 20px;
    padding: 30px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-stat-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
}

.calc-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.calc-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.calc-total-box {
    background: rgba(251, 66, 83, 0.25);
    border: 1.5px solid #fb4253;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.calc-total-box .calc-total-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffd166;
    font-weight: 700;
    margin-bottom: 4px;
}

.calc-total-box .calc-total-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

/* FAQ Clean Styling */
.accordion-item {
    border: 1px solid #eef2f6 !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
}

.accordion-item:hover {
    border-color: #ffd0d5 !important;
}

.accordion-button {
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #032e63 !important;
    background: transparent !important;
    padding: 18px 20px !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: #fb4253 !important;
    background: #fff8f9 !important;
}

.accordion-body {
    padding: 16px 20px 20px 20px !important;
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* Mobile Sticky Bottom Action Bar */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px !important;
    }

    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: #ffffff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
        z-index: 1040;
        padding: 8px 14px;
        align-items: center;
        gap: 10px;
        border-top: 1px solid #edf2f7;
    }

    .mobile-bottom-whatsapp {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: #25D366;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
        text-decoration: none;
    }

    .mobile-bottom-apply {
        flex-grow: 1;
        height: 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, #fb4253 0%, #e0283b 100%);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(251, 66, 83, 0.35);
    }

    /* Hide heavy overlapping desktop docks on mobile */
    .side-dock,
    .side-dock1,
    .side-dock2,
    .upArrow,
    .floating-contact-btn {
        display: none !important;
    }
}

/* Scroll To Top Button Polish */
#scroll-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #032e63;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(3, 46, 99, 0.3);
    z-index: 990;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
}

#scroll-btn:hover {
    background: #fb4253;
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    #scroll-btn {
        bottom: 30px;
        right: 30px;
        width: 48px;
        height: 48px;
    }
}

/* ========================================================
   INDIAN LOAN APPLICATION JOURNEY - MULTI-STEP WIZARD
   ======================================================== */

.loan-wizard-container {
    padding-top: 85px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f0f6ff 0%, #f8fafc 100%);
    min-height: 100vh;
}

/* Multi-Step Stepper Header */
.stepper-progress-wrap {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(3, 46, 99, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.wizard-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

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

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-indicator.active .step-circle {
    background: #fb4253;
    border-color: #fb4253;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(251, 66, 83, 0.4);
    transform: scale(1.08);
}

.step-indicator.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.step-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 6px;
    display: none;
    text-align: center;
}

@media (min-width: 768px) {
    .step-label {
        display: block;
    }
    .step-circle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

.step-indicator.active .step-label {
    color: #032e63;
    font-weight: 800;
}

.step-track-line {
    position: absolute;
    top: 19px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

@media (min-width: 768px) {
    .step-track-line {
        top: 22px;
    }
}

.step-track-fill {
    height: 100%;
    background: linear-gradient(90deg, #fb4253, #10b981);
    transition: width 0.4s ease;
    width: 0%;
}

/* Mobile Stepper Header Info */
.mobile-step-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* Wizard Form Cards */
.wizard-form-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 35px rgba(3, 46, 99, 0.06);
    padding: 24px 20px;
}

@media (min-width: 768px) {
    .wizard-form-card {
        padding: 36px 40px;
    }
}

.wizard-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #032e63;
    margin-bottom: 6px;
}

.wizard-section-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 24px;
}

/* Custom Fintech Input Groups */
.fintech-input-group {
    position: relative;
    margin-bottom: 18px;
}

.fintech-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.fintech-input-box {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
    padding: 2px 14px;
}

.fintech-input-box:focus-within {
    border-color: #032e63;
    box-shadow: 0 0 0 3px rgba(3, 46, 99, 0.12);
}

.fintech-input-box.is-valid {
    border-color: #10b981 !important;
    background: #f0fdf4;
}

.fintech-input-box.is-invalid {
    border-color: #ef4444 !important;
    background: #fef2f2;
}

.fintech-input-icon {
    color: #64748b;
    font-size: 1.15rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.fintech-input-field {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.fintech-input-field::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.fintech-select-field {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

/* Live Lookup Feedback Card */
.lookup-status-card {
    border-radius: 14px;
    padding: 12px 16px;
    margin-top: 10px;
    display: none;
    animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lookup-status-card.success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #065f46;
}

.lookup-status-card.loading {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #1e40af;
}

.lookup-status-card.error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #991b1b;
}

.lookup-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.lookup-status-card.success .lookup-icon-badge {
    background: #10b981;
    color: #ffffff;
}

.lookup-title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.lookup-detail {
    font-size: 0.82rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Sticky Desktop Sidebar Summary */
.loan-summary-sidebar {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(3, 46, 99, 0.05);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-trust-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.sidebar-trust-box i {
    font-size: 1.2rem;
    color: #032e63;
}

/* Professional 4-Digit OTP Box Styling */
.otp-digit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px auto;
    max-width: 320px;
    justify-content: center;
}

@media (min-width: 480px) {
    .otp-digit-grid {
        gap: 16px;
        max-width: 340px;
    }
}

.otp-digit-box {
    height: 58px;
    width: 100%;
    max-width: 72px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #032e63;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.otp-digit-box::-webkit-outer-spin-button,
.otp-digit-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-digit-box:focus {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18);
    transform: translateY(-2px);
}

.otp-digit-box.filled {
    border-color: #10b981;
    background: #f0fdf4;
    color: #032e63;
}

.otp-digit-box.error-state {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    animation: shakeBox 0.4s ease;
}

@keyframes shakeBox {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.otp-status-feedback {
    display: none;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: left;
    align-items: center;
    gap: 8px;
}

.otp-status-feedback.success {
    display: flex;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.otp-status-feedback.error {
    display: flex;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    animation: shakeBox 0.3s ease;
}

/* Button Navigation */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-wizard-next {
    background: linear-gradient(135deg, #fb4253 0%, #e0283b 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(251, 66, 83, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wizard-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(251, 66, 83, 0.45);
}

.btn-wizard-back {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wizard-back:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* KYC Step & Sanction Certificate */
.kyc-verification-box {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.kyc-verification-box:hover {
    border-color: #032e63;
    background: #f0f6ff;
}

.sanction-offer-card {
    background: linear-gradient(135deg, #032e63 0%, #054a8f 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 26px 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(3, 46, 99, 0.25);
    position: relative;
    overflow: hidden;
}

.sanction-offer-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================================
   LANDING PAGE BUG FIXES & COMPONENT ISOLATION (FINSCARE)
   ======================================================== */

/* 1. Hero Section Top Tag */
.hero-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 16px;
    position: static !important;
}

.hero-pill-badge {
    background: #fb4253;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    line-height: 1.3;
    position: static !important;
    white-space: nowrap;
}

.hero-pill-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
    line-height: 1.3;
    white-space: nowrap;
}

/* 2. Representative Example Terms Badges */
.example-terms-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.example-term-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.88rem;
    color: #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    position: static !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.example-term-pill:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.example-term-pill.highlight {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
    font-weight: 600;
}

/* 3. Mobile App Banner Section Tag */
.app-section-tag {
    display: inline-flex;
    align-items: center;
    background: #fb4253;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 50px;
    position: static !important;
    box-shadow: 0 4px 12px rgba(251, 66, 83, 0.35);
    margin-bottom: 16px;
}

/* 4. Global Badge Override Protection */
.badge {
    position: static !important;
    margin: 0 !important;
}

/* ========================================================
   PROFESSIONAL LOAN AMOUNT DRAWER & DISPLAY BOX (Apply Now)
   ======================================================== */
.loan-amount-card-box {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(3, 46, 99, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.loan-amount-card-box:focus-within,
.loan-amount-card-box:hover {
    border-color: #ffd0d5;
    box-shadow: 0 8px 25px rgba(251, 66, 83, 0.08);
}

.loan-amount-card-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #032e63;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.loan-amount-status-pill {
    background: #e6f9f0;
    color: #0d8a50;
    border: 1px solid #b7ecd3;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.amount-display-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0 6px 0;
}

.amount-value-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.amount-currency-sign {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fb4253;
    line-height: 1;
}

.amount-number-input {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #032e63;
    background: transparent;
    border: none;
    outline: none;
    width: 230px;
    max-width: 100%;
    padding: 0;
    line-height: 1;
    letter-spacing: -0.5px;
}

.amount-meta-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.amount-drawer-wrapper {
    position: relative;
    padding: 6px 0;
}

.custom-amount-drawer {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, #fb4253 0%, #fb4253 15%, #e2e8f0 15%, #e2e8f0 100%);
    outline: none;
    transition: background 0.15s ease;
    cursor: pointer;
    margin: 10px 0 6px 0;
}

.custom-amount-drawer::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fb4253;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(251, 66, 83, 0.55);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-amount-drawer::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(251, 66, 83, 0.7);
}

.custom-amount-drawer::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fb4253;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(251, 66, 83, 0.55);
    cursor: grab;
    transition: transform 0.15s ease;
}

.drawer-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
}

.amount-preset-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.amt-preset-chip {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.amt-preset-chip:hover {
    border-color: #cbd5e1;
    color: #032e63;
    transform: translateY(-1px);
}

.amt-preset-chip.active {
    background: linear-gradient(135deg, #fb4253 0%, #e0283b 100%);
    border-color: #fb4253;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(251, 66, 83, 0.35);
}

/* ========================================================
   DATE OF BIRTH (DD / MM / YYYY) SCROLLABLE FINTECH PICKER
   ======================================================== */
.dob-scroll-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dob-col-segment {
    position: relative;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 10px 4px 10px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.dob-col-segment:focus-within,
.dob-col-segment:hover {
    border-color: #032e63;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(3, 46, 99, 0.08);
}

.dob-segment-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    line-height: 1;
    margin-bottom: 2px;
}

.dob-col-segment:focus-within .dob-segment-tag {
    color: #fb4253;
}

.dob-select-wheel {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #032e63;
    outline: none;
    cursor: pointer;
    padding: 2px 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 10px;
}

.dob-select-wheel option {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #032e63;
    background: #ffffff;
    padding: 6px;
}

.dob-age-badge {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.dob-preview-pill {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.dob-preview-pill.invalid {
    background: #fef2f2;
    border-color: #fecaca;
}

/* ========================================================
   DIGILOCKER 7-8s KYC VERIFICATION ANIMATION
   ======================================================== */
.digilocker-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.digi-pulse-wrapper {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.digi-pulse-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #032e63 0%, #0284c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    position: relative;
    z-index: 2;
}

.digi-pulse-wave {
    position: absolute;
    inset: -6px;
    border: 2px solid #0284c7;
    border-radius: 50%;
    animation: digiWave 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    pointer-events: none;
}

.digi-pulse-wave:nth-child(2) {
    animation-delay: -0.6s;
}

@keyframes digiWave {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.digi-warning-pill {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    color: #92400e;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.1);
}

.digi-step-item {
    font-size: 0.82rem;
    color: #64748b;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.digi-step-item.active {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.digi-step-item.done {
    background: #f0fdf4;
    color: #15803d;
    font-weight: 600;
}

/* ========================================================
   LIVE LIVENESS CAMERA & CIRCLE VIEWFINDER
   ======================================================== */
.btn-capture-selfie-trigger {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    border: 2.5px solid #000000 !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.btn-capture-selfie-trigger:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-capture-selfie-trigger:hover i {
    color: #ffffff !important;
}

.liveness-viewport-wrapper {
    width: 100%;
    max-width: 330px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000000;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.liveness-viewport-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror selfie preview */
}

/* Green Circular Guide Frame */
.liveness-circle-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 275px;
    border: 3.5px dashed #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.75), 0 0 25px rgba(16, 185, 129, 0.55);
    pointer-events: none;
    overflow: hidden;
    animation: circleGlowPulse 2s infinite ease-in-out;
}

@keyframes circleGlowPulse {
    0%, 100% {
        border-color: #10b981;
        box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.75), 0 0 16px rgba(16, 185, 129, 0.45);
    }
    50% {
        border-color: #34d399;
        box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.75), 0 0 32px rgba(52, 211, 153, 0.8);
    }
}

/* Vertical Laser Scan inside Circle */
.liveness-scan-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10b981, #6ee7b7, transparent);
    box-shadow: 0 0 12px #10b981;
    animation: scanVerticalLaser 2.2s infinite ease-in-out;
}

@keyframes scanVerticalLaser {
    0% {
        top: 6%;
        opacity: 0.3;
    }
    50% {
        top: 92%;
        opacity: 1;
    }
    100% {
        top: 6%;
        opacity: 0.3;
    }
}

.liveness-status-pill {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.liveness-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: blinkDot 1s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Camera Round Shutter Button */
.btn-liveness-capture {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: transparent;
    border: 4px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-liveness-capture:hover {
    transform: scale(1.08);
    border-color: #34d399;
}

.btn-liveness-capture:active {
    transform: scale(0.94);
}

.btn-liveness-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.liveness-ai-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 15;
    border-radius: 20px;
    padding: 20px;
}

/* ========================================================
   CIBIL & CREDIT BUREAU UNDERWRITING SCREEN (WHITE BANK-GRADE)
   ======================================================== */
.cibil-radar-box {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(2, 46, 99, 0.08);
}

.cibil-radar-pulse {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cibil-radar-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #032e63 0%, #0284c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
    position: relative;
    z-index: 2;
}

.cibil-radar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(2, 132, 199, 0.45);
    border-radius: 50%;
    animation: cibilWave 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    pointer-events: none;
}

.cibil-radar-ring:nth-child(2) {
    animation-delay: -0.7s;
}

@keyframes cibilWave {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.cibil-step-item {
    font-size: 0.84rem;
    color: #475569;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.cibil-step-item.active {
    background: #eff6ff;
    color: #0369a1;
    font-weight: 700;
    border-color: #93c5fd;
    border-left: 4px solid #0284c7;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.cibil-step-item.done {
    background: #f0fdf4;
    color: #15803d;
    font-weight: 600;
    border-color: #bbf7d0;
}

.bureau-badge-pill {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========================================================
   FLOATING BALLOONS & CELEBRATION ANIMATION (STEP 6)
   ======================================================== */
.balloon-celebration-wrapper {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.balloon-item {
    position: absolute;
    bottom: -120px;
    width: 48px;
    height: 64px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    animation: floatBalloon 5.5s ease-in forwards;
    opacity: 0.95;
    box-shadow: inset -4px -4px 10px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.15);
}

.balloon-item::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 18px;
    background: rgba(0, 0, 0, 0.35);
}

@keyframes floatBalloon {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.95;
    }
    100% {
        transform: translateY(-115vh) rotate(22deg);
        opacity: 0;
    }
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 14px;
    animation: confettiFall 4s linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========================================================
   DIGITAL E-SIGNATURE CANVAS PAD
   ======================================================== */
.signature-canvas-container {
    background: #ffffff;
    border: 2px dashed #94a3b8;
    border-radius: 12px;
    position: relative;
    cursor: crosshair;
    overflow: hidden;
}

.signature-canvas-container canvas {
    display: block;
    width: 100%;
    height: 140px;
    background: #ffffff;
    touch-action: none;
}

.signature-watermark-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

/* ========================================================
   STEP PAYMENT: 10% PROCESSING FEE GATEWAY
   ======================================================== */
.payment-gateway-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.upi-qr-box {
    background: #ffffff;
    border: 2px dashed #0284c7;
    border-radius: 16px;
    padding: 16px;
    display: inline-block;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.upi-app-badge {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upi-app-badge:hover, .upi-app-badge.active {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
}

/* ========================================================
   TASK 2: LOAN TENURE & LIVE INTEREST BREAKDOWN STYLES
   ======================================================== */
.loan-tenure-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.tenure-display-container {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.tenure-preset-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tenure-preset-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tenure-preset-chip:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.tenure-preset-chip.active {
    background: #032e63;
    border-color: #032e63;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(3, 46, 99, 0.2);
}

.tenure-breakdown-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-top: 16px;
}

.tenure-breakdown-col {
    display: flex;
    flex-direction: column;
}

.tenure-breakdown-label {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.tenure-breakdown-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

/* ========================================================
   TASK 3: NACH / e-MANDATE AUTO-DEBIT CARD STYLES
   ======================================================== */
.nach-mandate-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

/* ========================================================
   TASK 4: ADOPT & LOCK SIGNATURE BUTTON & AFFORDANCE
   ======================================================== */
.btn-adopt-signature {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.btn-adopt-signature:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
    color: #ffffff;
}

.adopt-tick-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 900;
}

.btn-adopt-signature.btn-adopt-pulse {
    animation: adoptPulse 1.4s infinite;
}

@keyframes adoptPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(5, 150, 105, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

.btn-adopt-signature.locked {
    background: #10b981;
    opacity: 0.9;
    cursor: default;
    box-shadow: none;
}

.adopt-signature-prompt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 8px;
}

/* ========================================================
   TASK 4: OFFICIAL BANK-GRADE DIGILOCKER STYLES
   ======================================================== */
.digilocker-official-badge {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #004b87;
}

.digilocker-cert-card {
    background: #fcfdfd;
    border: 1.5px solid #22c55e;
    border-radius: 12px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.digilocker-cert-watermark {
    position: absolute;
    right: -15px;
    bottom: -15px;
    opacity: 0.05;
    font-size: 7rem;
    color: #22c55e;
    pointer-events: none;
}

/* ========================================================
   FINTECH CENTERED VALIDATION MODAL & SHAKE ANIMATION
   ======================================================== */
.fintech-error-modal .modal-content {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
}

.fintech-error-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fef2f2;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fintech-error-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    animation: ringPulse 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes ringPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.input-error-shake {
    animation: shakeAnim 0.6s ease-in-out;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

@keyframes shakeAnim {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}
/* ========================================================
   PAYMENT CHECKING & VERIFICATION RADAR SCREEN (Step Checking)
   ======================================================== */
.payment-checking-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 38px 24px;
    box-shadow: 0 12px 35px rgba(23, 59, 103, 0.08);
    position: relative;
    overflow: hidden;
}

.payment-radar-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fffbeb;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #fde68a;
}

.payment-radar-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed #f59e0b;
    animation: spinClockwise 8s linear infinite;
}

.payment-radar-ring-pulse {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    animation: ringPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

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

.payment-live-step-tracker {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
    margin: 20px auto;
    text-align: left;
}

.payment-live-step-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-live-step-item.active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.payment-live-step-item.done {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
