/* Shared base styling — copy into every app's public/ folder so all
   daily apps share a consistent, clean look. Keep it minimal;
   individual apps can add their own styles on top. */

:root {
  --bg: #0f1115;
  --panel: #171a21;
  --border: #262b36;
  --text: #e8eaed;
  --text-dim: #9aa0ab;
  --accent: #5b8cff;
  --accent-hover: #7aa2ff;
  --danger: #ff5b6e;
  --success: #4ade80;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: 420px;
  margin: 10vh auto;
  padding: 0 20px;
  width: 100%;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

h1, h2 { margin-top: 0; }

label {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin: 16px 0 6px;
}

input {
  width: 100%;
  padding: 10px 12px;
  background: #0d0f13;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
}

input:focus { outline: none; border-color: var(--accent); }

button {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

button:hover { background: var(--accent-hover); }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 12px;
  min-height: 18px;
}

.muted { color: var(--text-dim); font-size: 14px; }
a { color: var(--accent); }
