/* Modern app stylesheet */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, Inter, Segoe UI, Roboto, Helvetica, Arial, Noto Sans;
  --bg: #f7f7f8; --card: #ffffff; --border: #e5e7eb;
  --text: #0f172a; --muted: #6b7280;
  --primary: #2563eb; --primary-foreground: #ffffff;
  --secondary: #64748b; --secondary-foreground: #ffffff;
  --success: #16a34a; --warning: #f59e0b; --danger: #dc2626;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; min-height: 100vh; }
header { background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 1px 3px rgba(16,24,40,0.06); padding: 24px; margin-bottom: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 1px 3px rgba(16,24,40,0.06); padding: 24px; }
.btn, .nav-btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease; text-decoration: none; }
.btn:hover, .nav-btn:hover, button:hover { background: #f9fafb; }
.btn-primary, .nav-btn.primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.btn-secondary, .nav-btn.secondary { background: var(--secondary); color: var(--secondary-foreground); border-color: var(--secondary); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-warning { background: var(--warning); color: #111827; border-color: var(--warning); }
.btn-danger  { background: var(--danger);  color: #fff; border-color: var(--danger); }
input, select, textarea { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); font: inherit; transition: border-color 120ms ease, box-shadow 120ms ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
html, body { background: var(--bg) !important; }
*, body, header, .nav-btn, .btn, input, select, textarea { font-family: var(--font-sans) !important; }
/* Overrides for legacy inline styles */
/* Overrides for legacy inline styles */
[style*="font-family: Georgia"] { font-family: var(--font-sans) !important; }
[style*="background: #FFF1E5"], [style*="background:#FFF1E5"], [style*="background-color: #FFF1E5"] { background-color: #f7f7f8 !important; }
[style*="border: 1px solid #E8DCCF"], [style*="border-color: #E8DCCF"], [style*="border: 2px solid #E8DCCF"], [style*="border: 3px solid #E8DCCF"] { border-color: #e5e7eb !important; }
[style*="color: #33302e"], [style*="color:#33302e"] { color: #0f172a !important; }
[style*="background: #33302e"], [style*="background:#33302e"], [style*="background-color: #33302e"] { background: #2563eb !important; color: #ffffff !important; border-color: #2563eb !important; }
