/* Bank of America Master CSS Stylesheet */
:root {
    --boa-red: #D4001A;
    --boa-red-dark: #C8102E;
    --boa-navy: #012169;
    --boa-bg-gray: #F2F2F2;
    --boa-blue-link: #00529B;
    --boa-border: #CCCCCC;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; }
body { background-color: var(--boa-bg-gray); color: #333333; }

/* FDIC Banner */
.top-fdic-banner { background: #FFFFFF; text-align: center; padding: 8px 12px; border-bottom: 1px solid #E5E5E5; font-size: 11px; color: #555555; }
.fdic-text-top { font-style: italic; margin-bottom: 2px; }
.fdic-text-main strong { color: var(--boa-navy); }

/* Header Titles */
.red-title-bar { background-color: var(--boa-red); color: #FFFFFF; height: 50px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 18px; font-weight: bold; }
.red-title-bar-dark { background-color: var(--boa-red-dark); color: #FFFFFF; height: 50px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 18px; font-weight: bold; }
.menu-icon { position: absolute; left: 16px; font-size: 22px; cursor: pointer; }

/* Form Controls */
.page-container { padding: 20px 16px; max-width: 440px; margin: 0 auto; }
.inner-app-container { padding-bottom: 90px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: bold; color: #333333; margin-bottom: 6px; }
.form-control { width: 100%; height: 44px; padding: 10px 12px; border: 1px solid var(--boa-border); border-radius: 4px; font-size: 15px; background-color: #FFFFFF; }

/* Login Page Specifics */
.input-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.input-group-flex { flex: 1; }
.save-id-container { display: flex; flex-direction: column; align-items: center; }
.save-id-label { font-size: 12px; font-weight: bold; color: #333333; margin-bottom: 4px; }

.toggle-switch { position: relative; width: 54px; height: 26px; display: inline-block; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #B0B0B0; border-radius: 4px; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; }
.slider-text { color: white; font-size: 11px; font-weight: bold; }
.toggle-slider:before { position: absolute; content: ""; height: 20px; width: 22px; left: 3px; bottom: 3px; background-color: white; border-radius: 2px; }

.btn-blue-gradient { width: 100%; height: 46px; background: linear-gradient(180deg, #6FA8DC 0%, #4A90E2 100%); color: #FFFFFF; border: 1px solid #357ABD; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.password-rules-box { background-color: #EAEAEA; border-radius: 4px; padding: 10px 16px; margin-top: 8px; }
.password-rules-box ul { list-style-type: disc; margin-left: 16px; font-size: 12px; color: #555555; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; }
.login-links-grid { display: flex; justify-content: space-between; margin-top: 16px; }
.blue-link { color: var(--boa-blue-link); text-decoration: none; font-size: 13px; font-weight: bold; }
.text-right { text-align: right; }
.center-text-link { text-align: center; margin-top: 20px; font-size: 13px; }
.code-input { letter-spacing: 6px; font-size: 20px; text-align: center; font-weight: bold; }
.form-heading { font-size: 16px; color: #111; margin-bottom: 8px; text-align: center; }
.form-subtext { font-size: 12px; color: #666; margin-bottom: 20px; text-align: center; line-height: 1.4; }

/* Inner App Layout */
.app-header-row { background: white; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #DDD; }
.app-header-left { display: flex; align-items: center; gap: 10px; }
.menu-trigger-dark { font-size: 22px; color: var(--boa-navy); cursor: pointer; }
.brand-boa { font-size: 15px; font-weight: 800; color: var(--boa-navy); }
.flagscape-icon-sm { display: inline-flex; gap: 2px; }
.flagscape-icon-sm span { width: 3px; height: 12px; background: var(--boa-red); transform: skewX(-20deg); }
.flagscape-icon-sm span:nth-child(2) { background: var(--boa-navy); }
.app-header-right { display: flex; align-items: center; gap: 14px; font-size: 20px; color: var(--boa-blue-link); }
.icon-link { color: var(--boa-blue-link); text-decoration: none; }

.tabs-switcher-bar { background: white; display: flex; border-bottom: 2px solid #DDD; }
.tab-btn { flex: 1; text-align: center; padding: 12px; font-weight: bold; font-size: 15px; color: #666; text-decoration: none; position: relative; }
.tab-btn.active { color: var(--boa-red-dark); }
.tab-btn.active:after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px; background: var(--boa-red-dark); }

.search-help-bar { display: flex; align-items: center; background: #EAEAEA; border-radius: 20px; padding: 6px 14px; margin-top: 10px; position: relative; }
.search-ico { color: #666; font-size: 16px; margin-right: 8px; }
.search-input { border: none; background: transparent; font-size: 14px; flex: 1; outline: none; }
.notification-badge-red { background: var(--boa-red-dark); color: white; font-weight: bold; font-size: 12px; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; position: absolute; right: 6px; }

.greeting-card { background: white; border-radius: 8px; padding: 16px; margin-top: 16px; }
.greeting-row { display: flex; justify-content: space-between; align-items: center; }
.status-badge-green { background: #28A745; color: white; font-size: 11px; font-weight: bold; padding: 3px 10px; border-radius: 12px; }

.list-link-card { background: white; border-radius: 8px; margin-top: 12px; }
.list-item-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #EEE; font-size: 14px; }
.list-item-row:last-child { border-bottom: none; }
.text-muted { color: #666; }
.arrow-ico { color: #AAA; }

.boa-accounts-block { background: white; border-radius: 8px; overflow: hidden; margin-top: 16px; }
.block-red-header { background: var(--boa-red-dark); color: white; padding: 12px 16px; font-weight: bold; font-size: 16px; }
.account-line-item { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #EEE; }
.acc-title { font-size: 13px; color: #555; }
.acc-balance { font-size: 18px; font-weight: bold; color: #111; margin-top: 4px; }
.btn-outline-view { border: 1px solid var(--boa-navy); color: var(--boa-navy); background: white; font-weight: bold; padding: 6px 14px; border-radius: 4px; cursor: pointer; }
.summary-line-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #EEE; font-size: 14px; }

.btn-open-account-outline { width: 100%; border: 1px solid var(--boa-navy); color: var(--boa-navy); background: white; font-weight: bold; padding: 12px; border-radius: 4px; margin-top: 16px; cursor: pointer; font-size: 13px; }
.alerts-banner-card { background: white; border-radius: 8px; padding: 16px; margin-top: 16px; display: flex; gap: 16px; align-items: center; }
.alerts-phone-ico { font-size: 32px; color: #333; }
.alerts-body h3 { font-size: 15px; margin-bottom: 4px; }
.alerts-body p { font-size: 12px; color: #666; margin-bottom: 8px; }
.btn-red-sm { background: var(--boa-red-dark); color: white; border: none; padding: 6px 16px; border-radius: 4px; font-weight: bold; cursor: pointer; }

/* Buttons & Blocks */
.btn-red-block { display: block; width: 100%; background: var(--boa-red-dark); color: white; text-align: center; border: none; padding: 12px; border-radius: 4px; font-weight: bold; text-decoration: none; cursor: pointer; font-size: 15px; }
.btn-navy-block { display: block; width: 100%; background: var(--boa-navy); color: white; text-align: center; border: none; padding: 12px; border-radius: 4px; font-weight: bold; text-decoration: none; cursor: pointer; font-size: 15px; }
.btn-white-block { display: block; width: 100%; background: white; color: #333; border: 1px solid #CCC; text-align: center; padding: 12px; border-radius: 4px; font-weight: bold; text-decoration: none; cursor: pointer; font-size: 15px; }
.btn-gray-block { display: block; width: 100%; background: #666; color: white; text-align: center; padding: 12px; border-radius: 4px; font-weight: bold; text-decoration: none; font-size: 15px; }
.btn-navy-sm { background: var(--boa-navy); color: white; border: none; padding: 6px 16px; border-radius: 4px; font-weight: bold; cursor: pointer; }

/* Drawer Drawer Drawer */
.drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 1000; display: none; }
.drawer-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: white; z-index: 1010; transition: left 0.3s ease; }
.drawer-menu.open { left: 0; }
.drawer-header-red { background: var(--boa-red-dark); color: white; padding: 16px; font-size: 18px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.close-drawer-btn { cursor: pointer; }
.drawer-list { list-style: none; }
.drawer-list li { border-bottom: 1px solid #EEE; }
.drawer-list a { display: flex; align-items: center; gap: 12px; padding: 16px; color: #333; text-decoration: none; font-weight: bold; font-size: 15px; }

/* Wizard Transfers */
.wizard-steps-container { display: flex; justify-content: space-between; position: relative; margin-top: 10px; padding: 0 20px; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; background: #D0D0D0; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.step-circle.active { background: var(--boa-red-dark); }
.wizard-labels-row { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: #888; text-align: center; }
.active-label { color: var(--boa-red-dark); font-weight: bold; }

.methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method-card { background: white; border: 1px solid #DDD; border-radius: 8px; padding: 20px 12px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.method-card input { display: none; }
.method-ico { font-size: 28px; color: var(--boa-navy); }

.review-amount { font-size: 32px; color: #111; font-weight: bold; margin: 8px 0; }
.review-line-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #EEE; font-size: 13px; }
.review-notice-box { background: #F8F9FA; padding: 12px; border-radius: 6px; font-size: 12px; color: #666; margin-top: 16px; text-align: left; }

.alert-error-box { background: #F8D7DA; color: #721C24; padding: 12px; border-radius: 6px; margin-top: 16px; font-size: 13px; font-weight: bold; }
.alert-success-box { background: #D4EDDA; color: #155724; padding: 12px; border-radius: 6px; margin-top: 16px; font-size: 13px; font-weight: bold; }

.modal-overlay-custom { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-card { background: white; border-radius: 12px; padding: 24px; text-align: center; width: 100%; max-width: 320px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.check-icon-circle { width: 50px; height: 50px; border-radius: 50%; background: #28A745; color: white; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px auto; }

/* Profile Boxes */
.profile-card-header { background: white; border-radius: 8px; padding: 20px; text-align: center; }
.avatar-circle-red { width: 64px; height: 64px; border-radius: 50%; background: var(--boa-red-dark); color: white; font-size: 28px; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px auto; }
.card-box-white { background: white; border-radius: 8px; padding: 16px; }
.card-box-title { font-size: 15px; color: #111; margin-bottom: 12px; }
.card-box-pink { background: #FFF5F5; border: 1px solid #FFCDD2; border-radius: 8px; padding: 16px; }
.search-flex-row { display: flex; gap: 8px; }
.empty-state-box { text-align: center; padding: 40px 16px; color: #888; }
.empty-ico { font-size: 48px; color: #CCC; margin-bottom: 8px; display: block; }
.tx-item-card { background: white; padding: 12px 16px; border-radius: 6px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.tx-amt { font-weight: bold; color: var(--boa-navy); }

/* Navigation Bar Fix */
.fixed-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid #DDD; display: flex; justify-content: space-around; padding: 8px 0; z-index: 900; }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #555; font-size: 10px; gap: 2px; }
.nav-ico { font-size: 18px; }
.nav-item.active { color: var(--boa-blue-link); font-weight: bold; }

.floating-chat-widget { position: fixed; bottom: 62px; right: 16px; width: 50px; height: 50px; border-radius: 50%; background: #333333; color: white; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 950; cursor: pointer; }

/* Footer */
.app-footer { text-align: center; padding: 24px 16px; font-size: 11px; color: #666666; line-height: 1.6; }
.app-footer.has-bottom-nav { padding-bottom: 80px; }
.footer-links-row { margin-bottom: 16px; line-height: 1.8; }
.footer-links-row a { color: var(--boa-blue-link); text-decoration: none; }
.legal-underline { color: var(--boa-blue-link); text-decoration: underline; }

/* ============================================
   BANK OF AMERICA LANDING PAGE STYLES
   ============================================ */

/* FDIC Top Bar */
.fdic-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 16px;
    font-size: 11px;
    color: #444;
}
.fdic-left { display: flex; align-items: center; gap: 10px; }
.fdic-logo {
    background: #003087;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}
.fdic-text { line-height: 1.3; }

/* Main Navigation */
.bofa-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-menu-icon { font-size: 26px; color: #003087; cursor: pointer; }
.nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}
.brand-text {
    font-weight: 700;
    font-size: 15px;
    color: #003087;
    letter-spacing: 0.5px;
}
.brand-flag { display: inline-flex; gap: 2px; }
.flag-red {
    display: inline-block;
    width: 10px; height: 3px;
    background: #e31837;
    transform: skewX(-20deg);
}
.flag-blue {
    display: inline-block;
    width: 10px; height: 3px;
    background: #003087;
    transform: skewX(-20deg);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-login-pill {
    background: transparent;
    border: 2px solid #003087;
    color: #003087;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.nav-search-icon { font-size: 20px; color: #003087; }

/* Hero Section */
.hero-section {
    background: #001a4d;
    background: linear-gradient(135deg, #001a4d 0%, #003087 100%);
    padding: 28px 16px 20px;
    color: #fff;
}
.hero-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 24px;
    color: #fff;
    max-width: 340px;
}

/* Card List */
.card-list { display: flex; flex-direction: column; gap: 20px; }

.card-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Card Visuals */
.card-visual {
    width: 130px;
    height: 82px;
    border-radius: 8px;
    position: relative;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    flex-shrink: 0;
    overflow: hidden;
}
.card-red    { background: linear-gradient(135deg, #c8102e 0%, #8b0a1e 100%); }
.card-silver { background: linear-gradient(135deg, #d9d9d9 0%, #a8a8a8 100%); }
.card-blue   { background: linear-gradient(135deg, #003087 0%, #001a4d 100%); }

.card-chip {
    width: 18px; height: 14px;
    background: #d4af37;
    border-radius: 3px;
    position: absolute;
    top: 12px; left: 10px;
}
.card-wifi {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 12px;
    color: #fff;
    transform: rotate(90deg);
}
.card-brand {
    position: absolute;
    top: 32px; left: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.card-bofa {
    font-size: 7px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}
.card-logo-lines {
    display: block;
    width: 24px; height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #e31837 0, #e31837 3px,
        #fff 3px, #fff 4px,
        #003087 4px, #003087 7px
    );
    transform: skewX(-20deg);
}
.card-bottom {
    position: absolute;
    bottom: 8px; left: 10px; right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-recycle { color: #fff; font-size: 11px; }
.card-visa {
    color: #fff;
    font-weight: 700;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 1px;
}
.card-silver .card-visa { color: #1a1a1a; }
.card-silver .card-recycle { color: #1a1a1a; }
.card-signature {
    color: #fff;
    font-size: 6px;
    position: absolute;
    right: 0; bottom: 12px;
}
.card-ribbon {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 6px;
    font-weight: 700;
    text-align: center;
    padding: 3px 0;
    letter-spacing: 0.5px;
}

/* Card Descriptions */
.card-desc { flex: 1; }
.card-link {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.card-link:hover { color: #cfe0ff; }

/* Cash Offer Banner */
.cash-offer-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 4px;
    padding: 10px 12px;
    margin-top: 24px;
    position: relative;
}
.cash-offer-icon {
    width: 26px; height: 26px;
    border: 2px solid #e31837;
    border-radius: 4px;
    color: #e31837;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.cash-offer-text {
    font-size: 11px;
    color: #1a1a1a;
    line-height: 1.3;
    font-weight: 600;
}
.cash-offer-link { color: #003087; font-weight: 700; text-decoration: none; }
.cash-offer-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    margin-left: auto;
}

/* Login Section spacing */
.login-section { padding-top: 0; }
.login-section .red-title-bar { margin-top: 0; }