/* Entry page-only styles. Buttons inherit .btn from base.css */
:root { color-scheme: dark; }

/* Container */
.container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* Heading */
h1 {
  text-align: center;
  font-size: 24px;
  color: var(--text);
  margin: 0 0 12px;
}

/* Layout wrappers (if you want side-by-side later, these are ready) */
.flex-container {
  display: flex;
  justify-content: center;
}
.form-container {
  width: 100%;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
  font-weight: 600;
  color: var(--muted);
}

/* Inputs use base tokens; small focus lift */
input[type="text"] {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  background: #0b0e14;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
input[type="text"]::placeholder { color: rgba(232,238,252,0.55); }
input[type="text"]:focus {
  border-color: var(--border-strong);
  outline: none;
  box-shadow: 0 0 0 2px rgba(214,40,40,0.20); /* subtle red focus */
}

/* Use global .btn for all buttons */
.button-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Notes + errors */
.note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.note b { color: var(--text); }
.note u { color: var(--accent-2); text-underline-offset: 2px; }

.error-message {
  color: var(--accent-2);
  margin-top: 10px;
  text-align: center;
}
