/* ==========================================================================
   Paytm Official App UI - Pixel-Perfect Theme (Matching Official Paytm App)
   Clean, modern, light theme with vibrant Paytm Blue & Cyan accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --paytm-blue: #002970;
    --paytm-blue-dark: #001f54;
    --paytm-blue-light: #0056b3;
    --paytm-cyan: #00baf2;
    --paytm-cyan-light: #e0f7fa;
    --paytm-cyan-subtle: #ebf9fd;
    --paytm-gold: #ffaa00;
    --paytm-gold-light: #fff8e6;
    --paytm-green: #00b377;
    --paytm-green-light: #e6f9f2;
    --paytm-red: #ea2b48;

    --bg-page: #f4f6fb;
    --bg-card: #ffffff;
    --text-primary: #191c24;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #edf2f7;
    --border-subtle: #f1f5f9;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;

    --shadow-card: 0 2px 10px rgba(0, 41, 112, 0.04);
    --shadow-float: 0 10px 25px rgba(0, 41, 112, 0.28);
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.45;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   Main App Container (Clean Mobile App Layout - No Phone Frame / No Bezel)
   ========================================================================== */
.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: var(--bg-page);
    position: relative;
    padding-bottom: 96px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Header Bar (Light, Minimalist - Exact Paytm Style)
   ========================================================================== */
.paytm-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(244, 246, 251, 0.92);
}

.nav-left-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.profile-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 19px;
    transition: var(--transition-fast);
}

.profile-avatar-circle:hover {
    background: #cbd5e1;
    transform: scale(1.05);
}

.header-brand-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.postpaid-logo-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.postpaid-icon-bill {
    width: 26px;
    height: 26px;
    background: #002970;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    border: 1.5px solid #00baf2;
}

.postpaid-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.postpaid-logo-text .paytm-txt {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.postpaid-logo-text .paytm-txt .dark {
    color: #002970;
}

.postpaid-logo-text .paytm-txt .cyan {
    color: #00baf2;
}

.postpaid-logo-text .sub-txt {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1px;
}

.header-gold-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.header-gold-pill .chevron-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00baf2;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.nav-action-icon:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   Top Promotional Banner Carousel
   ========================================================================== */
.promo-carousel-wrapper {
    padding: 4px 16px 14px;
    position: relative;
}

.promo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 22px;
}

.promo-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.promo-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.promo-banner-card {
    /* background: #ffffff; */
    border-radius: 22px;
    padding: 20px 18px 24px;
    position: relative;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color); */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 160px;
    box-sizing: border-box;
}

.promo-img-slide-card {
    padding: 0 !important;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-hero-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    display: block;
    border-radius: 22px;
}

.promo-banner-text {
    width: 100%;
    z-index: 2;
    text-align: center;
}

.promo-tagline {
    font-size: 15px;
    font-weight: 800;
    color: #002970;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.promo-main-heading {
    font-size: 22.5px;
    font-weight: 800;
    color: #002970;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.promo-cta-pill {
    background: #0066e6;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 102, 230, 0.32);
    transition: var(--transition-fast);
}

.promo-cta-pill:hover {
    background: #0052ba;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 230, 0.45);
}

.promo-tc-note {
    position: absolute;
    bottom: 6px;
    right: 12px;
    font-size: 8.5px;
    font-weight: 600;
    color: #94a3b8;
    z-index: 3;
}

.promo-carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.promo-carousel-dots .p-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
    cursor: pointer;
    transition: all 0.25s ease;
}

.promo-carousel-dots .p-dot.active {
    width: 7.5px;
    height: 7.5px;
    background: #1e293b;
}

/* ==========================================================================
   UPI Money Transfer Card (The Iconic 4 Dark Blue Circles)
   ========================================================================== */
.app-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 0 16px 14px;
    padding: 18px 16px 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.app-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #191c24;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.upi-circles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
}

.upi-circle-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

.upi-circle-action:hover {
    transform: translateY(-2px);
}

.upi-icon-circle-blue {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #002970;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(0, 41, 112, 0.2);
    transition: var(--transition-fast);
}

.upi-circle-action:hover .upi-icon-circle-blue {
    background: #003da6;
    box-shadow: 0 6px 18px rgba(0, 41, 112, 0.32);
}

.upi-action-text {
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
    text-align: center;
}

/* ==========================================================================
   Recharge & Bills Section (Clean Outlined Line Icons)
   ========================================================================== */
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.view-all-cyan {
    font-size: 13px;
    font-weight: 700;
    color: #00baf2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.view-all-cyan:hover {
    color: #0088b3;
}

