@charset "UTF-8";
body {
  --accent: #f05a28;
  --accent-hover: #d44e22;
  --band: rgb(0 154 114 / 16%);
  --bar-height: 45px;
  --bg-cyan: rgb(77 212 255 / 12%);
  --bg-danger: #451b25;
  --bg-info: #123b44;
  --bg-purple: #2a1a4a;
  --bg-secondary: #233247;
  --bg-success: #0d3b35;
  --bg-warning: #442b16;
  --btn-icon-bg: rgb(0 0 0 / 20%);
  --cell: #0c1727;
  --control: #101d2c;
  --cyan: #4dd4ff;
  --danger: #ef233c;
  --danger-hover: #c7172e;
  --dim: #607896;
  --font-base: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-vw: clamp(6px, 2.5cqw, 13px);
  --head: #1b2c40;
  --info: #4e9af1;
  --line: #26384d;
  --line-band: rgb(0 154 114 / 38%);
  --line-cell: #233247;
  --line-cyan: rgb(77 212 255 / 35%);
  --line-danger: #842029;
  --line-info: #1d6e82;
  --line-soft: var(--line);
  --line-subtle: #1a2c3f;
  --line-success: #146c43;
  --line-warning: #997404;
  --nav: #071829;
  --nav-shadow: rgb(0 0 0 / 38%);
  --page: #071829;
  --panel: #142234;
  --panel-2: var(--panel-alt);
  --panel-3: var(--row-stripe);
  --panel-alt: #101d2c;
  --purple: #7c4dce;
  --radius: 0;
  --radius-lg: 0;
  --radius-sm: 0;
  --row-hover: #182b40;
  --row-stripe: var(--panel-alt);
  --scroll-thumb: #26384d;
  --scroll-track: #071829;
  --shadow: rgb(0 0 0 / 28%);
  --success: #009a72;
  --table-striped-even-bg: var(--row-stripe);
  --table-striped-odd-bg: var(--panel);
  --text: #edf4fb;
  --text-danger: #f35c6f;
  --text-info: #5ca2f2;
  --text-purple: #9d7ada;
  --text-secondary: #9aaac0;
  --text-success: #00b485;
  --text-tertiary: #6c7d96;
  --text-warning: #f59e0b;
  --track: #1b2c40;
  --warning: #f59e0b;
}

body[data-theme=light] {
  --band: rgb(12 154 114 / 14%);
  --bg-cyan: rgb(77 212 255 / 18%);
  --bg-danger: #f8c8cd;
  --bg-info: #c2dfe8;
  --bg-purple: #dcd0f5;
  --bg-secondary: #d4e2f2;
  --bg-success: #b8e2d4;
  --bg-warning: #fbd9be;
  --btn-icon-bg: rgb(0 0 0 / 6%);
  --cell: #eef2f7;
  --control: #e6eef8;
  --cyan: #4dd4ff;
  --head: #e7edf5;
  --line: #bccfe6;
  --line-band: rgb(12 154 114 / 42%);
  --line-cell: #d6dee9;
  --line-cyan: rgb(77 212 255 / 50%);
  --line-danger: #e05567;
  --line-info: #5a9fc4;
  --line-soft: var(--line);
  --line-success: #4abe8c;
  --line-warning: #d4851e;
  --nav: #071b2d;
  --nav-shadow: rgb(7 28 51 / 22%);
  --page: #dde8f6;
  --panel: #f2f7fd;
  --panel-2: var(--panel-alt);
  --panel-3: var(--row-stripe);
  --panel-alt: #e6eef8;
  --row-hover: #eaf2fc;
  --row-stripe: #e6eef8;
  --shadow: rgb(7 28 51 / 14%);
  --text: #163556;
  --text-danger: #b80d22;
  --text-info: #0e5db6;
  --text-purple: #6e3ac9;
  --text-secondary: #607896;
  --text-success: #006b4f;
  --text-tertiary: #93a1b5;
  --text-warning: #855605;
  --track: #d9e1ec;
}

/*
 * Bootstrap's contextual alerts in the app's tones: --bg-* for the ground,
 * --line-* for the rule, --text-* for the words. Same three-part pairing as
 * _background.scss, so an .alert-danger and a .bg-danger are the same red.
 *
 * --text-* and not the base tone. All four used to take it, and on their own
 * grounds they scored 1.61 to 3.46 — the amber was barely visible in the light
 * theme. Every pair below clears 4.5:1.
 *
 * Set as Bootstrap's own --bs-alert-* variables rather than as background-color,
 * border and color. Bootstrap's .alert already reads them — it declares the trio
 * itself, defaulting the ground and the rule to transparent — so writing the
 * variables joins that machinery instead of overriding it, and .alert-dismissible,
 * the close button and .alert-link keep deriving from the same values.
 *
 * It works on source order, not specificity: .alert and .alert-danger are one
 * class each, so the later declaration wins, and the app's bundle is loaded in the
 * template's head block after vendor/bootstrap. Anything that put our CSS first
 * would leave every alert transparent.
 */
