/* ==============================
   EYO BANK - Dashboard Styles
   ============================== */

/* Dashboard Layout */
.eyo-dashboard {
    display: flex;
    min-height: 100vh;
    background: #0f172a;
    font-family: 'Segoe UI', Arial, sans-serif;
    position: relative;
}

/* ---- SIDEBAR ---- */
.eyo-sidebar {
    width: 260px;
    min-height: 100vh;
    background: linear-gradient(180deg, #0c1a2e 0%, #0f172a 100%);
    border-right: 1px solid rgba(14,165,233,0.15);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: transform .3s ease;
}

.eyo-sidebar-logo {
    display: flex; align-items: center; gap: 10px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(14,165,233,0.1);
}
.logo-icon { font-size: 28px; }
.logo-text {
    color: white; font-size: 18px; font-weight: 700;
    letter-spacing: 2px;
}

.eyo-sidebar-profile {
    padding: 20px;
    border-bottom: 1px solid rgba(14,165,233,0.1);
    text-align: center;
}

.eyo-avatar-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 10px;
}
.eyo-avatar, .eyo-avatar-placeholder {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 3px solid #0ea5e9;
    object-fit: cover;
}
.eyo-avatar-placeholder {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: white;
}
.eyo-avatar-upload-icon {
    position: absolute; bottom: 0; right: 0;
    background: #0ea5e9; border-radius: 50%;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
}
.eyo-sidebar-name { color: white; font-weight: 600; font-size: 14px; }
.eyo-sidebar-acct { color: #0ea5e9; font-size: 12px; letter-spacing: 1px; }

.eyo-sidebar-nav {
    list-style: none;
    padding: 12px 0;
    flex: 1;
}
.eyo-sidebar-nav li { }
.eyo-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    color: #94a3b8; text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: all .2s;
    border-left: 3px solid transparent;
    position: relative;
}
.eyo-nav-link:hover {
    color: #0ea5e9;
    background: rgba(14,165,233,0.07);
}
.eyo-nav-link.active {
    color: #0ea5e9;
    background: rgba(14,165,233,0.12);
    border-left-color: #0ea5e9;
}
.eyo-nav-link span { font-size: 18px; }

.eyo-badge-count {
    background: #ef4444; color: white;
    border-radius: 10px; padding: 1px 7px;
    font-size: 11px; font-weight: 700;
    position: absolute; right: 16px;
}

.eyo-sidebar-footer {
    padding: 16px 20px;
    color: #475569; font-size: 11px;
    border-top: 1px solid rgba(14,165,233,0.1);
    text-align: center;
}

/* ---- HAMBURGER ---- */
.eyo-hamburger {
    display: none;
    position: fixed; top: 16px; left: 16px;
    z-index: 200; background: #0ea5e9;
    border: none; border-radius: 8px;
    color: white; font-size: 20px;
    width: 42px; height: 42px;
    cursor: pointer;
}

/* ---- MAIN CONTENT ---- */
.eyo-main {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
    padding: 0;
    background: #0f172a;
}

