/**
 * EURABELT FUELS - Global Banking Registry Portal
 * Main Stylesheet — v2.0 Diamond Standard
 * Font sizes increased for professional desktop compliance reading
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-orange-500: #f97316;
    --color-red-600: #dc2626;
    --color-emerald-400: #34d399;
    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-cyan-400: #22d3ee;
    --color-cyan-500: #06b6d4;
    --color-purple-400: #a78bfa;
    --color-purple-500: #8b5cf6;
    --color-blue-500: #3b82f6;
    --color-rose-500: #f43f5e;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-slate-950: #020617;
    --color-success: var(--color-emerald-500);
    --color-warning: var(--color-amber-500);
    --color-error: #ef4444;
    --color-info: var(--color-cyan-500);
    --bg-primary: var(--color-slate-950);
    --bg-secondary: var(--color-slate-900);
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-input: var(--color-slate-800);
    --text-primary: var(--color-slate-50);
    --text-secondary: var(--color-slate-400);
    --text-muted: var(--color-slate-500);
    --border-color: var(--color-slate-700);
    --border-color-light: var(--color-slate-800);
    --gradient-primary: linear-gradient(135deg, var(--color-amber-500) 0%, var(--color-orange-500) 50%, var(--color-red-600) 100%);
    --gradient-emerald: linear-gradient(135deg, var(--color-emerald-500) 0%, var(--color-cyan-500) 100%);
    --gradient-purple: linear-gradient(135deg, var(--color-purple-500) 0%, #a855f7 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-amber: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
    --shadow-emerald: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

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

html {
    font-size: 16px; /* Base stays 16px — all rem increases are below */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;   /* was 1.5 — more breathing room */
    min-height: 100vh;
    font-size: 1rem;    /* explicit 16px body text */
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LAYOUT
   ============================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color-light);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    transition: transform var(--transition-normal);
}

.sidebar-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color-light);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.sidebar-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-amber);
}

.sidebar-logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.sidebar-logo-text {
    font-size: 1.375rem;  /* was 1.25rem */
    font-weight: 700;
}

.sidebar-logo-text .amber {
    color: var(--color-amber-400);
}

.sidebar-nav {
    flex: 1;
    padding: var(--spacing-lg) 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: var(--spacing-lg);
}

.nav-section-title {
    padding: 0 var(--spacing-lg);
    font-size: 0.8rem;      /* was 0.75rem — section labels readable */
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 0.65rem var(--spacing-lg);  /* slightly taller tap target */
    color: var(--text-secondary);
    font-size: 0.925rem;    /* was implicit ~14px — now explicit 14.8px */
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-amber-400);
    border-left-color: var(--color-amber-500);
}

.nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-item-badge {
    margin-left: auto;
    padding: 0.15rem 0.55rem;
    background: var(--color-slate-700);
    border-radius: var(--radius-full);
    font-size: 0.8rem;      /* was 0.75rem */
    font-weight: 500;
}

.sidebar-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color-light);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;        /* was 0.875rem */
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.95rem;     /* was implicit inherit — now explicit */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.825rem;    /* was 0.75rem */
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
}

