@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');/* andes/frontend/src/OpenAccount.css */

/* --- General Form Styling --- */
.open-account-page {
    background-color: var(--white);
    padding: 40px 0 80px;
    text-align: center;
}

.step-form-content {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 30px;
    border: 1px solid var(--dark-gray);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.step-form-content h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: center;
}

.step-form-content .subtitle {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dark-gray);
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(252, 163, 17, 0.2);
}
.country-code {
    padding: 12px;
    background-color: var(--dark-gray);
    border: 1px solid var(--dark-gray);
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-weight: 600;
}
.form-group input[id="phone"] {
    border-radius: 0 6px 6px 0 !important;
}

/* --- Toast Notification --- */
.app-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}
.toast-info {
    background-color: #e6f7ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.toast-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.toast-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* --- Progress Bar --- */
.progress-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--dark-gray);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.step-bubble {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 2px solid var(--dark-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--light-text-color);
    position: relative;
    z-index: 2;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.step-bubble.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.step-label {
    position: absolute;
    top: 110%;
    white-space: nowrap;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--light-text-color);
}

.step-bubble.active .step-label {
    color: var(--primary-color);
}


/* --- Step 1: Verification Specifics --- */
.input-with-button {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.input-with-button input {
    flex-grow: 1;
}
.input-with-button button {
    flex-shrink: 0;
    padding: 12px 15px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
}
.input-with-button button:disabled {
    background-color: var(--dark-gray);
    color: var(--light-text-color);
    cursor: not-allowed;
}

.verification-block {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.otp-container {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
}

.otp-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.otp-input {
    width: 40px !important;
    height: 40px;
    text-align: center;
    font-size: 1.2em !important;
    font-weight: 700;
    border: 2px solid var(--dark-gray) !important;
    border-radius: 4px !important;
}

.otp-input:focus {
    border-color: var(--primary-color) !important;
}

.btn-verify {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 700;
}

.verification-success {
    color: #28a745;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}
.verification-success i {
    margin-right: 5px;
}

/* --- Resend Timer Button Styling --- */
.btn-resend-timer {
    background-color: var(--accent-color);
    color: var(--primary-color);
    position: relative;
    border-radius: 50% !important;
    overflow: hidden;
    transition: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85em;
    font-weight: 700;
}
.btn-resend-timer.counting {
    cursor: default;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
}
.timer-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.bg-circle {
    fill: none;
    stroke: var(--dark-gray);
    stroke-width: 4;
}
.progress-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    transition: stroke-dashoffset 1s linear;
}
.timer-text {
    position: relative;
    z-index: 10;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--primary-color);
}


/* --- Step 3: Account Selection --- */
.account-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.account-card {
    border: 2px solid var(--dark-gray);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}
.account-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.account-card.selected {
    border-color: var(--primary-color);
    background-color: #f0f8ff;
}
.account-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4em;
}
.account-card ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9em;
    color: var(--light-text-color);
    margin-top: 10px;
}
.account-card ul li:before {
    content: "✓";
    margin-right: 5px;
    color: #28a745;
    font-weight: bold;
}

/* --- Step 4: Review --- */
.review-summary {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.review-summary h3 {
    text-align: center;
    border-bottom: 1px solid var(--dark-gray);
    padding-bottom: 10px;
    margin-top: 0;
}
.summary-details p {
    margin-bottom: 8px;
    font-size: 1em;
}

.legal-acceptance {
    border-top: 1px solid var(--dark-gray);
    padding-top: 20px;
}

/* --- Navigation --- */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.next-step-btn {
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .step-form-content { padding: 15px; }
    .otp-inputs { gap: 4px; }
    .otp-input { width: 35px !important; height: 35px; font-size: 1em !important; }
    .account-selection-grid { grid-template-columns: 1fr; }
}.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #003366; /* Andes Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Small gap between icon and bar */
}

.loading-icon {
    font-size: 3rem; /* Small, elegant size */
    color: #fca311; /* Gold */
    animation: pulseIcon 1.5s infinite ease-in-out;
}

.loading-progress-bar {
    width: 50px; /* Matches the width of the icon roughly */
    height: 3px; /* Very sleek line */
    background-color: rgba(255, 255, 255, 0.15); /* Faint track */
    border-radius: 10px;
    overflow: hidden;
}

