/**
 * TopupLit Styles - Dark Mode
 * Beautiful, mobile-first design with particles and animations
 */

/* ============================================
   CSS Variables & Theme (Dark Mode)
   ============================================ */
:root {
    /* Primary Theme - Golden Amber */
    --primary-hue: 38;
    --primary: hsl(var(--primary-hue), 92%, 50%);
    --primary-light: hsl(var(--primary-hue), 92%, 60%);
    --primary-dark: hsl(var(--primary-hue), 92%, 42%);
    --primary-glow: hsla(var(--primary-hue), 92%, 50%, 0.35);
    
    /* Dark Background */
    --bg-primary: #09090b;
    --bg-secondary: #0c0c0f;
    --bg-tertiary: #111114;
    --bg-card: rgba(24, 24, 27, 0.8);
    --bg-card-hover: rgba(32, 32, 36, 0.9);
    --bg-card-active: rgba(39, 39, 42, 0.95);
    
    /* Surface Colors */
    --surface: rgba(24, 24, 27, 0.7);
    --surface-hover: rgba(32, 32, 36, 0.85);
    --surface-active: rgba(39, 39, 42, 0.95);
    
    /* Text Colors */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-inverse: #09090b;
    
    /* Accent Colors */
    --success: hsl(142, 71%, 45%);
    --error: hsl(0, 84%, 60%);
    --warning: hsl(38, 92%, 50%);
    --info: hsl(200, 98%, 48%);
    
    /* Borders & Shadows */
    --border: rgba(63, 63, 70, 0.5);
    --border-subtle: rgba(63, 63, 70, 0.3);
    --border-focus: var(--primary);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    /* Dimensions */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Safe Areas */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Animated Background
   ============================================ */
.bg-gradient {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(245, 158, 11, 0.08), transparent),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    z-index: -3;
}

/* Animated Grid Pattern */
.bg-pattern {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
    transform-origin: center;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Particles Container */
.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* Generate particles with different delays */
.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 15%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 25%; animation-delay: 4s; animation-duration: 11s; }
.particle:nth-child(4) { left: 35%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 45%; animation-delay: 3s; animation-duration: 13s; }
.particle:nth-child(6) { left: 55%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(7) { left: 65%; animation-delay: 0.5s; animation-duration: 12s; }
.particle:nth-child(8) { left: 75%; animation-delay: 2.5s; animation-duration: 14s; }
.particle:nth-child(9) { left: 85%; animation-delay: 4.5s; animation-duration: 11s; }
.particle:nth-child(10) { left: 95%; animation-delay: 1.5s; animation-duration: 16s; }
.particle:nth-child(11) { left: 10%; animation-delay: 6s; animation-duration: 13s; }
.particle:nth-child(12) { left: 30%; animation-delay: 7s; animation-duration: 15s; }
.particle:nth-child(13) { left: 50%; animation-delay: 8s; animation-duration: 12s; }
.particle:nth-child(14) { left: 70%; animation-delay: 9s; animation-duration: 14s; }
.particle:nth-child(15) { left: 90%; animation-delay: 10s; animation-duration: 11s; }

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--space-sm);
    padding-top: calc(var(--safe-top) + var(--space-sm));
    padding-bottom: calc(var(--safe-bottom) + 90px);
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 480px) {
    .container {
        max-width: 460px;
        padding: var(--space-md);
        padding-bottom: calc(var(--safe-bottom) + 100px);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 680px;
        padding: var(--space-xl);
        padding-bottom: calc(var(--safe-bottom) + 120px);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }
}

/* ============================================
   Header
   ============================================ */
@font-face {
    font-family: 'Stormlight';
    src: url('../fonts/Stormlight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.header {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-md);
    animation: fadeInDown 0.6s var(--ease-out) both;
    position: relative;
}

/* Auth Button in Header */
.header .user-auth-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 10;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon {
    font-size: 2.5rem;
    font-style: italic;
    display: inline-block;
    transform: skewX(-10deg);
    animation: headerLightningPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px var(--primary-glow));
}

@keyframes headerLightningPulse {
    0%, 100% { transform: skewX(-10deg) scale(1); filter: drop-shadow(0 0 12px var(--primary-glow)); }
    50% { transform: skewX(-10deg) scale(1.05); filter: drop-shadow(0 0 20px var(--primary-glow)); }
}

.logo-text {
    font-family: 'Stormlight', 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: normal;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary-light) 16.66%,
        hsl(50, 100%, 85%) 33.33%,
        var(--primary-light) 50%,
        var(--primary) 66.66%,
        var(--primary-light) 83.33%,
        hsl(50, 100%, 85%) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: headerGradient 3s linear infinite;
    display: flex;
    align-items: baseline;
    padding-right: 6px;
    filter: drop-shadow(1px 1px 0px hsl(35, 90%, 25%))
            drop-shadow(2px 2px 0px hsl(35, 80%, 20%))
            drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

