/* =============================================
   OneBanking Service — Main Stylesheet
   ============================================= */

:root {
    --ob-navy: #0a1628;
    --ob-blue: #0e2a52;
    --ob-mid: #1a3a6e;
    --ob-accent: #1e6fd9;
    --ob-gold: #c9a84c;
    --ob-gold-light: #e8c86a;
    --ob-teal: #00c9b1;
    --ob-light: #f4f7fc;
    --ob-white: #ffffff;
    --ob-muted: #8899b4;
    --ob-border: rgba(255,255,255,0.08);
    --ob-card-bg: #0f1e3a;
    --ob-radius: 14px;
    --ob-radius-sm: 8px;
    --ob-shadow: 0 20px 60px rgba(0,0,0,0.25);
    --ob-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--ob-font);
    background: var(--ob-navy);
    color: var(--ob-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--ob-font); }

/* ---- NAVBAR ---- */
.ob-navbar {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ob-border);
    padding: 16px 0;
    transition: var(--transition);
}
.ob-navbar.scrolled { padding: 10px 0; background: rgba(10, 22, 40, 0.98); }

.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { color: var(--ob-gold); font-size: 1.5rem; line-height: 1; }
.brand-text { font-size: 1.2rem; font-weight: 700; color: var(--ob-white); letter-spacing: -0.3px; }
.brand-text strong { color: var(--ob-gold); }

.ob-navbar .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}
.ob-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 16px; right: 16px;
    height: 2px;
    background: var(--ob-gold);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}
.ob-navbar .nav-link:hover { color: var(--ob-white) !important; }
.ob-navbar .nav-link:hover::after { transform: scaleX(1); }

/* ---- BUTTONS ---- */
.btn-ob-primary {
    background: linear-gradient(135deg, var(--ob-gold), var(--ob-gold-light));
    color: var(--ob-navy) !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    cursor: pointer;
}
.btn-ob-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }

.btn-ob-outline {
    background: transparent;
    color: var(--ob-white) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-ob-outline:hover { border-color: var(--ob-gold); color: var(--ob-gold) !important; }

.btn-ob-accent {
    background: var(--ob-accent);
    color: #fff !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-ob-accent:hover { background: #1560c2; transform: translateY(-2px); }

/* ---- HERO ---- */
.ob-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--ob-navy) 0%, var(--ob-blue) 50%, #0d1f3f 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(30,111,217,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(0,201,177,0.08) 0%, transparent 40%);
    pointer-events: none;
}
.hero-grid-lines {
    position: absolute; 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;
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--ob-gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 28px;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-title .accent { color: var(--ob-gold); }
.hero-title .teal { color: var(--ob-teal); }
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 400;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; padding-top: 32px; border-top: 1px solid var(--ob-border); }
.hero-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--ob-white); }
.hero-stat-label { font-size: 0.8rem; color: var(--ob-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 340px; }
.mock-card {
    background: linear-gradient(135deg, #1a3a6e, #0e2a52);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.mock-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.mock-card-chip {
    width: 44px; height: 34px;
    background: linear-gradient(135deg, var(--ob-gold), var(--ob-gold-light));
    border-radius: 6px;
    margin-bottom: 40px;
}
.mock-card-number { font-size: 1.15rem; letter-spacing: 4px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.mock-card-footer { display: flex; justify-content: space-between; align-items: flex-end; }
.mock-card-label { font-size: 0.7rem; color: var(--ob-muted); text-transform: uppercase; letter-spacing: 1px; }
.mock-card-value { font-size: 0.95rem; font-weight: 700; }
.mock-card-logo { display: flex; }
.mock-card-logo span { width: 32px; height: 32px; border-radius: 50%; display: block; }
.mock-card-logo span:first-child { background: #eb001b; margin-right: -10px; }
.mock-card-logo span:last-child { background: #f79e1b; }
.hero-balance-widget {
    position: absolute; bottom: -20px; left: -40px;
    background: rgba(15,30,58,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 20px 24px;
    min-width: 200px;
}
.balance-label { font-size: 0.75rem; color: var(--ob-muted); margin-bottom: 4px; }
.balance-amount { font-size: 1.5rem; font-weight: 800; color: var(--ob-teal); }
.hero-notif {
    position: absolute; top: -10px; right: -30px;
    background: rgba(15,30,58,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,201,177,0.2);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}
.notif-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,201,177,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--ob-teal);
    font-size: 1rem;
    flex-shrink: 0;
}
.notif-title { font-size: 0.8rem; font-weight: 700; }
.notif-sub { font-size: 0.72rem; color: var(--ob-muted); }

/* ---- SECTIONS ---- */
.ob-section { padding: 100px 0; }
.ob-section-dark { background: var(--ob-navy); }
.ob-section-card { background: #0d1a33; }

.section-eyebrow {
    display: inline-block;
    color: var(--ob-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.section-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ---- FEATURE CARDS ---- */
.ob-feature-card {
    background: var(--ob-card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--ob-radius);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.ob-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ob-gold), var(--ob-teal));
    opacity: 0;
    transition: var(--transition);
}
.ob-feature-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.ob-feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
}
.feature-icon.gold { background: rgba(201,168,76,0.12); color: var(--ob-gold); }
.feature-icon.teal { background: rgba(0,201,177,0.12); color: var(--ob-teal); }
.feature-icon.blue { background: rgba(30,111,217,0.12); color: #5ba3f5; }
.feature-icon.purple { background: rgba(139,92,246,0.12); color: #a78bfa; }
.feature-icon.green { background: rgba(52,211,153,0.12); color: #34d399; }
.feature-icon.red { background: rgba(248,113,113,0.12); color: #f87171; }

.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.feature-text { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.7; }

/* ---- TRUST BAND ---- */
.ob-trust-band {
    background: var(--ob-card-bg);
    border-top: 1px solid var(--ob-border);
    border-bottom: 1px solid var(--ob-border);
    padding: 28px 0;
}
.trust-items { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.trust-item i { color: var(--ob-teal); font-size: 1.1rem; }

/* ---- STEPS ---- */
.ob-step { text-align: center; padding: 24px; }
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(30,111,217,0.12);
    border: 1px solid rgba(30,111,217,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ob-accent);
    margin: 0 auto 24px;
}

/* ---- CTA ---- */
.ob-cta-section {
    background: linear-gradient(135deg, #0e2a52, #1a3a6e);
    border-radius: var(--ob-radius);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ob-cta-section::before {
    content: '';
    position: absolute; top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}

/* ---- TESTIMONIALS ---- */
.ob-testimonial {
    background: var(--ob-card-bg);
    border: 1px solid var(--ob-border);
    border-radius: var(--ob-radius);
    padding: 36px;
    height: 100%;
}
.testimonial-text { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.75); margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.8rem; color: var(--ob-muted); }
.stars { color: var(--ob-gold); font-size: 0.8rem; margin-bottom: 8px; }

/* ---- FOOTER ---- */
.ob-footer { background: #060f1e; border-top: 1px solid var(--ob-border); }
.footer-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--ob-gold); }
.footer-desc { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.6; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 8px;
    border: 1px solid var(--ob-border);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover { border-color: var(--ob-gold); color: var(--ob-gold); }
.footer-subscribe { display: flex; background: rgba(255,255,255,0.05); border: 1px solid var(--ob-border); border-radius: 8px; overflow: hidden; }
.footer-subscribe input { flex: 1; background: transparent; border: none; padding: 12px 16px; color: var(--ob-white); font-size: 0.88rem; outline: none; }
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.3); }
.footer-subscribe button { background: var(--ob-gold); border: none; padding: 12px 18px; color: var(--ob-navy); cursor: pointer; transition: var(--transition); }
.footer-subscribe button:hover { background: var(--ob-gold-light); }
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom { border-top: 1px solid var(--ob-border); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.85rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 0.85rem; text-decoration: none; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--ob-gold); }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-wrapper { min-height: 100vh; display: flex; align-items: stretch; }
.auth-visual {
    background: linear-gradient(135deg, var(--ob-navy), var(--ob-blue));
    flex: 1;
    padding: 60px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-visual::before {
    content: '';
    position: absolute; bottom: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.auth-visual-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.auth-visual-title span { color: var(--ob-gold); }
.auth-form-panel {
    width: 480px;
    flex-shrink: 0;
    background: #080f1d;
    padding: 60px 48px;
    display: flex; flex-direction: column; justify-content: center;
    overflow-y: auto;
}
.auth-form-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.auth-form-sub { color: rgba(255,255,255,0.5); font-size: 0.92rem; margin-bottom: 36px; }

.ob-form-group { margin-bottom: 20px; }
.ob-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}
.ob-form-control {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--ob-radius-sm);
    padding: 14px 16px;
    color: var(--ob-white);
    font-family: var(--ob-font);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.ob-form-control:focus { border-color: var(--ob-accent); background: rgba(30,111,217,0.06); box-shadow: 0 0 0 4px rgba(30,111,217,0.1); }
.ob-form-control::placeholder { color: rgba(255,255,255,0.25); }
.ob-input-group { position: relative; }
.ob-input-group .ob-form-control { padding-left: 44px; }
.ob-input-group .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.35); font-size: 1rem; }

.btn-ob-block {
    width: 100%;
    background: linear-gradient(135deg, var(--ob-gold), var(--ob-gold-light));
    color: var(--ob-navy);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-ob-block:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.35); }

.auth-divider {
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 0.85rem;
    margin: 24px 0;
    position: relative;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 24px);
    height: 1px;
    background: rgba(255,255,255,0.08);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-link { color: var(--ob-gold); text-decoration: none; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* ============================================
   DASHBOARD
   ============================================ */
.db-layout { display: flex; min-height: 100vh; }
.db-sidebar {
    width: 260px; flex-shrink: 0;
    background: #060f1e;
    border-right: 1px solid var(--ob-border);
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
}
.db-sidebar-header { padding: 28px 24px; border-bottom: 1px solid var(--ob-border); }
.db-sidebar-user { padding: 24px; border-bottom: 1px solid var(--ob-border); }
.db-user-avatar { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; border: 2px solid rgba(201,168,76,0.3); flex-shrink: 0; }
.db-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.db-user-name { font-weight: 700; font-size: 0.95rem; }
.db-user-status { font-size: 0.75rem; color: var(--ob-teal); }
.db-nav { padding: 16px 12px; flex: 1; }
.db-nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.25); padding: 8px 12px; margin-bottom: 4px; margin-top: 16px; }
.db-nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: var(--ob-radius-sm);
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 2px;
    border: none; background: none; width: 100%; cursor: pointer;
}
.db-nav-item i { font-size: 1.1rem; width: 20px; text-align: center; }
.db-nav-item:hover { background: rgba(255,255,255,0.06); color: var(--ob-white); }
.db-nav-item.active { background: rgba(201,168,76,0.12); color: var(--ob-gold); border-left: 3px solid var(--ob-gold); }
.db-sidebar-footer { padding: 20px 24px; border-top: 1px solid var(--ob-border); }
.db-main { margin-left: 260px; flex: 1; background: #080f1d; min-height: 100vh; }
.db-topbar {
    background: rgba(6,15,30,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ob-border);
    padding: 16px 32px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.db-topbar-title { font-size: 1.2rem; font-weight: 700; }
.db-content { padding: 32px; }

/* Dashboard Cards */
.db-balance-card {
    background: linear-gradient(135deg, #0e2a52, #1a3a6e);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.db-balance-card::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.balance-card-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.balance-card-amount { font-size: 2.5rem; font-weight: 800; color: var(--ob-white); margin-bottom: 4px; }
.balance-card-acct { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.db-stat-card {
    background: var(--ob-card-bg);
    border: 1px solid var(--ob-border);
    border-radius: var(--ob-radius);
    padding: 24px;
    transition: var(--transition);
}
.db-stat-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.12); }
.db-stat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.db-stat-icon.teal { background: rgba(0,201,177,0.12); color: var(--ob-teal); }
.db-stat-icon.gold { background: rgba(201,168,76,0.12); color: var(--ob-gold); }
.db-stat-icon.blue { background: rgba(30,111,217,0.12); color: #60a5fa; }
.db-stat-icon.red { background: rgba(248,113,113,0.12); color: #f87171; }
.db-stat-icon.purple { background: rgba(139,92,246,0.12); color: #a78bfa; }
.db-stat-icon.green { background: rgba(52,211,153,0.12); color: #34d399; }
.db-stat-label { font-size: 0.8rem; color: var(--ob-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.db-stat-value { font-size: 1.5rem; font-weight: 800; }

/* Tables */
.ob-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ob-table th { padding: 14px 16px; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ob-muted); border-bottom: 1px solid var(--ob-border); font-weight: 600; }
.ob-table td { padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.04); color: rgba(255,255,255,0.75); }
.ob-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.txn-type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 40px; font-size: 0.75rem; font-weight: 600; }
.badge-deposit { background: rgba(52,211,153,0.12); color: #34d399; }
.badge-withdrawal { background: rgba(248,113,113,0.12); color: #f87171; }
.badge-transfer_in { background: rgba(96,165,250,0.12); color: #60a5fa; }
.badge-transfer_out { background: rgba(251,191,36,0.12); color: #fbbf24; }

.status-badge { display: inline-block; padding: 3px 10px; border-radius: 40px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-completed, .status-approved { background: rgba(52,211,153,0.1); color: #34d399; }
.status-pending { background: rgba(251,191,36,0.1); color: #fbbf24; }
.status-failed, .status-rejected { background: rgba(248,113,113,0.1); color: #f87171; }
.status-active { background: rgba(52,211,153,0.1); color: #34d399; }
.status-suspended { background: rgba(248,113,113,0.1); color: #f87171; }

/* Modals */
.modal-content { background: #0f1e3a; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--ob-radius); }
.modal-title { font-weight: 700; }
.ob-modal-header { border-bottom: 1px solid var(--ob-border); padding: 20px 24px; }
.ob-modal-body { padding: 24px; }
.btn-close { filter: invert(1) opacity(0.5); }

/* Alerts */
.ob-alert { border-radius: var(--ob-radius-sm); padding: 14px 18px; margin-bottom: 20px; font-size: 0.88rem; border: none; }
.ob-alert-success { background: rgba(52,211,153,0.1); color: #34d399; border-left: 3px solid #34d399; }
.ob-alert-danger { background: rgba(248,113,113,0.1); color: #f87171; border-left: 3px solid #f87171; }
.ob-alert-info { background: rgba(96,165,250,0.1); color: #60a5fa; border-left: 3px solid #60a5fa; }

/* Form select */
.ob-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238899b4' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    cursor: pointer;
}

/* Page Hero (interior) */
.page-hero {
    background: linear-gradient(135deg, var(--ob-navy), var(--ob-blue));
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-hero-title { font-size: 3rem; font-weight: 800; letter-spacing: -1.5px; }
.page-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 540px; margin: 16px auto 0; line-height: 1.7; }

/* Amount colours */
.amount-positive { color: #34d399; font-weight: 700; }
.amount-negative { color: #f87171; font-weight: 700; }

/* Spinner */
.ob-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(10,22,40,0.3); border-top-color: var(--ob-navy); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Navbar toggler */
.navbar-toggler { border-color: rgba(255,255,255,0.15); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Mobile */
@media (max-width: 991px) {
    .auth-visual { display: none; }
    .auth-form-panel { width: 100%; padding: 40px 28px; }
    .db-sidebar { transform: translateX(-100%); }
    .db-sidebar.open { transform: translateX(0); }
    .db-main { margin-left: 0; }
    .db-content { padding: 20px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.4rem; }
    .hero-card-stack { width: 280px; }
    .hero-balance-widget { left: -10px; }
    .hero-notif { right: -10px; min-width: 160px; }
    .ob-cta-section { padding: 48px 28px; }
    .section-title { font-size: 1.8rem; }
}