.view-all-blue {
    font-size: 14.5px;
    font-weight: 600;
    color: #0066d6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.view-all-blue:hover {
    color: #004eb3;
}

.recharge-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
    align-items: flex-start;
}

.recharge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.recharge-item:hover {
    transform: translateY(-2px);
}

.recharge-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: transform var(--transition-fast);
}

.recharge-item:hover .recharge-icon-box {
    transform: scale(1.06);
}

.recharge-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    text-align: center;
    letter-spacing: -0.1px;
}

.recharge-indicator-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5px;
    margin: 18px auto 2px;
}

.recharge-indicator-bar .bar-pill {
    height: 4px;
    width: 14px;
    border-radius: 2px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.recharge-indicator-bar .bar-pill.inactive {
    background: #e2e8f0;
}

.recharge-indicator-bar .bar-pill.active {
    background: #555e6d;
}

.service-icons-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 8px;
    text-align: center;
}

.service-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.service-icon-item:hover {
    transform: translateY(-2px);
}

.service-icon-img-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 6px;
}

.service-icon-label {
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
}

.slider-indicator-bar {
    width: 24px;
    height: 4px;
    background: #cbd5e1;
    border-radius: var(--radius-full);
    margin: 14px auto 0;
}

/* ==========================================================================
   Exclusive Offer for You Banner (Cyan Pill with 3D Gift Box)
   ========================================================================== */
.exclusive-offer-banner {
    background: #e0f7fa;
    border-radius: var(--radius-lg);
    margin: 0 16px 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #b2ebf2;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 186, 242, 0.08);
}

.exclusive-offer-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 186, 242, 0.18);
}

.offer-left-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gift-box-3d-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 186, 242, 0.3));
}

.offer-text-info {
    display: flex;
    flex-direction: column;
}

.offer-text-info .title {
    font-size: 15px;
    font-weight: 800;
    color: #002970;
}

.offer-text-info .sub {
    font-size: 12px;
    color: #576574;
    font-weight: 500;
    margin-top: 2px;
}

.offer-right-chevron {
    color: #002970;
    font-size: 16px;
}

/* ==========================================================================
   2-Column & 3-Cards Dashboard Layout (Paytm Postpaid + Offers + Gold)
   ========================================================================== */
.dashboard-tri-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 16px 14px;
}

.grid-card-left-tall {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-fast);
}

.grid-card-left-tall:hover {
    border-color: #00baf2;
    transform: translateY(-2px);
}

.grid-card-right-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grid-card-small {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.grid-card-small:hover {
    border-color: #00baf2;
    transform: translateY(-2px);
}

.card-icon-standalone {
    font-size: 26px;
    color: #718096;
}

.postpaid-limit-title {
    font-size: 15px;
    font-weight: 800;
    color: #191c24;
    margin-top: 14px;
}

.postpaid-limit-sub {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
    line-height: 1.35;
}

/* Horizontal Quick Action Pills (Refer & Win, Cashback) */
.horizontal-pills-row {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.horizontal-pills-row::-webkit-scrollbar {
    display: none;
}

.quick-action-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-action-pill:hover {
    border-color: #00baf2;
    background: #f8fafc;
}

.offer-pill-badge-tag {
    background: #f1f5f9;
    border: none;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.offer-pill-badge-tag:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   Free Tools Carousel (Credit Score, Gold Round Up, Spend Tracker)
   ========================================================================== */
.free-tools-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
}

.free-tools-carousel::-webkit-scrollbar {
    display: none;
}

.tool-card {
    min-width: 152px;
    width: 152px;
    height: 188px;
    border-radius: 20px;
    padding: 16px 14px 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tool-card.mint {
    background: #e8f7f0;
    border: 1px solid rgba(167, 243, 208, 0.5);
}

.tool-card.yellow {
    background: #fff8e7;
    border: 1px solid rgba(254, 240, 138, 0.6);
}

.tool-card.pink {
    background: #fdedef;
    border: 1px solid rgba(251, 207, 232, 0.6);
}

.tool-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #191c24;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.tool-card-visual {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.tool-img {
    max-width: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    transition: transform 0.25s ease;
}

.tool-card:hover .tool-img {
    transform: scale(1.04);
}

.tool-img-credit {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 179, 119, 0.12));
}

.tool-img-gold {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.12));
}

.tool-img-track {
    height: 92px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(225, 29, 72, 0.08));
    transform: translateX(4px);
}

/* Brand Logos (Promoted Section) */
.brand-logos-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
    align-items: center;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.brand-logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    transition: var(--transition-fast);
}