/* ---- TOP BAR ---- */
.eyo-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 28px;
    background: rgba(12,26,46,0.8);
    border-bottom: 1px solid rgba(14,165,233,0.1);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 50;
}
.eyo-page-title { color: white; font-size: 20px; font-weight: 600; }
.eyo-topbar-right { display: flex; align-items: center; gap: 16px; }
.eyo-topbar-time { color: #0ea5e9; font-size: 13px; font-family: monospace; }
.eyo-notification {
    font-size: 22px; cursor: pointer;
    position: relative;
}
.eyo-notif-dot {
    position: absolute; top: 0; right: 0;
    width: 10px; height: 10px;
    background: #ef4444; border-radius: 50%;
}

/* ---- SECTIONS ---- */
.eyo-section { padding: 28px; }

/* ---- BALANCE HERO ---- */
.eyo-balance-hero {
    display: grid; grid-template-columns: 1fr auto;
    gap: 20px; margin-bottom: 24px;
}

.eyo-balance-card {
    background: linear-gradient(135deg, #0c1f3a, #0a3a6e);
    border: 1px solid rgba(14,165,233,0.3);
    border-radius: 20px; padding: 32px;
    box-shadow: 0 8px 32px rgba(14,165,233,0.15);
    position: relative; overflow: hidden;
}
.eyo-balance-card::before {
    content: '💳';
    position: absolute; right: 20px; top: 20px;
    font-size: 48px; opacity: .15;
}
.eyo-balance-label { color: #94a3b8; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; }
.eyo-balance-amount {
    font-size: 44px; font-weight: 700; color: white;
    margin: 8px 0; letter-spacing: -1px;
}
.eyo-balance-meta { display: flex; gap: 20px; color: #0ea5e9; font-size: 13px; margin-top: 12px; }
.eyo-account-chip {
    display: inline-block; margin-top: 16px;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.3);
    border-radius: 20px; padding: 6px 16px;
    color: #0ea5e9; font-size: 14px; letter-spacing: 3px;
    font-family: monospace;
}

.eyo-quick-actions {
    display: flex; flex-direction: column; gap: 10px;
    min-width: 120px;
}
.eyo-quick-btn {
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.25);
    border-radius: 12px; padding: 16px 12px;
    color: white; cursor: pointer;
    text-align: center; transition: all .2s;
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    font-family: inherit;
}
.eyo-quick-btn:hover {
    background: rgba(14,165,233,0.2);
    border-color: #0ea5e9;
    transform: translateY(-2px);
}
.eyo-quick-btn span { font-size: 24px; }
.eyo-quick-btn small { font-size: 11px; color: #94a3b8; }

/* ---- CARDS ROW ---- */
.eyo-cards-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-bottom: 24px;
}

.eyo-info-card {
    background: #1e293b;
    border: 1px solid rgba(14,165,233,0.12);
    border-radius: 16px; padding: 24px;
}
.eyo-info-card h3 { color: white; font-size: 16px; margin-bottom: 16px; }
.eyo-info-list { display: flex; flex-direction: column; gap: 10px; }
.eyo-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(14,165,233,0.07);
    font-size: 13px;
}
.eyo-info-row span { color: #64748b; }
.eyo-info-row strong { color: white; text-align: right; max-width: 60%; }

/* Summary Stats */
.eyo-summary-stat {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: 10px; margin-bottom: 10px;
}
.eyo-summary-stat.green { background: rgba(34,197,94,0.1); }
.eyo-summary-stat.red { background: rgba(239,68,68,0.1); }
.eyo-summary-stat.blue { background: rgba(14,165,233,0.1); }
.eyo-summary-stat.sky { background: rgba(14,165,233,0.07); }
.ss-icon { font-size: 24px; }
.ss-val { color: white; font-size: 18px; font-weight: 700; }
.ss-lbl { color: #64748b; font-size: 12px; }

/* ---- SECTION CARD ---- */
.eyo-section-card {
    background: #1e293b;
    border: 1px solid rgba(14,165,233,0.12);
    border-radius: 16px; padding: 24px;
    margin-bottom: 20px;
}
.eyo-section-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}
.eyo-section-card-header h3 { color: white; font-size: 16px; }

/* ---- TRANSACTIONS ---- */
.eyo-tx-list { display: flex; flex-direction: column; gap: 12px; }

.eyo-tx-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: rgba(15,23,42,0.5);
    border: 1px solid rgba(14,165,233,0.08);
    border-radius: 12px; transition: background .2s;
}
.eyo-tx-item:hover { background: rgba(14,165,233,0.05); }

.eyo-tx-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.eyo-tx-icon.green { background: rgba(34,197,94,0.15); }
.eyo-tx-icon.red { background: rgba(239,68,68,0.15); }
.eyo-tx-icon.blue { background: rgba(14,165,233,0.15); }

.eyo-tx-info { flex: 1; }
.eyo-tx-title { color: white; font-size: 14px; font-weight: 500; }
.eyo-tx-sub { color: #64748b; font-size: 12px; margin-top: 3px; }

.eyo-tx-amount { font-size: 16px; font-weight: 700; }
.eyo-tx-amount.green { color: #22c55e; }
.eyo-tx-amount.red { color: #ef4444; }

.eyo-empty-state {
    text-align: center; padding: 40px; color: #475569; font-size: 15px;
}

/* ---- TRANSFER ---- */
.eyo-transfer-balance {
    background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.25);
    border-radius: 10px; padding: 14px 20px;
    color: #94a3b8; font-size: 14px; margin-bottom: 20px;
}
.eyo-transfer-balance strong { color: white; font-size: 20px; }

/* ---- MESSAGES ---- */
.eyo-msg-item {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(14,165,233,0.1);
    border-radius: 12px; padding: 16px;
    margin-bottom: 12px; cursor: pointer;
    transition: background .2s;
}
.eyo-msg-item.unread {
    border-color: rgba(14,165,233,0.4);
    background: rgba(14,165,233,0.07);
}
.eyo-msg-item:hover { background: rgba(14,165,233,0.05); }
.eyo-msg-header {
    display: flex; justify-content: space-between;
    color: #94a3b8; font-size: 12px; margin-bottom: 6px;
}
.eyo-msg-header strong { color: #0ea5e9; }
.eyo-msg-subject { color: white; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.eyo-msg-body { color: #94a3b8; font-size: 13px; line-height: 1.5; }

/* ---- SETTINGS ---- */
.eyo-settings-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ---- FILTER BAR ---- */
.eyo-filter-bar {
    background: rgba(15,23,42,0.5); border-radius: 10px;
    padding: 16px; margin-bottom: 20px;
}
.eyo-filter-row {
    display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
}
.eyo-filter-row .eyo-field { min-width: 140px; }
.eyo-filter-row .eyo-field label { color: #64748b; font-size: 12px; }
.eyo-filter-row input,
.eyo-filter-row select {
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(14,165,233,0.25);
    border-radius: 8px; color: white;
    padding: 8px 12px; font-size: 13px;
    outline: none; font-family: inherit;
}

/* Status badge */
.status-approved { color: #22c55e; }
.status-pending { color: #f59e0b; }
.status-rejected { color: #ef4444; }

code {
    background: rgba(14,165,233,0.1);
    color: #0ea5e9; padding: 2px 6px;
    border-radius: 4px; font-size: 12px;
}

/* Small buttons */
.eyo-btn-sm {
    padding: 5px 10px; border-radius: 6px;
    border: none; cursor: pointer;
    font-size: 12px; font-weight: 600;
    font-family: inherit; transition: all .15s;
}
.eyo-btn-sm.blue { background: rgba(14,165,233,0.2); color: #0ea5e9; }
.eyo-btn-sm.green { background: rgba(34,197,94,0.2); color: #22c55e; }
.eyo-btn-sm.red { background: rgba(239,68,68,0.2); color: #ef4444; }
.eyo-btn-sm.orange { background: rgba(245,158,11,0.2); color: #f59e0b; }
.eyo-btn-sm:hover { opacity: .8; transform: translateY(-1px); }

/* PRINT STYLES */
@media print {
    .eyo-sidebar, .eyo-topbar, .eyo-hamburger,
    .eyo-filter-bar, .eyo-section-card-header .eyo-btn-outline,
    .eyo-quick-actions, .eyo-btn-sm { display: none !important; }
    .eyo-main { margin-left: 0 !important; }
    .eyo-dashboard { background: white !important; }
    .eyo-section-card { background: white !important; border: 1px solid #ddd !important; }
    .eyo-tx-item { border: 1px solid #eee !important; background: white !important; }
    .eyo-tx-title, .eyo-page-title, .eyo-section-card-header h3 { color: #000 !important; }
    .eyo-tx-sub { color: #666 !important; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .eyo-settings-grid { grid-template-columns: 1fr; }
    .eyo-cards-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .eyo-sidebar { transform: translateX(-100%); }
    .eyo-sidebar.open { transform: translateX(0); }
    .eyo-hamburger { display: flex; align-items: center; justify-content: center; }
    .eyo-main { margin-left: 0; }
    .eyo-section { padding: 16px; }
    .eyo-topbar { padding: 16px 60px 16px 16px; }
    .eyo-balance-hero { grid-template-columns: 1fr; }
    .eyo-quick-actions { flex-direction: row; flex-wrap: wrap; }
    .eyo-quick-btn { flex: 1; min-width: 80px; }
    .eyo-balance-amount { font-size: 32px; }
    .eyo-form-grid { grid-template-columns: 1fr; }
    .eyo-filter-row { flex-direction: column; }
    .eyo-tx-item { flex-wrap: wrap; }
    .eyo-settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .eyo-section-card { padding: 16px; }
    .eyo-balance-card { padding: 20px; }
}