.main-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color-light);
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header h1 {
    font-size: 1.75rem;     /* was 1.5rem */
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.dashboard-content {
    padding: var(--spacing-xl);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

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

.card-header h2 {
    font-size: 1.25rem;     /* was 1.125rem */
    font-weight: 600;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color-light);
    background: rgba(15, 23, 42, 0.5);
}

/* ============================================
   STATISTICS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: border-color var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--border-color);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-card.stat-emerald .stat-icon { background: rgba(16, 185, 129, 0.1); }
.stat-card.stat-emerald .stat-icon svg { color: var(--color-emerald-400); }
.stat-card.stat-emerald .stat-value { color: var(--color-emerald-400); }
.stat-card.stat-amber .stat-icon { background: rgba(245, 158, 11, 0.1); }
.stat-card.stat-amber .stat-icon svg { color: var(--color-amber-400); }
.stat-card.stat-amber .stat-value { color: var(--color-amber-400); }
.stat-card.stat-cyan .stat-icon { background: rgba(6, 182, 212, 0.1); }
.stat-card.stat-cyan .stat-icon svg { color: var(--color-cyan-400); }
.stat-card.stat-cyan .stat-value { color: var(--color-cyan-400); }
.stat-card.stat-purple .stat-icon { background: rgba(139, 92, 246, 0.1); }
.stat-card.stat-purple .stat-icon svg { color: var(--color-purple-400); }
.stat-card.stat-purple .stat-value { color: var(--color-purple-400); }
.stat-card.stat-blue .stat-icon { background: rgba(59, 130, 246, 0.1); }
.stat-card.stat-blue .stat-icon svg { color: var(--color-blue-500); }
.stat-card.stat-blue .stat-value { color: var(--color-blue-500); }
.stat-card.stat-rose .stat-icon { background: rgba(244, 63, 94, 0.1); }
.stat-card.stat-rose .stat-icon svg { color: var(--color-rose-500); }
.stat-card.stat-rose .stat-value { color: var(--color-rose-500); }

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;        /* was 1.75rem */
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;     /* was 0.875rem */
    color: var(--text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.825rem 1.375rem;  /* slightly taller/wider */
    border-radius: var(--radius-lg);
    font-weight: 600;            /* was 500 — bolder for readability */
    font-size: 0.975rem;         /* was 0.875rem */
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 20px -10px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--color-slate-700);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--color-slate-600);
}

.btn-success {
    background: var(--gradient-emerald);
    color: white;
    box-shadow: var(--shadow-emerald);
}

.btn-success:hover {
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--color-slate-800);
    border-color: var(--color-slate-600);
    color: var(--text-primary);
}

.btn-sm {
    padding: 0.55rem 0.975rem;  /* was 0.5rem 0.875rem */
    font-size: 0.9rem;           /* was 0.8125rem */
}

.btn-lg {
    padding: 1.1rem 2rem;       /* was 1rem 1.75rem */
    font-size: 1.1rem;           /* was 1rem */
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: 0.975rem;         /* was 0.875rem — labels must be clearly readable */
    font-weight: 600;            /* was 500 — stronger label weight */
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.925rem 1.1rem;   /* was 0.875rem 1rem — taller inputs */
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;          /* was 1rem — slight bump for readability */
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help {
    margin-top: var(--spacing-xs);
    font-size: 0.85rem;          /* was 0.75rem — help text now readable */
    color: var(--text-muted);
}

.form-error {
    color: var(--color-error);
}

/* ============================================
   TABLES
   ============================================ */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.9rem var(--spacing-lg);  /* was var(--spacing-md) — taller rows */
    text-align: left;
    border-bottom: 1px solid var(--border-color-light);
    font-size: 0.95rem;                 /* explicit td font size */
}

.table th {
    font-size: 0.8rem;           /* was 0.75rem — header labels */
    font-weight: 700;            /* was 600 */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(15, 23, 42, 0.5);
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table .swift-code {
    font-family: monospace;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald-400);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* data-table used by validators — ensure readable sizes */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.975rem;         /* was .8rem — major readability increase */
}

.data-table th {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;           /* was .68rem */
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    padding: 0.8rem 1.25rem;    /* was .65rem — more breathing room */
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-secondary);
    vertical-align: middle;
    font-size: 0.975rem;         /* was implicitly inherited tiny size */
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem var(--spacing-lg);    /* was var(--spacing-md) */
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    font-size: 0.975rem;                /* explicit readable alert text */
    line-height: 1.6;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.alert-success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }
.alert-error   { background: rgba(239, 68, 68, 0.1);  border: 1px solid rgba(239, 68, 68, 0.3);  color: #fca5a5; }
.alert-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #fcd34d; }
.alert-info    { background: rgba(6, 182, 212, 0.1);  border: 1px solid rgba(6, 182, 212, 0.3);  color: #67e8f9; }

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;    /* was 0.25rem 0.625rem — taller badge */
    border-radius: var(--radius-full);
    font-size: 0.825rem;         /* was 0.75rem */
    font-weight: 600;            /* was 500 */
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--color-emerald-400); border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-warning { background: rgba(245, 158, 11, 0.1);  color: var(--color-amber-400);   border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-error   { background: rgba(239, 68, 68, 0.1);   color: #f87171;                  border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-info    { background: rgba(6, 182, 212, 0.1);   color: var(--color-cyan-400);    border: 1px solid rgba(6, 182, 212, 0.2); }
.badge-primary { background: rgba(245, 158, 11, 0.12); color: var(--color-amber-400);   border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-outline { background: transparent;               color: var(--text-secondary);    border: 1px solid var(--border-color); }

/* ============================================
   DASHBOARD SPECIFIC
   ============================================ */
.welcome-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.welcome-text h1 {
    font-size: 2rem;             /* was 1.75rem */
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.welcome-text p {
    font-size: 1.05rem;          /* explicit readable body text */
    color: var(--text-secondary);
}

.welcome-actions {
    display: flex;
    gap: var(--spacing-md);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Quick Links */
.quick-links {
    display: grid;
    gap: var(--spacing-md);
}

.quick-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.quick-link:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(4px);
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-link-icon svg { width: 24px; height: 24px; }
.quick-link-icon.emerald { background: rgba(16, 185, 129, 0.1); }
.quick-link-icon.emerald svg { color: var(--color-emerald-400); }
.quick-link-icon.amber { background: rgba(245, 158, 11, 0.1); }
.quick-link-icon.amber svg { color: var(--color-amber-400); }
.quick-link-icon.purple { background: rgba(139, 92, 246, 0.1); }
.quick-link-icon.purple svg { color: var(--color-purple-400); }
.quick-link-icon.cyan { background: rgba(6, 182, 212, 0.1); }
.quick-link-icon.cyan svg { color: var(--color-cyan-400); }

.quick-link-text { flex: 1; }

.quick-link-title {
    display: block;
    font-size: 1rem;             /* explicit title size */
    font-weight: 600;            /* was 500 */
    color: var(--text-primary);
}

.quick-link-desc {
    font-size: 0.9rem;           /* was 0.875rem */
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* Region List */
.region-list { display: grid; gap: var(--spacing-sm); }

.region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.region-item:hover { background: rgba(30, 41, 59, 0.8); }

.region-name {
    font-size: 0.975rem;         /* explicit */
    font-weight: 500;
}

.region-count {
    background: var(--color-slate-700);
    padding: 0.3rem 0.85rem;    /* was 0.25rem 0.75rem */
    border-radius: var(--radius-full);
    font-size: 0.925rem;         /* was 0.875rem */
    font-weight: 600;
    color: var(--color-amber-400);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
}

.info-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-lg);
}

.info-label {
    font-size: 0.825rem;         /* was 0.75rem */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.info-value {
    font-size: 1.25rem;          /* was 1.125rem */
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   BANK CARDS
   ============================================ */
.banks-grid { display: grid; gap: var(--spacing-md); }

.bank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.bank-card:hover { border-color: var(--border-color); }

.bank-card-header { padding: var(--spacing-lg); cursor: pointer; }

.bank-card-main { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--spacing-md); }

.bank-card-left { display: flex; align-items: flex-start; gap: var(--spacing-md); flex: 1; }

.bank-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bank-icon svg { width: 24px; height: 24px; }
.bank-icon.central { background: var(--color-slate-800); }
.bank-icon.central svg { color: var(--color-emerald-400); }
.bank-icon.energy { background: rgba(245, 158, 11, 0.1); }
.bank-icon.energy svg { color: var(--color-amber-400); }

.bank-info { flex: 1; min-width: 0; }

.bank-name-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.bank-name {
    font-size: 1.2rem;           /* was 1.125rem */
    font-weight: 600;
}

.bank-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
    font-size: 0.95rem;          /* was 0.875rem */
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.bank-meta svg { width: 14px; height: 14px; }

/* ============================================
   VALIDATOR CARDS
   ============================================ */
.validator-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.validator-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.validator-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-purple);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.validator-icon svg { width: 24px; height: 24px; color: white; }

.validator-title {
    font-size: 1.375rem;         /* was 1.25rem */
    font-weight: 600;
}

.validator-subtitle {
    font-size: 0.975rem;         /* was 0.875rem */
    color: var(--text-secondary);
}

.validator-input {
    font-family: monospace;
    font-size: 1.375rem;         /* was 1.25rem */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

/* ============================================
   FOOTER (portal internal footer)
   ============================================ */
footer,
.portal-footer {
    font-size: 0.9rem;           /* was ~0.6rem — MAJOR fix */
    line-height: 1.7;
}

footer .footer-brand-name,
.mft-n {
    font-size: 1rem;             /* was 11px / .7rem */
    font-weight: 700;
    letter-spacing: 0.07em;
}

footer .footer-sub,
.mft-s {
    font-size: 0.875rem;         /* was 10px / .65rem */
    line-height: 1.6;
}

footer .footer-links a,
.mft-l a {
    font-size: 0.9rem;           /* was 11px — links readable */
}

footer .footer-copy,
.mft-c {
    font-size: 0.825rem;         /* was 10px / .62rem */
}

/* Validator pill tags in footer */
footer a[style*="font-size:.6rem"],
.portal-footer a {
    font-size: 0.8rem !important;  /* force footer pills to readable size */
    padding: 0.3rem 0.7rem !important;
}

/* Domain links in footer */
footer .mfooter-links a {
    font-size: 0.875rem;
}

/* ============================================
   PUBLIC PAGES (verify.php, policy.php)
   ============================================ */

/* Policy page body text */
.policy-section p,
.sec-body p,
.disc-bd,
.disc-body {
    font-size: 1rem;             /* was .8rem / .72rem */
    line-height: 1.8;
}

.policy-section li,
.sec-body li,
.disc-bd li {
    font-size: 1rem;
    line-height: 1.75;
}

.policy-section h3,
.sec-h3 {
    font-size: 1.05rem;          /* was .8rem */
    font-weight: 700;
}

/* Verify page public */
.verify-title,
.hero-title {
    font-size: 2.5rem;           /* was 1.5rem — verify page hero */
    font-weight: 700;
}

.verify-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Certificate detail rows on public verify page */
.dr .dk {
    font-size: 0.95rem;          /* was .72rem */
}

.dr .dv {
    font-size: 0.975rem;         /* was .78rem / .8rem */
}

/* Countdown digits */
.cdn {
    font-size: 1.75rem;          /* was 19-20px */
}

.cdl {
    font-size: 0.75rem;          /* was 9px */
}

/* Status banners on verify page */
.s-lbl,
.sb-label,
.status-text-label {
    font-size: 1.2rem;           /* was .75-1rem */
    font-weight: 700;
}

.s-sub,
.sb-sub,
.status-sub {
    font-size: 0.9rem;           /* was .7rem / 11px */
}

/* Gold badge on verify/cert */
.gold-hd,
.gold-head,
.gold-text-head {
    font-size: 0.975rem;         /* was .7-78rem */
    font-weight: 700;
}

.gold-sd,
.gold-sub,
.gold-text-sub {
    font-size: 0.9rem;           /* was .65-68rem */
    line-height: 1.6;
}

/* Verification tier chips */
.chip {
    font-size: 0.825rem;         /* was 10px */
    font-weight: 600;
}

/* SWIFT badge on verify page */
.b-swift,
.bank-swift,
.swift-tag {
    font-size: 0.875rem;         /* was 10px */
}

/* QR section */
.qr-h,
.qr-label {
    font-size: 1rem;             /* was .75-.78rem */
    font-weight: 600;
}

.qr-s,
.qr-sub {
    font-size: 0.9rem;           /* was .68-.72rem */
    line-height: 1.5;
}

.qr-n,
.qr-num,
.cert-num {
    font-size: 0.875rem;         /* was 10px / .7rem */
}

/* ============================================
   INLINE OVERRIDE — validator check rows
   (used across all 13 validators)
   ============================================ */
.check-row,
[style*="font-size:.8rem"][style*="border-bottom"] {
    font-size: 0.95rem;
}

/* Validator data grid cells */
[style*="font-size:.6rem"][style*="text-transform:uppercase"] {
    font-size: 0.75rem;          /* was .6rem — label inside cell */
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; }
    .welcome-section { flex-direction: column; align-items: flex-start; }
    .welcome-actions { width: 100%; flex-direction: column; }
    .welcome-actions .btn { width: 100%; }
}