/* ── Auth pages ── */
.mcb-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px 16px;
}

.mcb-auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
}

.mcb-auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.mcb-auth-logo {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
}

.mcb-auth-header h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.mcb-auth-header p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Form ── */
.mcb-form { display: flex; flex-direction: column; gap: 16px; }

.mcb-field { display: flex; flex-direction: column; gap: 4px; }

.mcb-field label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mcb-field input[type="text"],
.mcb-field input[type="email"],
.mcb-field input[type="password"] {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s;
}

.mcb-field input:focus {
  outline: none;
  border-color: var(--link);
}

.mcb-field-inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.mcb-field-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.mcb-field-error {
  font-size: 12px;
  color: var(--accent);
  display: none;
}

.mcb-forgot-link {
  font-size: 12px;
  font-weight: normal;
}

/* ── Password strength ── */
.mcb-password-strength {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.mcb-strength-bar {
  height: 100%;
  width: 0;
  transition: width 0.2s, background 0.2s;
}

/* ── Submit button ── */
.mcb-btn-submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 11px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.mcb-btn-submit:hover { background: var(--accent-hover); }
.mcb-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Alerts ── */
.mcb-alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 8px;
}

.mcb-alert-error { background: #fef0f0; border: 1px solid #fcc; color: #c0392b; }
.mcb-alert-success { background: #f0faf5; border: 1px solid #b7e4cc; color: #1a7a4a; }
.mcb-alert-warning { background: #fffbf0; border: 1px solid #fde9a2; color: #7a5c1a; }

/* ── Terms ── */
.mcb-auth-terms {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}