.loading-progress-fill {
    height: 100%;
    background-color: #fca311; /* Gold Fill */
    width: 0%;
    animation: fillProgress 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Animations */
@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.85; }
}

@keyframes fillProgress {
    0% { width: 0%; transform: translateX(0); }
    50% { width: 100%; transform: translateX(0); }
    100% { width: 100%; transform: translateX(100%); }
}


/* =========================================
   1. IMPORTS & VARIABLES
   ========================================= */
:root {
    --blue: #003366;
    --dark-blue: #001a33;
    --gold: #fca311;
    --gold-hover: #e59400;
    --white: #ffffff;
    --bg-light: #f4f7f6;

    /* UI Variables */
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-card: 0 4px 15px rgba(0,0,0,0.05);
}
/* =========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================= */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: #333;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden; /* Prevent side scroll on mobile */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: 'Poppins', sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Utility Classes */
.mobile-only { display: none !important; }
.desktop-only { display: flex !important; }
.full-width { width: 100%; }
/* Animations */
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.animate-slide-up { animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
/* =========================================
   3. HEADER & NAVIGATION (Homepage)
   ========================================= */
.simple-header {
    background: var(--blue);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
}
.logo i { color: var(--gold); margin-bottom: 5px; font-size: 1.5rem; }
.logo h1 { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.main-nav a { color: var(--white); margin: 0 15px; font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: var(--gold); }
.btn-login-nav {
    background: var(--gold);
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-md);
    color: var(--blue);
    transition: background 0.3s;
}
.btn-login-nav:hover { background: var(--white); }
/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section { position: relative; height: 500px; overflow: hidden; background: #000; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s;
}
.hero-slide.active { opacity: 0.6; }
.hero-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    z-index: 2; color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}
.hero-content h1 { font-size: 2.5rem; margin-bottom: 10px; line-height: 1.2; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.btn-cta {
    background: var(--gold);
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    color: var(--blue);
    box-shadow: 0 5px 15px rgba(252, 163, 17, 0.4);
    transition: transform 0.2s;
}
.btn-cta:hover { transform: translateY(-3px); background: #fff; }
/* =========================================
   5. FEATURE GRID (Homepage)
   ========================================= */
.feature-section {
    padding: 60px 20px;
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
}
.feature-grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    justify-items: center;
}
.feature-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-10px); }
.icon-wrapper {
    width: 65px; height: 65px;
    background: #eef4ff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 15px;
    color: var(--blue);
    font-size: 1.5rem;
    transition: background 0.3s;
}
.feature-card:hover .icon-wrapper { background: var(--gold); color: var(--blue); }
.feature-card p { font-weight: 600; color: var(--blue); margin: 0; }
/* =========================================
   6. INFO & SECURITY SECTION
   ========================================= */
.info-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 20px 80px;
}
.section-title {
    color: var(--blue);
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.news-card {
    background: white; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-card); transition: box-shadow 0.3s;
}
.news-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-content { padding: 20px; }
.news-content h4 { margin: 0 0 10px; color: var(--blue); font-size: 1rem; }
.news-content .date { color: #888; font-size: 0.85rem; }
.security-box {
    background: var(--blue);
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,30,80,0.3);
}
.security-icon { font-size: 3rem; color: var(--gold); margin-bottom: 15px; }
.security-box h3 { margin: 0 0 5px; font-size: 1rem; opacity: 0.9; }
.security-box h4 { margin: 0 0 20px; font-size: 1.4rem; color: var(--gold); }
.btn-security {
    display: inline-block; background: var(--gold); color: var(--blue);
    padding: 10px 25px; border-radius: 50px; font-weight: bold;
    transition: background 0.3s;
}
.btn-security:hover { background: white; }
/* =========================================
   7. FOOTER
   ========================================= */
