/* Marks Terminal — shared styles */

:root {
  --bg: #101418;
  --panel: #171d23;
  --line: #242c35;
  --text: #d7dde3;
  --muted: #7b8794;
  --accent: #f2a33c;
  --good: #58c38a;
  --bad: #e0605e;
  --mono: ui-monospace, Consolas, "Cascadia Mono", Menlo, monospace;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.prompt {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.prompt .user { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}

label {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1rem 0 0.35rem;
  text-transform: lowercase;
}

input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--sans);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

button {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.7rem;
  background: var(--accent);
  color: #14100a;
  border: none;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover { filter: brightness(1.08); }
button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.error {
  margin-top: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--bad);
  border-radius: 8px;
  color: var(--bad);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* login layout */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.login-box { width: 100%; max-width: 380px; }
.login-box h1 { margin: 0.25rem 0 1.25rem; font-size: 1.4rem; }