.brand-item:hover .brand-logo-circle {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.brand-label {
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    line-height: 1.2;
}

/* Bottom Refer & Earn Graphic Card */
.bottom-refer-card {
    text-align: center;
    margin: 20px 16px 30px;
    position: relative;
}

.floating-gift-illustration {
    width: 90px;
    height: 90px;
    margin: 0 auto -20px;
    position: relative;
    z-index: 2;
    animation: floatGift 3s ease-in-out infinite;
}

@keyframes floatGift {

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

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

.refer-card-inner {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px 16px 18px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.refer-inner-title {
    font-size: 16px;
    font-weight: 800;
    color: #191c24;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.refer-inner-sub {
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    margin-top: 4px;
    cursor: pointer;
}

.refer-inner-sub:hover {
    color: #002970;
}

/* ==========================================================================
   Center Floating Action Pill: Scan QR
   (Deep Blue with Cyan Border & Glow - Exact Screenshot Match)
   ========================================================================== */
.floating-scan-qr-container {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.btn-floating-scan-qr {
    background: linear-gradient(180deg, #0056b3 0%, #002970 100%);
    border: 1.5px solid rgba(0, 186, 242, 0.6);
    color: #ffffff;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 41, 112, 0.45);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-floating-scan-qr:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0, 186, 242, 0.5);
    color: #ffffff;
}

.btn-floating-scan-qr i {
    font-size: 18px;
}

/* ==========================================================================
   "Reward for You!" Modal (Exact Match to Screenshot 1)
   ========================================================================== */
.reward-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.reward-modal-backdrop.show,
.reward-modal-backdrop.active {
    display: flex !important;
}

.reward-modal-dialog {
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 360px;
    padding: 26px 20px 22px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 41, 112, 0.35);
    animation: rewardModalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
    margin: auto;
}

@keyframes rewardModalPop {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.reward-close-circle {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #64748b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 5;
}

.reward-close-circle:hover {
    background: #1e293b;
    transform: scale(1.08);
}

.modal-gift-box-wrapper {
    position: relative;
    width: 140px;
    height: 130px;
    margin: 4px auto 10px;
}

.modal-gift-box-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 86, 179, 0.25));
    animation: modalGiftBounce 3s ease-in-out infinite;
}

@keyframes modalGiftBounce {

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

    50% {
        transform: translateY(-6px) scale(1.02);
    }
}

.sparkle-icon {
    position: absolute;
    font-size: 22px;
    line-height: 1;
    animation: sparklePulse 2.4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes sparklePulse {

    0%,
    100% {
        transform: scale(0.85) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
    }
}

.sparkle-left {
    top: 10px;
    left: -4px;
    color: #10b981;
}

.sparkle-right {
    top: 16px;
    right: -4px;
    color: #00baf2;
}

.reward-welcome-text {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 8px 0 4px;
    letter-spacing: -0.2px;
    text-align: center;
    width: 100%;
}

.reward-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4px 0 18px;
    text-align: center;
    width: 100%;
}

.reward-wing-line {
    width: 28px;
    height: 1.5px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(0, 186, 242, 0) 0%, rgba(0, 86, 179, 0.45) 100%);
    position: relative;
}

.reward-wing-line.right {
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.45) 0%, rgba(0, 186, 242, 0) 100%);
}

.reward-main-title {
    font-size: 38px;
    font-weight: 900;
    color: #0056b3;
    line-height: 1.12;
    letter-spacing: -0.6px;
    text-align: center;
}

.reward-timer-section {
    margin-bottom: 22px;
    text-align: center;
    width: 100%;
}

.timer-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
    width: 100%;
}

.timer-boxes-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.timer-unit-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.timer-number-box {
    background: #ffaa00;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
    width: 35px;
    height: 31px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 170, 0, 0.25);
}

.timer-unit-label {
    font-size: 9px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.4px;
}

.timer-colon {
    font-size: 16px;
    font-weight: 800;
    color: #94a3b8;
    margin: -12px 2px 0 2px;
}

.btn-claim-reward {
    width: 100%;
    height: 52px;
    background: #0041a8;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 65, 168, 0.35);
    transition: var(--transition-fast);
}

.btn-claim-reward:hover {
    background: #003387;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 65, 168, 0.45);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.paytm-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #002970;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 186, 242, 0.5);
}

.paytm-toast.show {
    transform: translateX(-50%) translateY(0);
}

.paytm-toast.success {
    background: #00b377;
    border-color: #00e699;
}