.simple-footer { background: var(--dark-blue); color: #ccc; padding: 50px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.footer-grid a { display: block; color: #aaa; margin-bottom: 10px; transition: color 0.2s; }
.footer-grid a:hover { color: white; }
.footer-bottom { background: #001222; text-align: center; padding: 20px; font-size: 0.85rem; color: #666; }
/* =========================================
   8. AUTH & FORMS
   ========================================= */
.auth-container, .contact-page, .rejection-page {
    padding: 60px 20px;
    display: flex; flex-direction: column; align-items: center;
    min-height: 70vh;
}
.auth-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    width: 100%; max-width: 400px;
}
.input-field, input {
    width: 100%; padding: 12px 15px; margin: 8px 0 20px;
    border: 1px solid #e0e0e0; border-radius: 8px;
    box-sizing: border-box; font-family: inherit; font-size: 1rem;
    background: #f9f9f9;
}
.input-field:focus, input:focus { outline: 2px solid var(--blue); border-color: transparent; }
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: #333; color: white; padding: 12px 25px;
    border-radius: 50px; font-size: 0.9rem; z-index: 2000;
}
.icon-red { color: #d93025; font-size: 4rem; margin-bottom: 20px; }
/* =========================================
   9. USER DASHBOARD (Desktop Layout)
   ========================================= */
.dashboard-layout { display: flex; min-height: 100vh; background: var(--bg-light); }
/* Sidebar */
.dash-sidebar {
    width: 280px;
    background: var(--dark-blue);
    color: white;
    padding: 30px;
    display: flex; flex-direction: column;
    flex-shrink: 0;
}
.dash-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.3rem; font-weight: 700; color: var(--gold);
    margin-bottom: 40px; cursor: pointer;
}
.user-profile-snippet {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 40px; padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.avatar-circle {
    width: 45px; height: 45px; background: var(--gold); color: var(--blue);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-weight: 700; font-size: 1.2rem;
}
.dash-menu li {
    padding: 15px; margin-bottom: 5px; border-radius: var(--radius-md);
    cursor: pointer; display: flex; align-items: center; gap: 15px;
    color: #cbd5e1; transition: all 0.2s;
}
.dash-menu li:hover, .dash-menu li.active { background: rgba(255,255,255,0.1); color: white; }
.btn-logout {
    margin-top: auto; background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: white; padding: 12px; border-radius: var(--radius-md); cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    transition: background 0.2s;
}
.btn-logout:hover { background: rgba(211, 47, 47, 0.8); border-color: transparent; }
/* Content */
.dash-content { flex: 1; padding: 40px; overflow-y: auto; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.dash-header h2 { color: var(--blue); margin: 0; }
/* Bank Cards */
.account-cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; margin-bottom: 40px;
}
.bank-card {
    padding: 25px; border-radius: var(--radius-lg); color: white;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 180px; box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative; overflow: hidden;
}
.gold-card { background: linear-gradient(135deg, #fca311, #e08e00); }
.blue-card { background: linear-gradient(135deg, #003366, #001a33); }
.card-top { display: flex; justify-content: space-between; align-items: center; opacity: 0.9; margin-bottom: 20px; }
.card-balance h3 { font-size: 2rem; margin: 0; }
.card-number { font-size: 1.4rem; letter-spacing: 2px; margin: 20px 0; }
.card-bottom { display: flex; justify-content: space-between; font-size: 0.85rem; opacity: 0.9; margin-top: auto; }
/* Quick Actions */
.quick-actions { margin-bottom: 40px; }
.section-title-sm { color: var(--blue); margin-bottom: 15px; font-size: 1.1rem; }
.action-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.action-btn {
    background: white; border: none; padding: 15px; border-radius: var(--radius-lg);
    width: 100px; display: flex; flex-direction: column; align-items: center; gap: 10px;
    box-shadow: var(--shadow-card); cursor: pointer; transition: transform 0.2s;
}
.action-btn:hover { transform: translateY(-5px); }
.icon-box {
    width: 45px; height: 45px; background: #eef2f6; border-radius: 12px;
    display: flex; justify-content: center; align-items: center; color: var(--blue); font-size: 1.2rem;
}
/* Transactions Table (Desktop) */
.transactions-section { background: white; padding: 25px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th { text-align: left; padding: 15px 0; color: #888; border-bottom: 1px solid #eee; }
.tx-table td { padding: 15px 0; border-bottom: 1px solid #f9f9f9; }
.tx-desc { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.badge.success { background: #e8f5e9; color: #2e7d32; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.amount-neg { color: #d32f2f; font-weight: 600; }
.amount-pos { color: #2e7d32; font-weight: 600; }
/* Mobile Tx List (Hidden on desktop via JS/structure, styled here) */
.tx-list { display: flex; flex-direction: column; gap: 15px; }
.tx-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.tx-icon-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.tx-icon-circle.out { background: #fff0f0; color: #d32f2f; }
.tx-icon-circle.in { background: #e8f5e9; color: #2e7d32; }
.tx-details { flex: 1; margin-left: 15px; display: flex; flex-direction: column; }
/* =========================================
   10. LOADING SCREEN
   ========================================= */
.loading-overlay {
    position: fixed; inset: 0; background: var(--blue);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: white; z-index: 9999;
}
.spinner { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
/* =========================================
   11. MOBILE OPTIMIZATIONS (< 800px)
   ========================================= */
@media (max-width: 800px) {
    /* Hide Desktop Elements */
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    .main-nav, .dash-sidebar { display: none; }

    /* Mobile Header */
    .header-container { flex-direction: column; gap: 10px; }
    .mobile-header {
        background: white; padding: 15px 20px;
        display: flex; justify-content: space-between; align-items: center;
        position: sticky; top: 0; z-index: 50;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .mobile-user { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; }
    .avatar-circle.small { width: 35px; height: 35px; font-size: 0.9rem; }
    .logout-icon { color: #d32f2f; font-size: 1.2rem; padding: 10px; cursor: pointer; }

    /* Homepage Adjustments */
    .info-layout { grid-template-columns: 1fr; padding-bottom: 40px; }
    .feature-section { padding: 40px 20px; margin-top: 0; }
    .feature-grid-box { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    /* Mobile Dashboard */
    .dashboard-layout { flex-direction: column; }
    .dash-content { padding: 20px 20px 100px; } /* Padding for bottom nav */

    .welcome-banner { flex-direction: column; margin-bottom: 25px; }
    .welcome-banner h2 { margin: 0; font-size: 0.9rem; color: #666; font-weight: 400; }
    .welcome-banner h1 { margin: 5px 0 0; font-size: 2.2rem; color: var(--blue); }

    /* Horizontal Scroll Cards */
    .account-cards-grid {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        padding-bottom: 10px; gap: 15px; margin-right: -20px; padding-right: 20px; /* Bleed effect */
    }
    .bank-card { min-width: 85vw; scroll-snap-align: center; }

    /* Horizontal Scroll Actions */
    .action-buttons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; }
    .action-btn { min-width: 85px; padding: 12px; }

    /* Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed; bottom: 0; left: 0; right: 0; height: 75px;
        background: white; display: flex; justify-content: space-around; align-items: center;
        border-top-left-radius: 25px; border-top-right-radius: 25px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1); z-index: 1000;
        padding-bottom: 5px; /* iOS Safe Area */
    }
    .nav-item {
        display: flex; flex-direction: column; align-items: center; gap: 4px;
        color: #bbb; font-size: 0.7rem; width: 60px; transition: color 0.2s;
    }
    .nav-item i { font-size: 1.3rem; }
    .nav-item.active { color: var(--blue); }

    .center-fab {
        width: 55px; height: 55px; background: var(--gold); border-radius: 50%;
        color: var(--blue); display: flex; justify-content: center; align-items: center;
        transform: translateY(-25px);
        box-shadow: 0 8px 15px rgba(252, 163, 17, 0.4);
    }
    .center-fab i { font-size: 1.5rem; }
}
/* =========================================
   12. HIDE GOOGLE JUNK
   ========================================= */
#goog-gt-tt, .goog-te-banner-frame, .goog-te-balloon-frame, #google_translate_element, .crxlauncher {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body { top: 0 !important; position: static !important; }
/* --- OPEN ACCOUNT / REGISTRATION STYLES --- */
.wide-box {
    max-width: 600px; /* Wider than login box for complex form */
}
.form-title {
    color: var(--blue);
    margin-bottom: 5px;
    text-align: center;
}
.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9rem;
}
.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}
.form-section h3 {
    font-size: 1rem;
    color: var(--gold-hover);
    margin-bottom: 15px;
    font-weight: 600;
}
/* Row inputs (Name / Middle Name) */
.input-group-row {
    display: flex;
    gap: 15px;
}
.input-group-row input {
    flex: 1;
}
/* Verification Row (Input + Button) */
.verify-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.verify-row .input-wrapper {
    flex: 1;
    position: relative;
}
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    z-index: 10;
}
.input-field.has-icon {
    padding-left: 35px;
    margin-bottom: 0; /* Remove default margin for alignment */
}
.btn-verify {
    background: var(--blue);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-verify:hover {
    background: var(--dark-blue);
}
.badge-success {
    color: #2e7d32;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
/* OTP 6-Box Grid */
.otp-container {
    background: #f8fbff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eef4ff;
    margin-bottom: 20px;
    text-align: center;
}
.otp-container p {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 10px;
}
.otp-grid {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.otp-box {
    width: 40px;
    height: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--blue);
    background: white;
    transition: all 0.2s;
}
.otp-box:focus {
    border-color: var(--gold);
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(252, 163, 17, 0.2);
}
.mt-2 { margin-top: 15px; }
.mt-3 { margin-top: 25px; }
/* Error Message */
.error-msg {
    color: #d32f2f;
    background: #ffebee;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}
/* Mobile Adjustments */
@media (max-width: 600px) {
    .input-group-row {
        flex-direction: column;
        gap: 0;
    }
    .otp-box {
        width: 35px;
        height: 40px;
    }
}
/* --- DISABLED STATE FOR EMAIL SECTION --- */
.disabled-section {
    opacity: 0.5;
    pointer-events: none; /* Disables clicks and touches */
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
/* Update OTP Box placeholder color */
.otp-box::placeholder {
    color: #ccc;
    font-size: 1.5rem;
    line-height: 1.2;
}
/* --- FULL SCREEN MODAL (Popout Animation) --- */
.fullscreen-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #f4f7f6;
    z-index: 2000;
    display: flex; flex-direction: column;
}
@keyframes slideUpFull {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.animate-slide-up-full {
    animation: slideUpFull 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal-header {
    background: white;
    padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.modal-header i { font-size: 1.2rem; color: var(--blue); cursor: pointer; padding: 5px; }
.modal-header h2 { margin: 0; font-size: 1.1rem; color: var(--blue); }
.modal-body { flex: 1; overflow-y: auto; padding: 20px; }
.full-list { background: white; border-radius: var(--radius-lg); padding: 10px; }
/* --- BILLS GRID --- */
.bills-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bill-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    cursor: pointer;
}
.bill-icon {
    width: 60px; height: 60px; background: white; border-radius: 15px;
    display: flex; justify-content: center; align-items: center;
    color: var(--blue); font-size: 1.5rem; box-shadow: var(--shadow-soft);
    transition: transform 0.2s;
}
.bill-item:active .bill-icon { transform: scale(0.95); background: var(--gold); }
.bill-item span { font-size: 0.8rem; font-weight: 500; color: #555; }
/* --- DATE PICKER OVERLAY --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 3000; display: flex; justify-content: center; align-items: center;
    padding: 20px;
}
.date-picker-box {
    background: white; padding: 25px; border-radius: var(--radius-lg);
    width: 100%; max-width: 300px; text-align: center;
    animation: slideUp 0.3s ease;
}
.date-picker-box h3 { margin-top: 0; color: var(--blue); }
.date-input {
    width: 100%; padding: 10px; margin: 15px 0; border: 1px solid #ccc;
    border-radius: 8px; font-size: 1rem;
}
.btn-close-text {
    background: none; border: none; color: #999; font-weight: 600; cursor: pointer;
}
/* --- ERROR TOAST (Red) --- */
.error-toast {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    background: #d32f2f; color: white; padding: 15px 25px;
    border-radius: 50px; font-weight: 500; z-index: 4000;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
    display: flex; align-items: center; gap: 10px; width: 90%; max-width: 400px;
}
/* --- TRANSFER MODAL STYLES --- */
.transfer-tabs {
    display: flex;
    background: #eef2f6;
    padding: 5px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}
.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}
.tab-btn.active {
    background: white;
    color: var(--blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.input-group { margin-bottom: 15px; }
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}
.dash-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.dash-input:focus {
    border-color: var(--blue);
    outline: none;
}
/* --- CARD MANAGEMENT MODAL --- */
.card-manage-body {
    background: #f0f4f8;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
/* Horizontal Carousel */
.cards-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    margin: 0 -20px; /* Bleed to edge */
    padding: 20px; /* Internal padding */
}
/* FLIP CARD LOGIC */
.flip-card-container {
    width: 320px;
    height: 200px;
    perspective: 1000px;
    flex-shrink: 0;
    scroll-snap-align: center;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-radius: var(--radius-lg);
}
.flip-card-container.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.flip-card-front {
    /* Blue Card Gradient inherited from .blue-card */
    padding: 25px;
    color: white;
}
.flip-card-back {
    background: #1a1a1a;
    color: white;
    transform: rotateY(180deg);
    padding: 20px 0;
    align-items: center;
    justify-content: center;
}
.magnetic-strip {
    background: #333;
    width: 100%;
    height: 40px;
    margin-top: 20px;
}
.cvv-strip {
    background: white;
    color: black;
    width: 80%;
    padding: 5px;
    text-align: right;
    font-family: monospace;
    margin: 10px 0;
}
.card-help-text { font-size: 0.7rem; opacity: 0.6; }
/* ADD CARD PLACEHOLDER */
.add-card-placeholder {
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    border: 2px dashed #ccc;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
    gap: 10px;
    scroll-snap-align: center;
}
.add-btn-circle {
    width: 50px; height: 50px; background: #e0e0e0;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
/* MANAGE OPTIONS GRID */
.manage-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.manage-option-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}
.manage-icon {
    width: 45px; height: 45px;
    background: #eef4ff;
    color: var(--blue);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
}
/* --- CHATBOT OVERLAY --- */
.chat-overlay {
    position: fixed;
    bottom: 0; left: 0; right: 0; top: 20%; /* Covers bottom 80% */
    background: white;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    display: flex; flex-direction: column;
    z-index: 3000;
}
.chat-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}
.bot-profile { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue); }
.bot-avatar {
    width: 35px; height: 35px; background: var(--blue); color: var(--gold);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* Chat Messages & Buttons */
.bot-msg {
    background: #f0f2f5;
    padding: 12px 18px;
    border-radius: 15px;
    border-top-left-radius: 2px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}
.chat-options { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.chat-options button, .chat-back-btn {
    background: white; border: 1px solid var(--blue); color: var(--blue);
    padding: 10px 15px; border-radius: 20px; cursor: pointer;
    font-weight: 500; font-size: 0.9rem; transition: all 0.2s;
}
.chat-options button:hover { background: var(--blue); color: white; }
.contact-card-chat {
    background: #e3f2fd; color: var(--blue); padding: 15px;
    border-radius: 10px; display: flex; gap: 10px; align-items: center; margin: 10px 0;
}
.static-id-box {
    background: #333; color: #0f0; font-family: monospace;
    padding: 10px; border-radius: 5px; text-align: center; margin: 10px 0;
}
.chat-form textarea {
    width: 100%; border: 1px solid #ccc; border-radius: 10px; padding: 10px; margin: 10px 0;
    font-family: inherit;
}
.success-icon-chat { font-size: 3rem; color: #2e7d32; display: block; text-align: center; margin-bottom: 10px; }
/* --- TOAST NOTIFICATIONS (Red Error & Grey Info) --- */
.toast-notification {
    position: fixed;
    left: 50%; transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 500;
    z-index: 4000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 10px;
    width: 90%; max-width: 400px;
}
/* Red Toast (Error) */
.toast-notification.error {
    background: #d32f2f; color: white;
    top: 20px; /* Default top for Desktop */
}
/* Grey Toast (Info/Maintenance) */
.toast-notification.info {
    background: #333; color: white;
    top: 20px; /* Default top for Desktop */
}
/* --- MOBILE SPECIFIC TOAST POSITION --- */
@media (max-width: 800px) {
    .toast-notification.error, .toast-notification.info {
        top: auto;
        bottom: 90px; /* Positions it nicely above bottom nav */
    }
}
/* --- LIMIT SLIDERS --- */
.limit-row {
    margin-bottom: 25px;
}
.limit-label {
    display: flex; justify-content: space-between;
    font-size: 0.9rem; font-weight: 600; color: #555;
    margin-bottom: 10px;
}
.limit-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}
.limit-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
}
/* --- BLOCK CARD BUTTONS --- */
.btn-cta-outline {
    width: 100%; padding: 12px;
    border: 2px solid var(--blue);
    background: transparent; color: var(--blue);
    font-weight: bold; border-radius: 8px; cursor: pointer;
    margin-bottom: 10px;
}
.btn-cta-red {
    width: 100%; padding: 12px;
    border: none;
    background: #d32f2f; color: white;
    font-weight: bold; border-radius: 8px; cursor: pointer;
}