.logo-text .cap {
    font-size: 2rem;
}

.logo-text .lower {
    font-size: 1.5rem;
}

@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: -200% 50%; }
}

/* Header Speed Lines */
.header-speed-lines {
    position: absolute;
    width: 100%;
    height: 60px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.header-speed-line {
    position: absolute;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, hsl(50, 100%, 85%) 50%, var(--primary) 80%, transparent 100%);
    border-radius: 2px;
    opacity: 0;
    animation: headerSpeedLine 2s ease-out infinite;
}

.header-speed-line:nth-child(1) { width: 60px; top: 25%; left: 5%; animation-delay: 0s; }
.header-speed-line:nth-child(2) { width: 40px; top: 50%; left: 8%; animation-delay: 0.4s; }
.header-speed-line:nth-child(3) { width: 50px; top: 75%; left: 3%; animation-delay: 0.8s; }
.header-speed-line:nth-child(4) { width: 55px; top: 30%; right: 5%; left: auto; animation-delay: 0.2s; animation-name: headerSpeedLineRight; }
.header-speed-line:nth-child(5) { width: 35px; top: 60%; right: 8%; left: auto; animation-delay: 0.6s; animation-name: headerSpeedLineRight; }

@keyframes headerSpeedLine {
    0% { opacity: 0; transform: translateX(0) scaleX(0.3); }
    20% { opacity: 0.6; transform: translateX(15px) scaleX(1); }
    100% { opacity: 0; transform: translateX(60px) scaleX(0.5); }
}

@keyframes headerSpeedLineRight {
    0% { opacity: 0; transform: translateX(0) scaleX(0.3); }
    20% { opacity: 0.6; transform: translateX(-15px) scaleX(1); }
    100% { opacity: 0; transform: translateX(-60px) scaleX(0.5); }
}

.tagline {
    margin-top: var(--space-xs);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    transform: skewX(-3deg);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

/* ============================================
   Product Tabs
   ============================================ */
.product-tabs {
    margin-bottom: var(--space-lg);
    animation: fadeIn 0.6s var(--ease-out) 0.1s both;
}

.tabs-container {
    position: relative;
    display: flex;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 4px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    z-index: 1;
    min-height: 48px;
}

.tab-btn.active {
    color: var(--text-inverse);
}

.tab-icon {
    font-size: 1.2rem;
    transition: transform var(--duration-normal) var(--ease-spring);
}

.tab-btn.active .tab-icon {
    transform: scale(1.15);
}

.tab-btn:not(.active):hover {
    color: var(--text-secondary);
}

.tab-btn:not(.active):hover .tab-icon {
    transform: scale(1.1);
}

.tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    transition: transform var(--duration-normal) var(--ease-spring);
    z-index: 0;
}

.tab-btn:last-of-type.active ~ .tab-indicator {
    transform: translateX(100%);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

/* ============================================
   Packages Section
   ============================================ */
.packages-section {
    margin-bottom: var(--space-lg);
    animation: fadeIn 0.6s var(--ease-out) 0.2s both;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

@media (min-width: 480px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-md);
    }
}

@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-2xl) var(--space-md);
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.loading-skeleton {
    display: contents;
}

.skeleton-card {
    height: 100px;
    background: linear-gradient(
        90deg,
        var(--surface) 25%,
        var(--surface-hover) 50%,
        var(--surface) 75%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-md);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Package Card */
.package-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.4s var(--ease-out) forwards;
    animation-delay: calc(var(--index, 0) * 30ms);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 85px;
}

@media (min-width: 480px) {
    .package-card {
        border-radius: var(--radius-md);
        padding: var(--space-md);
        min-height: 100px;
    }
}

@media (min-width: 768px) {
    .package-card {
        min-height: 110px;
    }
}

.package-card:hover {
    transform: translateY(-2px);
    background: var(--bg-card-hover);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

.package-card:active {
    transform: translateY(0) scale(0.98);
}

.package-card.selected {
    border-color: var(--primary);
    background: var(--bg-card-active);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-glow);
}