/* ==========================================================================
   Bottom Sheet Modals System (Fixes unstyled/unhidden modals)
   ========================================================================== */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 15, 38, 0.65) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 2500 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-bottom-sheet {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 480px !important;
    border-top-left-radius: 28px !important;
    border-top-right-radius: 28px !important;
    padding: 22px 20px 32px !important;
    box-shadow: 0 -10px 40px rgba(0, 41, 112, 0.25) !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    position: relative !important;
}

.modal-overlay.active .modal-bottom-sheet {
    transform: translateY(0) !important;
}

.sheet-handle-bar {
    width: 42px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 4px;
    margin: 0 auto 16px;
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sheet-title {
    font-size: 17px;
    font-weight: 800;
    color: #002970;
}

.sheet-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-fast);
}

.sheet-close-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ==========================================================================
   Amount Chips Row & Chips
   ========================================================================== */
.amount-chips-row {
    display: flex;
    gap: 8px;
    margin: 12px 0 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.amount-chips-row::-webkit-scrollbar {
    display: none;
}

.amount-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #002970;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.amount-chip:hover,
.amount-chip.active {
    background: #e0f7fa;
    border-color: #00baf2;
    color: #002970;
}

/* ==========================================================================
   Payment Success Receipt Card & Soundbox Pill
   ========================================================================== */
.success-receipt-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 22px 16px;
    text-align: center;
}

.success-check-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #00b377;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 12px;
    box-shadow: 0 6px 20px rgba(0, 179, 119, 0.35);
    animation: checkPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.receipt-amount-display {
    font-size: 32px;
    font-weight: 800;
    color: #191c24;
    margin: 6px 0;
}

.receipt-payee-name {
    font-size: 15px;
    font-weight: 700;
    color: #002970;
    margin-bottom: 4px;
}

.soundbox-visual-pill {
    background: linear-gradient(135deg, #002970 0%, #001f54 100%);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    margin: 12px 0 18px;
    box-shadow: 0 4px 14px rgba(0, 41, 112, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

.soundbox-visual-pill:hover {
    transform: scale(1.03);
}

.sound-wave-icon {
    color: #00baf2;
    animation: soundPulse 1s infinite alternate;
}

@keyframes soundPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ==========================================================================
   Scratch Card Container & Canvas
   ========================================================================== */
.scratch-card-container {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 12px auto 16px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    user-select: none;
}

.scratch-reward-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #fffbe6 0%, #ffeaa7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.cashback-win-amount {
    font-size: 40px;
    font-weight: 800;
    color: #d97706;
}

.cashback-win-text {
    font-size: 13px;
    font-weight: 700;
    color: #78350f;
}

#scratchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    z-index: 5;
}

/* ==========================================================================
   Balance & History (Exact Screenshot Match)
   ========================================================================== */
body:has(.bh-page-wrapper) .app-container {
    padding-bottom: 0 !important;
}

body:has(.bh-page-wrapper) .paytm-top-nav,
body:has(.bh-page-wrapper) .floating-scan-qr-container {
    display: none !important;
}

.bh-page-wrapper {
    background: #f7f9fc;
    min-height: 100vh;
    padding-bottom: 24px;
}

.bh-top-bar {
    padding: 16px 16px 4px 16px;
    display: flex;
    align-items: center;
}

.bh-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #181c24;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    margin-left: -4px;
    transition: transform var(--transition-fast);
}

.bh-back-btn:hover {
    transform: translateX(-3px);
}

.bh-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #181c24;
    padding: 10px 16px 20px 16px;
    letter-spacing: -0.5px;
    margin: 0;
}

.bh-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #181c24;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

/* Accounts Carousel */
.accounts-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 16px 16px 16px;
    margin: 0 -16px 8px -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.accounts-carousel::-webkit-scrollbar {
    display: none;
}

.account-card {
    min-width: 148px;
    width: 148px;
    height: 142px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.account-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.account-card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #181c24;
    line-height: 1.25;
}

.account-card-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
}

.btn-account-pill {
    background: #f0f4f9;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    border: none;
    padding: 7px 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-account-pill:hover {
    background: #e2e8f0;
}

.account-plus-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0050d8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Portfolio 2-column Grid */
.portfolio-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 14px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 96px;
    display: flex;
}

