/* ==========================================================================
   BANKING2DAY - NO SCROLL THANK YOU PAGE WITH BLINKING CTA BUTTON
   Fits completely on single viewport height (No scrolling needed)
   ========================================================================== */

:root {
    --ram-blue: #094db2;
    --ram-blue-dark: #073a87;
    --ram-blue-light: #e8f0fe;
    
    --green-accent: #00c853;
    --green-hover: #00a844;
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    
    --text-dark: #1e293b;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    --bg-light: #f8fafc;
    --border-color: #cbd5e1;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-main-card: 0 0 30px rgba(9, 77, 178, 0.12);
    --shadow-sm: 0 2px 6px rgba(9, 77, 178, 0.06);
    --font-outfit: 'Outfit', sans-serif;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body.centered-single-column-page {
    font-family: var(--font-outfit);
    color: var(--text-dark);
    background: #e8f0fe;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
}

a {
    color: var(--ram-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--ram-blue-dark);
}

.text-center {
    text-align: center;
}

/* Single Unified White Container Card (Flush Top & Bottom) */
.page-unified-column {
    max-width: 580px;
    margin: 0 auto !important;
    min-height: 100vh;
    background-color: #ffffff;
    box-shadow: var(--shadow-main-card);
    border-left: 1px solid #c7d9f8;
    border-right: 1px solid #c7d9f8;
    border-top: none;
    border-bottom: none;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header Navbar */
.navbar {
    background: transparent;
    padding: 0 0 10px;
    text-align: center;
    border-bottom: 1px dashed #cbd5e1;
    margin-bottom: 14px;
}

.brand-logo-centered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    height: 48px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .brand-logo-img {
        height: 40px;
    }
}

/* Hero Blue Banner */
.hero-blue-banner {
    background: linear-gradient(135deg, #094db2 0%, #0066ff 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px 16px 14px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(9, 77, 178, 0.25);
}

.banner-small-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #c7d9f8;
    display: block;
}

.banner-loan-amount {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 2px 0 4px;
}

.banner-sub-text {
    font-size: 0.88rem;
    color: #e8f0fe;
    margin-bottom: 14px;
}

/* 3 Pill Badges Row */
.hero-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hero-badge-item {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.badge-icon {
    font-size: 1.1rem;
}

/* Main Content Area */
.main-form-section {
    flex: 1;
}

/* Form Card Container */
.lead-form-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #c7d9f8;
    padding: 20px 16px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Panels */
.funnel-panel {
    display: none;
}

.funnel-panel.active {
    display: block;
    animation: panelFade 0.3s ease;
}

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

/* Screenshot Style Input (+91 Addon) */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.addon-input-ss {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #ffffff;
    transition: var(--transition);
}

.addon-input-ss:focus-within {
    border-color: var(--ram-blue);
    box-shadow: 0 0 0 3px rgba(9, 77, 178, 0.15);
}

.addon-prefix-ss {
    background: var(--bg-light);
    border-right: 1.5px solid #cbd5e1;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
}

.addon-input-ss input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-family: var(--font-outfit);
    font-size: 1rem;
    color: var(--text-dark);
}

.input-group input[type="text"],
.input-group input[type="tel"],
.input-group input[type="number"],
.input-group input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    background-color: #ffffff;
}

.input-group input:focus {
    border-color: var(--ram-blue);
    box-shadow: 0 0 0 3px rgba(9, 77, 178, 0.15);
}

.err-msg {
    display: none;
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 4px;
}

