/* ============================================
   ACTO Dashboard - Base Styles
   Reset, variables, and core layout
   ============================================ */

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

:root {
    --color-bg-primary: #f8f9fa;
    --color-bg-secondary: #ffffff;
    --color-bg-overlay: rgba(255, 255, 255, 0.95);
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #6b7280;
    --color-text-tertiary: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-accent: #4b5563;
    --color-accent-hover: #374151;
    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --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);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-image: url('/static/img/hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--color-bg-primary);
    min-height: 100vh;
    position: relative;
    color: var(--color-text-primary);
    line-height: 1.6;
}

/* Background Overlay for better readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(245, 247, 250, 0.45) 100%);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* Site Logo - Fixed top left */
.site-logo {
    position: fixed;
    top: 32px;
    left: 32px;
    z-index: 100;
    display: block;
    transition: opacity 0.2s ease;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo img {
    height: 36px;
    width: auto;
}

/* Header */
.header {
    background: var(--color-bg-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.header-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.wallet-info {
    text-align: right;
}

.wallet-address {
    margin-bottom: 12px;
    text-align: right;
}

/* Cards */
.card {
    background: var(--color-bg-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.login-card {
    text-align: center;
    padding: 80px 40px;
    max-width: 500px;
    margin: 60px auto;
}

.login-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.login-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Loading */
.loading {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-tertiary);
}

.empty-state p {
    font-size: 14px;
    margin-top: 8px;
}

.hidden {
    display: none !important;
}