.portfolio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.gold-coin-disc {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe680 0%, #ffc000 50%, #d48800 100%);
    box-shadow: 0 4px 10px rgba(212, 136, 0, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffd54f;
    flex-shrink: 0;
}

.gold-coin-inner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px dashed rgba(180, 83, 9, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin-paytm-text {
    font-size: 8.5px;
    font-weight: 800;
    color: #b45309;
    letter-spacing: -0.2px;
}

/* Payment History Section */
.history-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.history-action-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.history-icon-btn {
    background: transparent;
    border: none;
    color: #181c24;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: transform 0.2s ease;
}

.history-icon-btn:hover {
    transform: scale(1.1);
}

.history-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    overflow: hidden;
    margin-bottom: 24px;
}

.month-header-banner {
    background: #f8fafc;
    border-radius: 14px;
    margin: 12px 12px 4px 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.month-header-banner:hover {
    background: #f1f5f9;
}

.month-chevron-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0066d6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-tx-item {
    padding: 16px 16px 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f8fafc;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.history-tx-item:hover {
    background: #fcfdfd;
}

.history-avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
}

.history-avatar-store {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0f7fa;
    color: #0088cc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
}

.badge-money-received {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bh-footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 24px 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

/* ==========================================================================
   Bank Transfers Screen (Exact Image 1 Match)
   ========================================================================== */
body:has(.bt-page-wrapper) .app-container {
    padding-bottom: 0 !important;
}

body:has(.bt-page-wrapper) .paytm-top-nav,
body:has(.bt-page-wrapper) .floating-scan-qr-container {
    display: none !important;
}

.bt-page-wrapper {
    background: #f7f9fc;
    min-height: 100vh;
    padding: 0 16px 30px;
}

.bt-top-bar {
    padding: 16px 0 4px 0;
    display: flex;
    align-items: center;
}

.bt-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #181c24;
    padding: 10px 0 20px 0;
    letter-spacing: -0.5px;
    margin: 0;
}

.bt-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 14px;
}

.bt-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.bt-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
}

.bt-row-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #181c24;
    line-height: 1.25;
}

.bt-row-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
}

.bt-arrow-icon {
    color: #181c24;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.bt-search-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 10px 16px;
    gap: 10px;
    margin-bottom: 16px;
}

.bt-search-pill input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-family: inherit;
    font-size: 13.5px;
    color: #181c24;
}

.bt-beneficiary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.bt-avatar-photo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.btn-pay-pill {
    background: #e8f0fe;
    color: #0066d6;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    border: none;
    padding: 6px 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-pay-pill:hover {
    background: #d0e2fe;
}

/* Bank Transfer History List Styles */
.bt-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 2px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.12s ease;
}

.bt-history-row:last-child {
    border-bottom: none;
}

.bt-history-row:hover {
    background: #f8fafc;
}

.bt-history-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.bt-history-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    margin-top: 3px;
}

.bt-history-amount {
    font-size: 15.5px;
    font-weight: 800;
    color: #181c24;
    text-align: right;
    letter-spacing: -0.2px;
}

.bt-history-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    margin-top: 2px;
}

.tbd-compact-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
}

.tbd-compact-history-item:last-child {
    border-bottom: none;
}


/* ==========================================================================
   Services & Search Screen (Exact Image 2 Match)
   ========================================================================== */
body:has(.services-page-wrapper) .app-container {
    padding-bottom: 0 !important;
}

body:has(.services-page-wrapper) .paytm-top-nav,
body:has(.services-page-wrapper) .floating-scan-qr-container {
    display: none !important;
}

.services-page-wrapper {
    background: #f7f9fc;
    min-height: 100vh;
    padding-bottom: 30px;
}

.services-search-header {
    padding: 12px 16px 14px;
}

.services-search-pill {
    background: #ffffff;
    border: 1.5px solid #94a3b8;
    border-radius: 9999px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

.services-search-pill input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: #181c24;
}

.services-section-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 16px;
    margin: 0 16px 14px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.services-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #181c24;
    margin-bottom: 18px;
}

.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
    text-align: center;
}

.service-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.service-box-item:hover {
    transform: translateY(-2px);
}

.service-box-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.service-box-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #181c24;
    line-height: 1.25;
}

/* ==========================================================================
   Messages Screen (Exact Image 3 Match)
   ========================================================================== */
body:has(.messages-page-wrapper) .app-container {
    padding-bottom: 0 !important;
}

body:has(.messages-page-wrapper) .paytm-top-nav,
body:has(.messages-page-wrapper) .floating-scan-qr-container {
    display: none !important;
}

.messages-page-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding-bottom: 90px;
}

.messages-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
}

.messages-search-bar {
    margin: 4px 16px 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.messages-tab-bar {
    display: flex;
    border-bottom: 1px solid #edf2f7;
    padding: 0 16px;
    margin-bottom: 12px;
}

.messages-tab-item {
    font-size: 14.5px;
    font-weight: 700;
    color: #181c24;
    padding-bottom: 8px;
    border-bottom: 3px solid #0056b3;
    cursor: pointer;
}

.messages-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.messages-item-row:hover {
    background: #f8fafc;
}

.messages-bottom-dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #002970;
    border-radius: 9999px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 25px rgba(0, 41, 112, 0.35);
    z-index: 1000;
}

