/*
 * Ipseity login/consent theme — light mode example.
 *
 * Publish this file (or a variant) at a URL that matches one of your OAuth
 * client's redirect_uri rules, then append &theme=<that url> to the
 * authorization request. See docs/theming.md for the full themeable surface
 * and the security model (http(s) + redirect-rule match required, otherwise
 * the theme is silently ignored).
 *
 * The base palette is defined with CSS custom properties on :root in
 * app/static/styles.css; overriding them re-themes the whole page. The rules
 * below show both the palette override and a few element tweaks.
 */

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-alt: #e8eef7;
  --panel: #ffffff;
  --panel-soft: #f0f4fa;
  --line: #c9d6e5;
  --text: #1c2b3a;
  --muted: #5b6b7f;
  --accent: #1d6fd1;
  --accent-soft: #3a8bef;
  --error: #c62828;
}

body {
  background: radial-gradient(circle at top right, #dbe8f8 0%, #f4f7fb 40%, #e9eef6 100%);
}

.login-card.panel {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 40, 70, 0.12);
}

.login-title {
  color: #0f2440;
}

.login-subtitle {
  color: var(--muted);
}

input,
select,
textarea {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

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

label {
  color: var(--muted);
}

.button {
  background: linear-gradient(180deg, #eef2f8, #dfe7f1);
  border-color: var(--line);
  color: var(--text);
}

.button-primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-color: transparent;
  color: #ffffff;
}
