/* Volryu app — shared styles for login + dashboard */
:root {
  --bg: #ffffff; --surface: #faf9f7; --text: #0a0a0a; --muted: #5a5852; --subtle: #8a877f;
  --border: #e2dfd9; --accent: #c8a96e; --accent-dark: #a8893e; --danger: #c0392b;
  --serif: "Playfair Display", Georgia, serif; --sans: "Inter", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); }
.logo { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
.hidden { display: none !important; }

/* ---- Auth (login / signup) ---- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: var(--surface); }
.auth-card { width: 100%; max-width: 400px; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 2.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.auth-card .logo { display: block; text-align: center; margin-bottom: 0.35rem; }
.auth-sub { text-align: center; color: var(--subtle); font-size: 12.5px; letter-spacing: 0.02em; margin-bottom: 1.8rem; }
.auth-tabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 3px; margin-bottom: 1.5rem; }
.auth-tab { flex: 1; padding: 8px; font-size: 13px; font-weight: 600; font-family: inherit; border: none; background: none; color: var(--muted); cursor: pointer; border-radius: 2px; }
.auth-tab.active { background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.field input { width: 100%; padding: 11px 12px; font-size: 14px; font-family: inherit; border: 1px solid var(--border); border-radius: 2px; background: var(--bg); color: var(--text); }
.field input:focus { outline: none; border-color: var(--accent); }
.btn { width: 100%; padding: 12px; font-size: 14px; font-weight: 600; font-family: inherit; border: none; border-radius: 2px; background: var(--text); color: #fff; cursor: pointer; }
.btn:hover { background: #2a2a28; }
.btn:disabled { opacity: 0.6; cursor: default; }
.auth-msg { font-size: 13px; padding: 10px 12px; border-radius: 2px; margin-bottom: 1rem; }
.auth-msg.error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; }
.auth-msg.info { background: #eef6ee; color: #2a7a2a; border: 1px solid #cfe8cf; }
.auth-foot { text-align: center; font-size: 12px; color: var(--subtle); margin-top: 1.4rem; }

/* ---- Dashboard ---- */
.topbar { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 1.5rem; border-bottom: 1px solid var(--border); }
.topbar-right { display: flex; align-items: center; gap: 1rem; font-size: 13px; color: var(--muted); }
.btn-ghost { padding: 7px 14px; font-size: 13px; font-weight: 600; font-family: inherit; border: 1px solid var(--border); border-radius: 2px; background: none; color: var(--text); cursor: pointer; }
.btn-ghost:hover { border-color: var(--accent); }
.dash-wrap { max-width: 1000px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.dash-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 0.6rem; }
.dash-title { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 1.5rem; }
.dash-placeholder { border: 1px dashed var(--border); border-radius: 3px; padding: 2.8rem; text-align: center; color: var(--subtle); font-size: 14px; line-height: 1.8; background: var(--surface); }
