:root {
  --charcoal: #373435;
  --charcoal-dark: #232122;
  --accent: #F89C32;
  --accent-dark: #DD8620;
  --bg: #ECECEC;
  --card: #FEFEFE;
  --border: #DADADA;
  --text: #2A2828;
  --muted: #6E6B6C;
  --error-bg: #FDECEC;
  --error-text: #B3261E;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--charcoal);
  color: #fff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--accent);
}

.topbar h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  font-family: 'Uniform 5', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.topbar form { margin: 0; }

.topbar button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s ease, color 0.15s ease;
}

.topbar button:hover {
  background: var(--accent);
  color: var(--charcoal);
}

.login-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 2px 12px rgba(55, 52, 53, 0.08);
}

.card h2 {
  margin-top: 0;
  color: var(--charcoal);
  font-size: 20px;
  font-family: 'Uniform 5', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(248, 156, 50, 0.15);
}

.field textarea { min-height: 90px; font-family: inherit; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.row { display: flex; gap: 16px; }
.row .field { flex: 1; }

.btn-primary {
  background: var(--charcoal);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease;
}

.btn-primary:hover { background: var(--accent-dark); }

.error-box {
  background: var(--error-bg);
  color: var(--error-text);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.container {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 24px 0 12px;
}

.divider {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0;
  position: relative;
}

.footnote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.5;
}

.brand-logo {
  display: block;
  height: 170px;
  width: auto;
  margin: 0 auto 10px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-logo {
  height: 32px;
  width: auto;
}