/* ════════════════════════════════════════════════════════════════════════════
   ANTIGRAVITY CRYPTO GERMANY - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Ultra-Modern Dark Glassmorphism, Neon Accents, Micro-Animations
   ════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-main: #07090e;
    --bg-card: rgba(16, 21, 33, 0.72);
    --bg-card-hover: rgba(22, 30, 48, 0.85);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.25);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-cyan: #00f2fe;
    --accent-blue: #3b82f6;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;
    --accent-purple: #a855f7;

    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow-cyan: 0 0 25px rgba(0, 242, 254, 0.2);
    --shadow-glow-rose: 0 0 25px rgba(244, 63, 94, 0.3);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow Orbs */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00f2fe, #3b82f6);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8b5cf6, #ec4899);
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #10b981, #06b6d4);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 60px) scale(0.95); }
}

/* Layout Container */
.app-container {
    position: relative;
    z-index: 1;
    max-width: 1560px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Top Navigation Header */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    flex-wrap: wrap;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #00f2fe, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-glow-cyan);
}

.brand-text h1 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-text h1 span {
    color: var(--accent-cyan);
}

.brand-text .subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.compliance-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.25);
}

.badge-purple {
    background: rgba(168, 85, 247, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.badge-dark {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
}

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

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 2s infinite;
}

/* Mode Toggle Switch (Live vs Paper) */
.mode-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-card);
    transition: all 0.25s ease;
}

.mode-toggle-btn.paper {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
    border-color: rgba(245, 158, 11, 0.35);
}

.mode-toggle-btn.paper:hover {
    background: rgba(245, 158, 11, 0.25);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.mode-toggle-btn.live {
    background: rgba(244, 63, 94, 0.2);
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.5);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.mode-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Webhook Modal Items */
.webhook-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 10px;
}

.wh-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.wh-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.wh-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.wh-badge.post {
    background: rgba(0, 242, 254, 0.2);
    color: var(--accent-cyan);
}

.wh-badge.post.danger {
    background: rgba(244, 63, 94, 0.2);
    color: var(--accent-rose);
}

.wh-badge.get {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
}

.wh-url-box code {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    color: #e2e8f0;
    word-break: break-all;
    user-select: all;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #00f2fe, #3b82f6);
    color: #07090e;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #ffffff;
    box-shadow: var(--shadow-glow-rose);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(244, 63, 94, 0.5);
}

.btn-cyan {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-amber);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #0d121f;
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease;
    transition: all 0.3s ease;
}

.toast.success {
    border-color: var(--accent-emerald);
    background: #061915;
}

.toast.error {
    border-color: var(--accent-rose);
    background: #1f0b0f;
}

.toast.warning {
    border-color: var(--accent-amber);
    background: #1e1505;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Alert Bar (Total Loss Risk Awareness) */
.alert-bar {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(244, 63, 94, 0.12));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #fde68a;
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.kpi-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glow);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kpi-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.kpi-icon {
    font-size: 18px;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.kpi-unit {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.kpi-subtext {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.kpi-subtext.positive, .positive {
    color: var(--accent-emerald);
}

.kpi-subtext.negative, .negative {
    color: var(--accent-rose);
}

.status-indicator {
    color: var(--accent-cyan);
}

/* Main Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}

.panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
}

.tag {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
}

.asset-selector-pills {
    display: flex;
    gap: 6px;
}

.pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill:hover, .pill.active {
    background: var(--accent-cyan);
    color: #07090e;
    border-color: var(--accent-cyan);
}

.pill-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.pill-select option {
    background: #0d121f;
    color: #f8fafc;
}

.chart-container {
    height: 320px;
    width: 100%;
    position: relative;
}

.indicators-hud {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-card);
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hud-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.hud-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* AI Live Reasoning Stream */
.ai-stream-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 390px;
    overflow-y: auto;
    padding-right: 6px;
}

.ai-stream-content::-webkit-scrollbar {
    width: 5px;
}
.ai-stream-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.stream-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

.stream-item.SUCCESS {
    border-left-color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.05);
}

.stream-item.WARNING {
    border-left-color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.05);
}

.stream-item.ERROR {
    border-left-color: var(--accent-rose);
    background: rgba(244, 63, 94, 0.08);
}

.stream-time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Secondary Grid */
.secondary-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-card);
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Compliance Details */
.compliance-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compliance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.c-label {
    color: var(--text-secondary);
}

.c-val {
    font-weight: 600;
}

.text-success { color: var(--accent-emerald); }
.text-cyan { color: var(--accent-cyan); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #0d121f;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 440px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 13px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

/* Footer */
.app-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 16px 0;
}

/* User Badge & Logout */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
}

.user-name {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-logout {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-rose);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: rgba(244, 63, 94, 0.35);
    transform: scale(1.05);
}

/* ════════════════════════════════════════════════════════════════════════════
   AUTH & LOGIN SCREEN OVERLAY
   ════════════════════════════════════════════════════════════════════════════ */
.auth-wrapper {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 12, 16, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: auto !important;
    animation: fadeIn 0.4s ease-out;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(18, 22, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.15);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    pointer-events: auto !important;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-emerald));
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px auto;
    font-size: 26px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.auth-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
}

.auth-header h2 span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-error {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fda4af;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.4;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    font-size: 15px;
    pointer-events: none;
    opacity: 0.7;
}

.input-with-icon input {
    padding-left: 42px !important;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Responsive Mobile Rules (Optimized for Android Screens) */
@media (max-width: 992px) {
    .dashboard-grid, .secondary-grid {
        grid-template-columns: 1fr;
    }
    .indicators-hud {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .app-container {
        padding: 12px;
        gap: 16px;
    }
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    .auth-card {
        padding: 24px 20px;
    }
}