.package-emoji {
    font-size: 1.1rem;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (min-width: 480px) {
    .package-emoji {
        font-size: 1.3rem;
        margin-bottom: var(--space-xs);
    }
}

.package-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

@media (min-width: 480px) {
    .package-amount {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .package-amount {
        font-size: 1.1rem;
    }
}

.package-name {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (min-width: 480px) {
    .package-name {
        font-size: 0.7rem;
        margin-top: 2px;
    }
}

.package-price {
    margin-top: auto;
    padding-top: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

@media (min-width: 480px) {
    .package-price {
        padding-top: var(--space-sm);
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .package-price {
        font-size: 0.9rem;
    }
}

/* Best Value Badge */
.package-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 480px) {
    .package-badge {
        top: -6px;
        right: -6px;
        font-size: 0.55rem;
        padding: 3px 6px;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   Glass Card
   ============================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Customer Section
   ============================================ */
.customer-section {
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeIn 0.6s var(--ease-out) 0.3s both;
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.help-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.help-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.optional-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.required-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    padding-right: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--duration-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px hsla(0, 84%, 60%, 0.2);
}

.form-input.success {
    border-color: var(--success);
}

.form-input.with-prefix {
    padding-left: 48px;
}

.input-prefix {
    position: absolute;
    left: var(--space-md);
    color: var(--text-muted);
    font-weight: 500;
    pointer-events: none;
}

.input-icon {
    position: absolute;
    right: var(--space-md);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon svg {
    width: 18px;
    height: 18px;
}

.input-icon.loading {
    animation: spin 1s linear infinite;
}

.input-icon.success {
    color: var(--success);
}

.input-icon.error {
    color: var(--error);
}

.input-hint {
    margin-top: var(--space-xs);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.input-hint.error {
    color: var(--error);
}

/* Mini Profile Card */
.mini-profile {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    animation: slideIn 0.4s var(--ease-out);
}

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

.mini-profile-cover {
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.mini-profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.mini-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 var(--space-md);
    margin-top: -32px;
    position: relative;
    z-index: 1;
}

.mini-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 3px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-profile-verified {
    margin-top: 36px;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.mini-profile-verified svg {
    width: 14px;
    height: 14px;
}

.mini-profile-info {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.mini-profile-name {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.mini-profile-name .nickname {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mini-profile-name .gender-age {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--surface);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.mini-profile-bio {
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
    word-break: break-word;
}

.mini-profile-bio:empty {
    display: none;
}

@media (min-width: 480px) {
    .mini-profile-bio {
        font-size: 0.8rem;
    }
}

/* Bio mention badge link */
.bio-mention {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.bio-mention:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.mini-profile-meta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mini-profile-id {
    margin-top: var(--space-sm);
}

.id-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.id-value {
    display: block;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
    cursor: text;
}

/* Remember Section */
.remember-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    background: var(--bg-tertiary);
    transition: all var(--duration-fast);
    position: relative;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: translate(-50%, -60%) rotate(45deg) scale(0);
    transition: transform var(--duration-fast) var(--ease-spring);
}

.checkbox-wrapper input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-wrapper input:checked + .checkbox-custom::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.forget-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--error);
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}

.forget-btn:hover {
    background: hsla(0, 84%, 60%, 0.1);
}

/* ============================================
   Sticky CTA
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    padding-bottom: calc(var(--safe-bottom) + var(--space-md));
    background: linear-gradient(to top, var(--bg-primary) 70%, transparent);
    z-index: 100;
}

.cta-btn {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-inverse);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    min-height: 48px;
}

@media (min-width: 480px) {
    .cta-btn {
        max-width: 420px;
        font-size: 1rem;
        min-height: 52px;
    }
}

@media (min-width: 768px) {
    .cta-btn {
        max-width: 500px;
    }
}

.cta-btn:disabled {
    background: var(--surface);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

.cta-btn:not(:disabled):hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 0 50px var(--primary-glow);
}

.cta-btn:not(:disabled):active {
    transform: translateY(0) scale(0.98);
}

.cta-price {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

/* ============================================
   Modals
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
        padding: var(--space-xl);
    }
    
    .modal-content {
        transform: translateY(20px) scale(0.95);
        border-radius: var(--radius-lg);
    }
    
    .modal-overlay.active .modal-content {
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.modal-close:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    padding: var(--space-lg);
}

.modal-footer {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    padding-bottom: calc(var(--safe-bottom) + var(--space-lg));
    border-top: 1px solid var(--border-subtle);
}

/* Order Summary */
.order-summary {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.order-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.order-value {
    font-weight: 600;
    color: var(--text-primary);
}

.order-price {
    font-size: 1.05rem;
    color: var(--primary);
}

.order-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: var(--space-sm) 0;
}

.order-warning {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.order-warning svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--warning);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-spring);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-primary.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.btn-primary.whatsapp-btn:hover {
    box-shadow: var(--shadow-lg), 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn-secondary:hover {
    background: var(--surface-hover);
}

/* Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

/* ============================================
   Help Modal
   ============================================ */
.help-modal {
    max-width: 380px;
}

.help-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.help-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.step-number {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-top: 2px;
}

.help-step strong {
    color: var(--text-primary);
}

.help-note {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.help-note strong {
    color: var(--primary);
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: calc(var(--safe-top) + var(--space-md));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
    width: calc(100% - var(--space-xl));
    max-width: 360px;
}

.toast {
    background: var(--bg-card-active);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 500;
    pointer-events: auto;
    animation: toastIn 0.3s var(--ease-out);
    backdrop-filter: blur(10px);
}

.toast.toast-out {
    animation: toastOut 0.2s var(--ease-out) forwards;
}

.toast.success {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.toast.error {
    border-color: var(--error);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    position: relative;
    z-index: 10;
    padding: var(--space-xl) var(--space-md);
    padding-bottom: calc(var(--safe-bottom) + 120px);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, transparent 0%, rgba(9, 9, 11, 0.8) 100%);
}

.footer-content {
    max-width: 400px;
    margin: 0 auto;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.footer-author {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--duration-fast) var(--ease-out);
}

.footer-author:hover {
    color: var(--primary-light);
    text-shadow: 0 0 12px var(--primary-glow);
}

.footer-community {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.footer-copyright {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Agent Registration CTA */
.agent-cta {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
}

.agent-cta-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.agent-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
}

.agent-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.agent-cta-btn svg {
    width: 16px;
    height: 16px;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 0 auto var(--space-lg);
}

/* ============================================
   Show More Button
   ============================================ */
.hidden-packages {
    display: contents;
}

.show-more-btn {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-sm);
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.show-more-btn:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.show-more-btn:active {
    transform: scale(0.98);
}

.show-more-text {
    font-weight: 600;
}

.show-more-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

.show-more-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-normal) var(--ease-out);
}

.show-more-icon.rotated {
    transform: rotate(180deg);
}

.show-more-btn.expanded {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--primary);
    border-style: solid;
    color: var(--primary);
}

/* ============================================
   Bank Selection Modal
   ============================================ */
.bank-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bank-modal.active {
    opacity: 1;
    visibility: visible;
}

.bank-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.bank-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bank-modal.active .bank-modal-content {
    transform: translateY(0);
}

@media (min-width: 640px) {
    .bank-modal {
        align-items: center;
    }
    
    .bank-modal-content {
        border-radius: var(--radius-xl);
        max-height: 85vh;
        margin: var(--space-md);
    }
}

.bank-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.bank-modal-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.bank-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--surface);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out);
    color: var(--text-secondary);
}

.bank-modal-close:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.bank-modal-close svg {
    width: 18px;
    height: 18px;
}

.bank-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.bank-modal-body::-webkit-scrollbar {
    width: 6px;
}

.bank-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.bank-modal-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* Bank Order Summary */
.bank-order-summary {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.bank-order-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bank-order-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bank-order-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bank-order-price {
    color: var(--primary);
}

.bank-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 0 var(--space-md) 0;
    text-align: center;
}

/* Bank Sections */
.bank-section {
    margin-bottom: var(--space-lg);
}

.bank-section:last-of-type {
    margin-bottom: 0;
}

.bank-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 var(--space-sm) 0;
}

/* Bank Grid */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

@media (min-width: 400px) {
    .bank-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-md);
    }
}

@media (min-width: 500px) {
    .bank-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.bank-btn {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--space-sm);
    background: var(--surface);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    animation: bankFadeIn 0.4s ease-out forwards;
    opacity: 0;
    min-width: 0;
}

@keyframes bankFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bank-btn:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.bank-btn.selected {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.bank-btn.offline {
    opacity: 0.4;
    pointer-events: none;
}

/* Bank Logo Wrapper */
.bank-logo-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 400px) {
    .bank-logo-wrapper {
        width: 48px;
        height: 48px;
    }
}

.bank-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bank-btn img.loaded {
    opacity: 1;
}

/* Bank Initials Fallback */
.bank-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(35, 90%, 45%) 100%);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

@media (min-width: 400px) {
    .bank-initials {
        font-size: 1.1rem;
    }
}

.bank-btn .bank-name {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-word;
}

@media (min-width: 400px) {
    .bank-btn .bank-name {
        font-size: 0.65rem;
    }
}

/* Bank Loading */
.bank-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.bank-loading .loading-spinner {
    width: 32px;
    height: 32px;
}

/* Bank Modal Footer */
.bank-modal-footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-tertiary);
}

.bank-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.bank-security svg {
    width: 14px;
    height: 14px;
    color: var(--success);
}
