:root {
  --bg-0: #06080f;
  --bg-1: #0b1020;
  --bg-2: #111831;
  --panel: #0f162b;
  --panel-2: #121d37;
  --border: #27375f;
  --border-soft: #314675;
  --text: #edf2ff;
  --muted: #9cadcf;
  --accent: #d2b271;
  --accent-2: #f2d197;
  --danger: #d66565;
  --ok: #56c18f;
  --warn: #e7b65a;
  --scene: #66a6ff;
  --enjeu: #b08dff;
  --shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 11px;
  --radius-sm: 9px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at -8% -8%, rgba(86, 115, 201, 0.18), transparent 65%),
    radial-gradient(1000px 540px at 100% 0%, rgba(210, 178, 113, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 70%);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0.2px;
}

p {
  margin: 0;
}

.topbar {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(13, 20, 40, 0.82), rgba(9, 14, 28, 0.78));
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar h1 {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.topbar p {
  margin-top: 7px;
  color: var(--muted);
}

.top-right {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.nav-pills {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: linear-gradient(180deg, #101a34, #0a1124);
}

.nav-pill {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.16s ease;
}

.nav-pill:hover {
  color: #d7e3ff;
  border-color: #3f5a94;
  background: rgba(255, 255, 255, 0.03);
}

.nav-pill.active {
  color: #fff5df;
  border-color: rgba(210, 178, 113, 0.5);
  background: rgba(210, 178, 113, 0.16);
}

.tag {
  font-size: 0.88rem;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 9px 13px;
  background: linear-gradient(180deg, #101a34, #0a1124);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.layout {
  max-width: 1850px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: 310px 1fr 340px;
}

.panel {
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 150px at 50% -20%, rgba(210, 178, 113, 0.08), transparent 70%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow);
  min-height: 180px;
}

.panel-in {
  animation: fade-in-up .45s ease both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stack {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

input[type="text"],
input[type="month"],
textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #0b1224;
  color: var(--text);
  padding: 11px 12px;
  font-size: 0.95rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

textarea {
  font-family: inherit;
}

input[type="text"]:hover,
input[type="month"]:hover,
textarea:hover {
  border-color: #3f5a94;
}

input[type="text"]:focus,
input[type="month"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 178, 113, 0.2);
}

button {
  background: linear-gradient(180deg, #dcbc7f, #b4914b);
  border: 1px solid #7e6430;
  color: #171103;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 11px;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

button.ghost {
  background: linear-gradient(180deg, #1e2a49, #15203b);
  border-color: #3b4f80;
  color: #d8e2ff;
}

button.danger {
  width: 100%;
  margin-top: 10px;
  color: #fff;
  border-color: #983b3b;
  background: linear-gradient(180deg, #de6f6f, #bc4f4f);
}

h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #dbe4ff;
}

.members-list {
  display: grid;
  gap: 9px;
  max-height: 54vh;
  overflow: auto;
  padding-right: 2px;
}

.member-btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0e1730, #0b1226);
  border-radius: 12px;
  padding: 10px;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  animation: fade-in-up .35s ease both;
  animation-delay: var(--stagger, 0ms);
}

.member-btn:hover {
  border-color: #3f5a94;
}

.member-btn.active {
  border-color: var(--accent);
  box-shadow:
    inset 0 0 0 1px rgba(210, 178, 113, 0.3),
    0 7px 20px rgba(0, 0, 0, 0.28);
}

.member-btn small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.current-member {
  font-weight: 800;
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(210, 178, 113, 0.12);
  border: 1px solid rgba(210, 178, 113, 0.3);
}

.legend {
  margin-top: 12px;
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  padding: 9px 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  background: rgba(9, 14, 28, 0.5);
}

.immersive-legend .legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a3f70;
  border-radius: 999px;
  padding: 4px 10px;
  background: linear-gradient(180deg, #0f1a33, #0b1328);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot-present { background: var(--ok); box-shadow: 0 0 12px rgba(86, 193, 143, 0.55); }
.dot-scene { background: var(--scene); box-shadow: 0 0 12px rgba(102, 166, 255, 0.55); }
.dot-enjeu { background: var(--enjeu); box-shadow: 0 0 12px rgba(176, 141, 255, 0.55); }
.dot-none { background: #8c7b84; }

.calendar-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(7, minmax(122px, 1fr));
  gap: 9px;
}

.calendar-grid.refreshing .day-card {
  animation: pop-in .36s cubic-bezier(.18,.86,.3,1.2) both;
  animation-delay: var(--stagger, 0ms);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.weekday {
  text-align: center;
  padding: 8px;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: linear-gradient(180deg, #0e1730, #0b1226);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.empty-cell {
  min-height: 150px;
  border: 1px dashed #2f4375;
  border-radius: 14px;
  opacity: 0.55;
  background: rgba(6, 10, 20, 0.35);
}

.day-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 9px;
  background:
    radial-gradient(200px 100px at 0% 0%, rgba(255,255,255,.03), transparent 70%),
    linear-gradient(180deg, #0f1a35, #0b142a);
  min-height: 150px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .25s ease;
  overflow: hidden;
}

.day-card .immersive-stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #384e80, #253964);
  opacity: .75;
}

.day-card:hover {
  transform: translateY(-1px);
  border-color: #4b68a6;
}

.day-card.is-weekend {
  box-shadow: inset 0 0 0 1px rgba(76, 98, 147, .25);
}

.day-card.state-empty {
  background:
    radial-gradient(140px 90px at 0% 0%, rgba(195, 112, 112, 0.10), transparent 70%),
    linear-gradient(180deg, #101830, #0b1429);
}

.day-card.state-level-1 {
  box-shadow: inset 0 0 0 1px rgba(76, 119, 198, 0.35);
}

.day-card.state-level-2 {
  box-shadow: inset 0 0 0 1px rgba(210, 178, 113, 0.42), 0 9px 20px rgba(0, 0, 0, 0.16);
}

.day-card.state-level-3 {
  box-shadow:
    inset 0 0 0 1px rgba(226, 201, 141, 0.5),
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(210, 178, 113, 0.25);
}

.day-card.is-present .immersive-stripe {
  background: linear-gradient(90deg, rgba(86, 193, 143, .9), rgba(86, 193, 143, .2));
}

.day-card.is-scene .immersive-stripe {
  background: linear-gradient(90deg, rgba(102, 166, 255, .9), rgba(102, 166, 255, .2));
}

.day-card.is-enjeu .immersive-stripe {
  background: linear-gradient(90deg, rgba(176, 141, 255, .95), rgba(176, 141, 255, .2));
}

.day-card.is-present.is-scene .immersive-stripe,
.day-card.is-scene.is-enjeu .immersive-stripe,
.day-card.is-present.is-enjeu .immersive-stripe,
.day-card.is-present.is-scene.is-enjeu .immersive-stripe {
  background: linear-gradient(90deg, rgba(86,193,143,.92), rgba(102,166,255,.86), rgba(176,141,255,.82));
}

.day-card.has-note::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #69d3a1;
  box-shadow: 0 0 10px rgba(105, 211, 161, .7);
}

.day-card.pulse {
  animation: pulse-card .28s ease;
}

@keyframes pulse-card {
  0% { transform: scale(1); }
  50% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.day-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.day-number {
  font-weight: 800;
  font-size: 1.03rem;
}

.mini-score {
  border: 1px solid #395285;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: .74rem;
  color: #c7d8ff;
  background: #0e1730;
}

.note-btn {
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #182645, #111b33);
  color: var(--text);
  padding: 5px 8px;
  border-radius: 9px;
  font-size: 0.95rem;
}

.note-btn:hover {
  border-color: #5370ac;
}

.checks {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 4px 8px 4px 6px;
  font-size: 0.81rem;
  background: linear-gradient(180deg, #0f1a33, #0b1328);
  user-select: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.chip:hover {
  border-color: #4d6ca8;
}

/* Checkboxes plus gros + premium */
.chip input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 2px solid #4a639a;
  background: linear-gradient(180deg, #0b1329, #091024);
  display: inline-grid;
  place-content: center;
  margin: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: all .16s ease;
}

.chip input[type="checkbox"]::before {
  content: "";
  width: 8px;
  height: 13px;
  border: solid #0f1629;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .14s ease;
}

.chip input[type="checkbox"]:checked {
  background: linear-gradient(180deg, #f0cf93, #c9a763);
  border-color: #f3d8a8;
  box-shadow: 0 0 0 3px rgba(210, 178, 113, 0.22);
}

.chip input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1);
}

.chip input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 154, 245, .35);
}

.chip span {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.chip input[type="checkbox"]:checked + span {
  color: #fff6e5;
  text-shadow: 0 0 12px rgba(210, 178, 113, 0.35);
}

/* Aperçu note compact: ne s'étire jamais */
.note-preview {
  font-size: 0.81rem;
  line-height: 1.35;
  margin: 0;
  min-height: 2.2em;
  max-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.right-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.member-stats {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, #111d37, #0e172c);
  padding: 10px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.kpi {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  background: #0d152b;
}

.kpi .lbl {
  color: var(--muted);
  font-size: 0.79rem;
}

.kpi .val {
  font-weight: 800;
  margin-top: 2px;
}

.ranking {
  display: grid;
  gap: 8px;
}

.rank-card {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 9px;
  background: linear-gradient(180deg, #101a32, #0c1428);
  animation: fade-in-up .35s ease both;
  animation-delay: var(--stagger, 0ms);
}

.rank-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.badge {
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 800;
  padding: 4px 8px;
}

.badge.low {
  border: 1px solid rgba(214, 101, 101, 0.65);
  background: rgba(214, 101, 101, 0.2);
  color: #f2c0c0;
}

.badge.mid {
  border: 1px solid rgba(231, 182, 90, 0.65);
  background: rgba(231, 182, 90, 0.2);
  color: #f6dfb3;
}

.badge.high {
  border: 1px solid rgba(86, 193, 143, 0.65);
  background: rgba(86, 193, 143, 0.2);
  color: #cbf0dd;
}

/* Modal notes */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(1, 4, 10, 0.72);
  display: grid;
  place-items: center;
  padding: 14px;
  z-index: 60;
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(760px, 100%);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, #111d37, #0d172d);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  padding: 14px;
  display: grid;
  gap: 10px;
  animation: fade-in-up .28s ease both;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #182645, #111b33);
  color: var(--text);
}

.note-textarea {
  min-height: 190px;
  max-height: 56vh;
  resize: vertical;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Stats page */
.page-shell {
  max-width: 1650px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 10px;
}

.kpi-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #101a33, #0c1429);
  padding: 12px;
}

.kpi-card .title {
  color: var(--muted);
  font-size: 0.84rem;
}

.kpi-card .big {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 4px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 740px;
}

thead th {
  text-align: left;
  font-size: 0.86rem;
  color: #c8d5f7;
  background: #0c1429;
  position: sticky;
  top: 0;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #263b67;
  white-space: nowrap;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.row-score {
  font-weight: 800;
}

.bar-cell {
  min-width: 190px;
}

.bar-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #0a1226;
  border: 1px solid #304878;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #a38543, #e3c37f);
}

.export-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.export-btn {
  border: 1px solid #3f5a94;
  color: #dce8ff;
  background: linear-gradient(180deg, #1a2a4d, #142241);
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 10px;
}

.export-btn:hover {
  border-color: #6f8ecf;
}

.chart-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.chart-card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #101a33, #0c1429);
  padding: 12px;
  min-height: 340px;
}

.chart-title {
  font-size: .95rem;
  margin-bottom: 10px;
  color: #dfe8ff;
}

.chart-wrap {
  position: relative;
  height: 280px;
}

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

/* Scrollbar esthétique */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #0a1020;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: #2c3f6b;
  border-radius: 999px;
  border: 2px solid #0a1020;
}

*::-webkit-scrollbar-thumb:hover {
  background: #3b568f;
}

@media (max-width: 1400px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(95px, 1fr));
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-right {
    width: 100%;
    justify-items: start;
  }

  .layout,
  .page-shell {
    padding: 10px;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(134px, 1fr));
  }

  .weekday {
    display: none;
  }

  .empty-cell {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .export-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ==================== Auth / session ==================== */
.session-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: linear-gradient(180deg, #101a34, #0a1124);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.session-user {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0 8px;
  white-space: nowrap;
}

.logout-btn {
  border: 1px solid #5a2a31;
  border-radius: 999px;
  background: linear-gradient(180deg, #51222a, #3d1a21);
  color: #ffdfe4;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.logout-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(130, 40, 56, 0.24);
}

.logout-btn:active {
  transform: translateY(0);
}

.login-body {
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(900px 260px at 50% -15%, rgba(231, 194, 126, 0.2), transparent 70%),
    radial-gradient(700px 240px at 80% 110%, rgba(116, 148, 238, 0.17), transparent 65%),
    var(--bg);
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-card {
  width: min(480px, 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background:
    radial-gradient(520px 140px at 50% -20%, rgba(210, 178, 113, 0.12), transparent 70%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  box-shadow: var(--shadow);
  animation: fade-in-up .36s ease both;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  color: #ffe8bc;
  background: rgba(210, 178, 113, 0.14);
}

.login-card h1 {
  margin-top: 14px;
}

.login-card .stack {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.login-card label {
  display: grid;
  gap: 6px;
}

.login-card label span {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-error {
  margin-top: 12px;
  display: none;
  border: 1px solid rgba(227, 115, 115, 0.5);
  background: rgba(227, 115, 115, 0.14);
  color: #ffd6d6;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.9rem;
}

.login-hint {
  margin-top: 13px;
  border: 1px dashed var(--border-soft);
  border-radius: 10px;
  padding: 10px;
  line-height: 1.45;
}

.login-hint code {
  color: #ffe8bc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