.input-group.has-error input, .input-group.has-error .addon-input-ss {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.input-group.has-error .err-msg {
    display: block;
}

.radio-pill-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.radio-pill {
    cursor: pointer;
}

.radio-pill input {
    display: none;
}

.radio-pill span {
    display: block;
    padding: 10px 14px;
    text-align: center;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    background-color: #ffffff;
    transition: var(--transition);
}

.radio-pill input:checked + span {
    border-color: var(--ram-blue);
    background-color: var(--ram-blue-light);
    color: var(--ram-blue);
    font-weight: 700;
}

/* OTP Box */
.otp-box-row {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.otp-box-row input {
    width: 150px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 8px;
    padding: 10px;
    border: 2px solid var(--whatsapp-green);
    border-radius: var(--radius-sm);
    outline: none;
}

.resend-whatsapp-row {
    margin-bottom: 16px;
}

.btn-resend-link {
    background: none;
    border: none;
    color: var(--whatsapp-dark);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp-primary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-primary:hover {
    background: linear-gradient(135deg, #128c7e 0%, #0e6b60 100%);
}

.btn-primary-form {
    background: linear-gradient(135deg, #094db2 0%, #073a87 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(9, 77, 178, 0.3);
}

.btn-success-form {
    background: linear-gradient(135deg, #00c853 0%, #00a844 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.35);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: 50px;
}

.btn-block {
    width: 100%;
}

.pulse-animation {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(0, 200, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

.consent-group {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-align: left;
}

.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.form-partners-bar {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #cbd5e1;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ONE-PAGE COMPACT THANK YOU SCREEN (NO SCROLL NEEDED)
   ========================================================================== */
.clean-thankyou-screen {
    padding: 10px 0;
}

.success-check-circle {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #00c853 0%, #00a844 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.35);
}

.ty-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.ty-connect-msg {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.ty-ref-pill {
    display: inline-block;
    background-color: var(--ram-blue-light);
    color: var(--ram-blue);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid #c7d9f8;
    margin-bottom: 16px;
}

/* Credit Card Offers Section & Catchy Blinking Button */
.cc-offers-section {
    background-color: #fafbfc;
    border: 1.5px solid #c7d9f8;
    border-radius: var(--radius-md);
    padding: 12px 10px;
    margin: 10px 0;
    text-align: left;
}

.cc-section-header {
    text-align: center;
    margin-bottom: 10px;
}

.cc-fire-badge {
    display: inline-block;
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 800;
    font-size: 0.74rem;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 4px;
}

.cc-section-header h4 {
    font-size: 0.98rem;
    color: var(--text-dark);
    font-weight: 800;
}

.cc-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.cc-nav-btn {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--ram-blue);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 5;
    transition: var(--transition);
    flex-shrink: 0;
}

.cc-nav-btn:hover {
    background-color: var(--ram-blue);
    color: #ffffff;
    border-color: var(--ram-blue);
}

.cc-slides-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0 6px;
}

.cc-slide-card {
    display: none;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.35s ease;
}

.cc-slide-card.active {
    display: block;
}

.cc-card-img-box {
    padding: 10px 10px 6px;
    background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 100%);
}

.cc-sample-img {
    width: 100%;
    max-width: 170px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(9, 77, 178, 0.2);
}

.cc-card-body {
    padding: 10px 12px;
}

.cc-card-body h5 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cc-benefit-pill {
    display: inline-block;
    background-color: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.cc-features-list {
    list-style: none;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cc-features-list li {
    margin-bottom: 3px;
}

/* CATCHY EYE-ATTRACTING BLINKING APPLY NOW BUTTON */
.btn-cc-apply-blinker {
    background: linear-gradient(135deg, #ff9900 0%, #ff5500 100%);
    color: #ffffff !important;
    font-weight: 900;
    font-size: 1.02rem;
    letter-spacing: 0.5px;
    padding: 11px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.45);
    animation: cardBtnBlink 1.4s infinite ease-in-out;
}

.btn-cc-apply-blinker:hover {
    background: linear-gradient(135deg, #ff5500 0%, #d94100 100%);
    transform: scale(1.02);
}

@keyframes cardBtnBlink {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7), 0 4px 16px rgba(255, 85, 0, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 153, 0, 0), 0 6px 24px rgba(255, 85, 0, 0.7);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0), 0 4px 16px rgba(255, 85, 0, 0.45);
        transform: scale(1);
    }
}

.cc-dots-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.cc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.cc-dot.active {
    background-color: var(--ram-blue);
    width: 18px;
    border-radius: 50px;
}

/* THANK YOU STATE TOGGLE RULES */
.state-thankyou-active .hero-blue-banner,
.state-thankyou-active .value-pillars-grid,
.state-thankyou-active .compact-footer {
    display: none !important;
}

.state-thankyou-active .lead-form-card {
    margin-bottom: 0;
    border: 1.5px solid #c7d9f8;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(9, 77, 178, 0.1);
    padding: 16px 14px;
}

/* Value Pillars Grid Below Form */
.value-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

@media (min-width: 576px) {
    .value-pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

.pillar-card {
    background-color: var(--bg-light);
    border: 1px solid #c7d9f8;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 77, 178, 0.1);
}

.pillar-icon {
    width: 38px;
    height: 38px;
    background-color: var(--ram-blue-light);
    color: var(--ram-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.pillar-text h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.pillar-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer (In White Card) */
.compact-footer {
    padding: 16px 0 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px dashed #cbd5e1;
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--ram-blue);
    font-weight: 600;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}