.messages-dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   Profile Slide-out Drawer & Screen (Exact Reference Match)
   ========================================================================== */
.profile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.profile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.profile-drawer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 86%;
    max-width: 412px;
    height: 100vh;
    background: #f7f9fc;
    z-index: 2501;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.28);
    padding: 0 16px 40px;
    scrollbar-width: thin;
}

.profile-drawer-overlay.active .profile-drawer-container {
    transform: translateX(0);
}

@media (min-width: 481px) {
    .profile-drawer-container {
        left: max(0px, calc(50% - 240px));
        width: 422px;
        max-width: 88%;
    }
}

.pd-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 14px;
    position: sticky;
    top: 0;
    background: #f7f9fc;
    z-index: 10;
}

.pd-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 14px;
}

.pd-qr-frame {
    border: 4px solid #00baf2;
    border-bottom: 4.5px solid #002970;
    border-radius: 26px;
    padding: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.pd-bank-pill {
    background: #ffffff;
    border-radius: 9999px;
    padding: 10px 16px;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pd-btn-action-pill {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 9999px;
    padding: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #181c24;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: background 0.15s ease;
}

.pd-btn-action-pill:hover {
    background: #f1f5f9;
}

.pd-settings-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 16px 10px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.pd-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f8fafc;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pd-setting-item:last-child {
    border-bottom: none;
}

.pd-setting-item:hover {
    background: #fcfdfd;
}

.pd-setting-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
}

.pd-setting-title {
    font-size: 15px;
    font-weight: 700;
    color: #181c24;
    line-height: 1.25;
}

.pd-setting-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
    line-height: 1.35;
}

.pd-chevron {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 10px;
}

/* ==========================================================================
   Transfer to Bank Details & Payment Keypad Flow (Exact User Screenshots Match)
   ========================================================================== */
.tbd-page-container {
    background: #f4f6f8;
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.tbd-top-bar {
    padding: 16px 16px 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tbd-card-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 16px;
    margin: 8px 16px 14px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.tbd-floating-box {
    position: relative;
    border: 1.5px solid #64748b;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.tbd-floating-box:focus-within {
    border-color: #0066d6;
}

.tbd-floating-label {
    position: absolute;
    top: -10px;
    left: 14px;
    background: #ffffff;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.1px;
}

.tbd-input-text {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #181c24;
    background: transparent;
    padding: 2px 0;
}

.tbd-bank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tbd-card-lower {
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    min-height: 260px;
    margin: 0 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.01);
}

.tbd-btn-primary {
    background: #003e9c;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    padding: 14px 0;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 62, 156, 0.2);
}

.tbd-btn-primary:active {
    transform: scale(0.985);
    background: #00307d;
}

/* Bottom Sheet Modals */
.tbd-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.tbd-sheet-backdrop.active {
    display: flex;
}

.tbd-sheet-container {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px 24px 0 0;
    padding: 20px 20px 28px;
    box-sizing: border-box;
    animation: tbdSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 88vh;
    overflow-y: auto;
}

@keyframes tbdSlideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.tbd-sheet-handle {
    width: 44px;
    height: 4.5px;
    border-radius: 9999px;
    background: #64748b;
    margin: 0 auto 16px auto;
}

.tbd-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.tbd-sheet-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #64748b;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.tbd-sheet-close-btn:hover {
    background: #475569;
}

/* 12 Popular Bank Grid */
.tbd-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
    text-align: center;
    margin-bottom: 20px;
}

.tbd-popular-bank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 4px;
    border-radius: 12px;
    transition: background 0.15s ease, transform 0.1s ease;
}

.tbd-popular-bank-item:active {
    transform: scale(0.95);
    background: #f8fafc;
}

.tbd-bank-circle-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    margin-bottom: 6px;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.tbd-bank-circle-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tbd-popular-bank-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    line-height: 1.25;
    max-width: 72px;
}

.tbd-all-bank-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 4px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.15s ease;
}

.tbd-all-bank-row:hover {
    background: #f8fafc;
}

.tbd-all-bank-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

.tbd-all-bank-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Keypad & Proceed Securely Screen */
.tbd-keypad-screen {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    background: #ffffff;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.tbd-avatar-yellow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fef08a;
    color: #854d0e;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.tbd-amount-display {
    font-size: 56px;
    font-weight: 800;
    color: #94a3b8;
    text-align: center;
    margin: 36px 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -1px;
}

.tbd-amount-display.active-amount {
    color: #181c24;
}

