/* --- AuditVault Global Design System (Mai 2026) --- */

:root {
    /* Primary Colors */
    --color-sky-blue: #0ea5e9;
    --color-deep-sky: #0284c7;
    
    /* Accent Colors */
    --color-violet: #8b5cf6;
    --color-deep-violet: #7c3aed;
    
    /* Semantic Colors */
    --color-success: #34d399;
    --color-warning: #fbbf24;
    --color-danger: #f87171;
    
    /* Neutral / Backgrounds */
    --bg-dark-950: #020617;
    --bg-dark-900: #0f172a;
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Global Styles */
body {
    background-color: var(--bg-dark-950);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* Monospace für Adressen & Hashes (JetBrains Mono) */
.font-mono {
    font-family: 'JetBrains Mono', monospace !important;
}

/* Zentraler Glassmorphism-Standard */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
}

/* Logo & Branding */
.logo-main {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-main:hover {
    transform: scale(1.05);
}

/* Buttons (CTA) */
.btn-primary {
    background: var(--color-sky-blue);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-deep-sky);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Loader / Auth-Guard Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark-950);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-sky-blue);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
