:root { font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; font-weight: 400; color-scheme: light dark; color: #1e293b; background-color: #f8fafc; --primary: #2563eb; --primary-hover: #1d4ed8; --success: #10b981; --success-hover: #059669; --warning: #f59e0b; --warning-hover: #d97706; --danger: #ef4444; --danger-hover: #dc2626; --card-bg: #ffffff; --border-color: #e2e8f0; --text-primary: #0f172a; --text-secondary: #64748b; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { font-weight: 500; color: var(--primary); text-decoration: inherit; } a:hover { color: var(--primary-hover); } body { margin: 0; display: flex; place-items: center; min-width: 320px; min-height: 100vh; } h1 { font-size: 3.2em; line-height: 1.1; } #app { max-width: 1280px; margin: 0 auto; padding: 2rem; text-align: center; } .logo { height: 6em; padding: 1.5em; will-change: filter; transition: filter 300ms; } .logo:hover { filter: drop-shadow(0 0 2em #646cffaa); } .logo.vanilla:hover { filter: drop-shadow(0 0 2em #f7df1eaa); } .card { padding: 2em; } .read-the-docs { color: #888; } button { border-radius: 8px; border: 1px solid transparent; padding: 0.6em 1.2em; font-size: 1em; font-weight: 500; font-family: inherit; background-color: var(--primary); color: white; cursor: pointer; transition: background-color 0.25s, border-color 0.25s; } button:hover { background-color: var(--primary-hover); } button:focus, button:focus-visible { outline: 4px auto -webkit-focus-ring-color; } @media (prefers-color-scheme: light) { :root { color: var(--text-primary); background-color: #f8fafc; } a:hover { color: var(--primary-hover); } } .login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; } .login-card { background: var(--card-bg); padding: 2.5rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); width: 100%; max-width: 400px; border: 1px solid var(--border-color); } .login-title { color: var(--text-primary); margin: 0 0 2rem 0; font-size: 1.8rem; text-align: center; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; color: var(--text-primary); margin-bottom: 0.5rem; font-weight: 500; } .form-group input { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; color: var(--text-primary); font-size: 1rem; box-sizing: border-box; } .form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); } .login-button { width: 100%; padding: 0.875rem; background-color: var(--primary); color: white; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.25s; } .login-button:hover { background-color: var(--primary-hover); border-color: transparent; } .login-error { color: var(--danger); text-align: center; margin-top: 1rem; font-size: 0.9rem; } .dashboard { max-width: 1280px; margin: 0 auto; padding: 2rem; } .dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding: 1.5rem; background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); min-height: 100px; } .dashboard-header h1 { font-size: 2.4rem; margin: 0; } .dashboard-content { background: var(--card-bg); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .logout-button { background-color: var(--danger); color: white; padding: 0.5rem 1rem; border: none; border-radius: 6px; cursor: pointer; } .logout-button:hover { background-color: var(--danger-hover); border-color: transparent; } .status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; } .status-pending { background-color: #fef3c7; color: #d97706; } .status-paid { background-color: #d1fae5; color: #059669; } .status-overdue { background-color: #fee2e2; color: #dc2626; } .status-draft { background-color: #f1f5f9; color: #64748b; } .amount-display { font-family: 'Courier New', monospace; font-weight: 600; color: var(--text-primary); } .card-stat { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-color); } .card-stat-label { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.5rem; } .card-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); } .card-stat.positive .card-stat-value { color: var(--success); } .card-stat.negative .card-stat-value { color: var(--danger); } /* Layout with sidebar */ .app-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; } .sidebar { position: sticky; top: 1rem; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; height: fit-content; } .sidebar-brand { font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; } .sidebar-nav { display: flex; flex-direction: column; gap: 0.5rem; } .nav-link { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--text-primary); text-decoration: none; border: 1px solid transparent; } .nav-link:hover { background: #f1f5f9; } .nav-link.active { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; } .sidebar-footer { margin-top: 1rem; display: flex; justify-content: flex-start; }