.tbd-tags-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 16px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tbd-tags-scroll::-webkit-scrollbar {
    display: none;
}

.tbd-tag-pill {
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 7px 15px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.tbd-bank-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin: 0 16px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    box-sizing: border-box;
}

.tbd-bank-strip-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tbd-bank-strip-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.tbd-bank-strip-info {
    min-width: 0;
}

.tbd-bank-strip-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #181c24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbd-bank-strip-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 1px;
}

.tbd-check-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0066d6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tbd-keypad-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 6px 16px 18px;
    background: #ffffff;
}

.tbd-key-btn {
    height: 52px;
    border-radius: 12px;
    background: #f4f5f8;
    border: none;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #181c24;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.1s ease, transform 0.05s ease;
    user-select: none;
}

.tbd-key-btn:active {
    transform: scale(0.95);
    background: #e2e8f0;
}

.tbd-key-col-3 {
    grid-column: span 2;
}

.tbd-key-plus {
    grid-column: span 1;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 24px;
    font-weight: 800;
}

.tbd-key-dot {
    grid-column: span 1;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.tbd-key-zero {
    grid-column: span 2;
}

.tbd-key-backspace {
    grid-column: span 2;
}

/* Android Navigation Bar */
.tbd-android-gesture-bar {
    width: 134px;
    height: 4px;
    background: #181c24;
    border-radius: 9999px;
    margin: 10px auto 6px;
}

/* ==========================================================================
   Pay Anyone & Contacts Screens (Exact Screenshot Match)
   ========================================================================== */
body:has(.pa-page-wrapper) .app-container {
    padding-bottom: 0 !important;
}

body:has(.pa-page-wrapper) .paytm-top-nav,
body:has(.pa-page-wrapper) .floating-scan-qr-container {
    display: none !important;
}

.pa-page-wrapper {
    background: #f7f9fc;
    min-height: 100vh;
    padding: 0 16px 24px;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.pa-top-bar {
    padding: 16px 0 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pa-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #181c24;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 4px;
}

.pa-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #181c24;
    margin: 8px 0 0;
    letter-spacing: -0.5px;
}

.pa-page-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 3px 0 0;
    font-weight: 500;
}

.pa-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 20px;
}

.pa-search-pill {
    flex: 1;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 12px 18px;
    background: #ffffff;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.pa-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #181c24;
    width: 100%;
}

.pa-search-input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.pa-contacts-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0056b3;
    flex-shrink: 0;
    text-decoration: none;
}

.pa-contacts-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066d6;
}

.pa-contacts-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
}

.pa-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #181c24;
    margin: 0 0 12px;
    letter-spacing: -0.2px;
}

.pa-suggestions-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.pa-suggestion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    width: 72px;
    text-align: center;
}

.pa-suggestion-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    margin-bottom: 6px;
    background: #e0f2fe;
}

.pa-suggestion-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #181c24;
    line-height: 1.25;
}

.pa-cashback-banner {
    background: #e0f2fe;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #bae6fd;
}

.pa-pills-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 14px;
}

.pa-pills-row::-webkit-scrollbar {
    display: none;
}

.pa-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #181c24;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: background 0.15s ease;
}

.pa-pill-btn:hover {
    background: #f8fafc;
}

.pa-split-banner {
    background: linear-gradient(90deg, #dcfce7 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    border: 1px solid #bbf7d0;
}

.pa-recent-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pa-contacts-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 6px 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pa-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pa-contact-row:last-child {
    border-bottom: none;
}

.pa-contact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    margin-right: 14px;
    flex-shrink: 0;
    object-fit: cover;
}

.pa-contact-info {
    flex: 1;
    min-width: 0;
}

.pa-contact-name {
    font-size: 15px;
    font-weight: 700;
    color: #181c24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pa-contact-phone {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

.pa-pay-btn {
    background: #edf5fe;
    border: 1px solid #bfdbfe;
    color: #0066d6;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 9999px;
    padding: 6px 18px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-block;
}

.pa-pay-btn:hover {
    background: #0066d6;
    color: #ffffff;
    border-color: #0066d6;
}

.pa-pay-btn:active {
    transform: scale(0.96);
}

.pa-footer-watermark {
    text-align: center;
    padding: 24px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pa-gesture-bar {
    width: 134px;
    height: 4px;
    background: #94a3b8;
    border-radius: 9999px;
    opacity: 0.6;
}

/* ==========================================================================
   Profile Settings & Language Selection Screens (Exact Screenshot Match)
   ========================================================================== */
.ps-page-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding: 0 16px 30px;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.ps-top-bar {
    padding: 16px 0 8px;
    display: flex;
    align-items: center;
}

.ps-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #181c24;
    margin: 12px 0 18px;
    letter-spacing: -0.3px;
}

.ps-menu-list {
    display: flex;
    flex-direction: column;
}

.ps-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s ease;
    user-select: none;
}