.alert {
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  padding: 12px 16px;
}

.alert-danger {
  --bs-alert-bg: var(--bg-danger);
  --bs-alert-border-color: var(--line-danger);
  --bs-alert-color: var(--text-danger);
}

.alert-success {
  --bs-alert-bg: var(--bg-success);
  --bs-alert-border-color: var(--line-success);
  --bs-alert-color: var(--text-success);
}

.alert-warning {
  --bs-alert-bg: var(--bg-warning);
  --bs-alert-border-color: var(--line-warning);
  --bs-alert-color: var(--text-warning);
}

.alert-info {
  --bs-alert-bg: var(--bg-info);
  --bs-alert-border-color: var(--line-info);
  --bs-alert-color: var(--text-info);
}

body {
  background: #071b2d !important;
  font-family: inter, "Segoe UI", system-ui, sans-serif;
  height: auto;
  margin: 0;
  min-height: 100vh;
  overflow: visible;
}

.square {
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
}

.auth-split {
  display: flex;
  min-height: 100vh;
}

.auth-brand {
  align-items: center;
  background: #071b2d url("/worklist/static/img/bg.jpg") center/cover no-repeat;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
}
.auth-brand .brand-logo {
  max-width: 360px;
  object-fit: contain;
  width: 100%;
}

.auth-panel {
  align-items: center;
  background: #0d1e30;
  border-left: 1px solid #1a3050;
  display: flex;
  flex: 0 0 460px;
  justify-content: center;
  padding: 48px 40px;
}

.auth-card {
  max-width: 360px;
  width: 100%;
}

.auth-header {
  margin-bottom: 28px;
  text-align: center;
}
.auth-header .auth-icon {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 50%;
  color: var(--accent);
  display: inline-flex;
  font-size: 18px;
  height: 52px;
  justify-content: center;
  margin-bottom: 14px;
  width: 52px;
}
.auth-header h2 {
  color: #edf4fb;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}
.auth-header p {
  color: rgba(237, 244, 251, 0.45);
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}

.form-group {
  margin-bottom: 16px;
}
.form-group .form-label {
  color: rgba(237, 244, 251, 0.85);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group .form-control {
  background: rgba(0, 0, 0, 0.28);
  border-color: #1a3050;
  border-radius: 0;
  color: #edf4fb;
  font-size: 13px;
  height: 40px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group .form-control::placeholder {
  color: rgba(237, 244, 251, 0.45);
}
.form-group .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-group .form-control:focus-visible {
  outline: none;
}

.form-check {
  align-items: center;
  display: flex;
  gap: 8px;
}
.form-check .form-check-input {
  border-color: #1a3050;
  height: 14px;
  width: 14px;
}
.form-check .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.form-check .form-check-input:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 12%, transparent);
}
.form-check .form-check-label {
  color: rgba(237, 244, 251, 0.85);
  font-size: 12px;
  font-weight: 500;
  margin-top: 1px;
}

.auth-btn {
  background: var(--accent);
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  height: 42px;
  transition: background 0.15s;
}
.auth-btn:not(:disabled):hover, .auth-btn:not(:disabled):focus, .auth-btn:not(:disabled):active, .auth-btn:not(:disabled):focus-visible {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: #fff !important;
}
.auth-btn:not(:disabled):focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent) !important;
  outline: none;
}
.auth-btn:disabled {
  background: color-mix(in srgb, var(--accent) 40%, transparent) !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.auth-back {
  color: rgba(237, 244, 251, 0.3);
  font-size: 12px;
  text-decoration: none;
}
.auth-back:hover {
  color: rgba(237, 244, 251, 0.6);
  text-decoration: none;
}

.alert-container {
  margin-top: 16px;
  min-height: 40px;
}
.alert-container .alert {
  text-align: center;
}

@media (width <= 768px) {
  .auth-split {
    flex-direction: column;
  }
  .auth-brand {
    border-bottom: 1px solid #1a3050;
    flex: 0 0 auto;
    padding: 28px 20px;
  }
  .auth-brand .brand-logo {
    max-width: 160px;
  }
  .auth-panel {
    border-left: 0;
    flex: 1;
    padding: 32px 20px;
  }
}