.ps-menu-item:active {
    opacity: 0.7;
}

.ps-menu-item:last-child {
    border-bottom: none;
}

.ps-menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #181c24;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-menu-content {
    flex: 1;
    min-width: 0;
}

.ps-menu-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #181c24;
    line-height: 1.25;
}

.ps-menu-desc {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.4;
    margin-top: 3px;
}

/* Language Selection View */
.lang-page-wrapper {
    background: #f8fafc;
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.lang-top-bar {
    padding: 16px 16px 8px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 10;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 12px 16px 140px;
}

.lang-card {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 20px;
    padding: 16px 14px 12px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 145px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    user-select: none;
}

.lang-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lang-card.active {
    border-color: #003e9c;
    background: #f0f7ff;
    box-shadow: 0 4px 16px rgba(0, 62, 156, 0.12);
}

.lang-card-header {
    display: flex;
    flex-direction: column;
}

.lang-card-native {
    font-size: 17px;
    font-weight: 800;
    color: #181c24;
    letter-spacing: -0.2px;
}

.lang-card-english {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

.lang-card-img-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 75px;
    margin-top: 8px;
}

.lang-card-img {
    max-height: 75px;
    max-width: 90px;
    object-fit: contain;
    display: block;
}

.lang-check-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #003e9c;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 62, 156, 0.3);
}

.lang-card.active .lang-check-badge {
    display: flex;
}

.lang-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    padding: 12px 16px 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    z-index: 100;
    text-align: center;
}

.lang-continue-btn {
    width: 100%;
    background: #003e9c;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 0;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease, transform 0.1s ease;
    box-shadow: 0 3px 10px rgba(0, 62, 156, 0.2);
}

.lang-continue-btn:hover {
    background: #00307d;
}

.lang-continue-btn:active {
    transform: scale(0.985);
}

/* ==========================================================================
   Google Translate Engine - Official Paytm App Theme
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.skiptranslate iframe,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.goog-tooltip, .goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Branded Google Translate Container in Language View */
.lang-google-box {
    background: #ffffff;
    border: 1.5px solid #e0f2fe;
    border-radius: 18px;
    padding: 16px;
    margin: 4px 16px 14px;
    box-shadow: 0 2px 10px rgba(0, 186, 242, 0.08);
}

.lgb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.lgb-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 800;
    color: #002970;
}

.lgb-status-badge {
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lgb-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* Google Translate Gadget Styling */
.goog-te-gadget {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #64748b !important;
    font-size: 12.5px !important;
}

.goog-te-gadget .goog-te-combo {
    width: 100% !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    border: 1.5px solid #00baf2 !important;
    background: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0a192f !important;
    cursor: pointer !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.goog-te-gadget .goog-te-combo:focus {
    border-color: #002970 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 186, 242, 0.18) !important;
}

.goog-te-gadget .goog-logo-link,
.goog-te-gadget a {
    display: none !important;
}

.goog-te-gadget > span:last-child {
    display: inline-block !important;
    margin-top: 6px !important;
    font-size: 11px !important;
    color: #64748b !important;
    opacity: 0.8 !important;
}

/* ==========================================================================
   Global Paytm 5-Dot Pulsing Loader (Official Screenshot Match)
   ========================================================================== */
.paytm-dot-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.paytm-dot-loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.paytm-5dots-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.paytm-dot {
    background-color: #004bb1;
    border-radius: 50%;
    display: inline-block;
    transform: scale(0.65);
    opacity: 0.4;
    animation: paytmDotPulse 1.1s infinite ease-in-out;
}

.paytm-dot.dot-1 {
    width: 4.5px;
    height: 4.5px;
    animation-delay: 0s;
}

.paytm-dot.dot-2 {
    width: 6.5px;
    height: 6.5px;
    animation-delay: 0.15s;
}

.paytm-dot.dot-3 {
    width: 9.5px;
    height: 9.5px;
    animation-delay: 0.3s;
}

.paytm-dot.dot-4 {
    width: 6.5px;
    height: 6.5px;
    animation-delay: 0.45s;
}

.paytm-dot.dot-5 {
    width: 4.5px;
    height: 4.5px;
    animation-delay: 0.6s;
}

@keyframes paytmDotPulse {
    0%, 100% {
        transform: scale(0.65);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
    }
}