/* auth.vizyonkreyol.com: the app's own colors (navy #1a1a2e, panels #2d2d44, green #2ecc71), the
   app icon, French text, no decoration. Buttons answer a press; nothing else moves. */
:root {
  --bg: #1a1a2e;
  --panel: #2d2d44;
  --line: #3d3d54;
  --text: #c8cad6;
  --muted: #9ea3bb;
  --white: #ffffff;
  --green: #2ecc71;
  --green-dark: #25a85c;
  --danger: #f08a80;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); font-weight: 600; }
h1 { color: var(--white); margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.center { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.panel { width: min(440px, 100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 19px; margin-bottom: 28px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.sub { color: var(--muted); margin: 8px 0 24px; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-weight: 600; font-size: 15px; color: var(--white); }
.hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }
input, select { font: inherit; color: var(--white); min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color 160ms ease; }
input:focus, select:focus { outline: none; border-color: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer; font: 700 17px "Inter", system-ui, sans-serif; color: var(--bg); background: var(--green); text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms ease, opacity 160ms ease; }
.button:active { transform: scale(0.97); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.button.outline { background: transparent; color: var(--white); border: 2px solid var(--line); }
.button.small { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--green-dark); }
  .button.outline:hover { background: transparent; border-color: var(--green); }
}
.error { color: var(--danger); min-height: 1.4em; margin: 0; font-size: 15px; }
.note { color: var(--muted); font-size: 15px; margin: 18px 0 0; text-align: center; }

/* Account and users pages */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.topbar .brand { margin: 0; }
.content { width: min(1040px, 100% - 32px); margin: 36px auto 60px; }
.content h1 { font-size: clamp(28px, 4vw, 36px); }
.content .card { margin-top: 20px; }
.who { display: flex; align-items: center; gap: 16px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--green); font-weight: 800; font-size: 22px; flex: none; }
.who strong { display: block; color: var(--white); font-size: 19px; }
.who span { color: var(--muted); }
.badge { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--bg); color: var(--green); font-size: 13px; font-weight: 700; vertical-align: middle; }
.links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.links a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--white); background: var(--bg); transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.links a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .links a:hover { border-color: var(--green); } }
.grid-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 0 10px 10px; }
td { padding: 14px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
td strong { color: var(--white); display: block; }
td small { display: block; color: var(--muted); }
td input, td select { min-height: 42px; font-size: 15px; width: 100%; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.blocked { color: var(--danger); font-weight: 700; font-size: 13px; }

/* The developers' pages (dev.vizyonkreyol.com: models.html and developers.html, 2026-12-05). Every rule is scoped to
   their <main class="content dev">, so the sign-in, account and users pages keep their look. */
.dev h2 { color: var(--white); font-size: 21px; margin: 0 0 6px; }
.dev h3 { color: var(--white); font-size: 16px; margin: 22px 0 8px; }
.dev .card > p:not(.error) { margin: 8px 0; }
.dev .card .sub { margin: 6px 0 16px; }
.dev .muted { color: var(--muted); }
.dev .small { font-size: 13.5px; }
.dev .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; }
.dev .nowrap { white-space: nowrap; }
.dev .right { text-align: right; }
.dev .note.left { text-align: left; }
.dev .steps { margin: 12px 0 20px; padding-left: 24px; display: grid; gap: 6px; }
.dev .inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.dev .inline-form label { flex: 1 1 260px; }
.dev label.inline { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; }
.dev label.inline select { min-height: 42px; }
.dev .table-wrap { overflow-x: auto; }
.dev .files td { padding: 10px; }
.dev .model-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.dev .part h3 .small { font-weight: 500; }
.dev .window { border-left: 3px solid var(--green); padding: 8px 12px; background: var(--bg); border-radius: 0 10px 10px 0; color: var(--white); }
.dev .window.off { border-left-color: var(--line); color: var(--text); }
.dev .credits { color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.dev .fresh { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--green); border-radius: 12px; background: var(--bg); }
.dev .fresh code { flex: 1 1 320px; color: var(--white); }
.dev pre.code { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; color: var(--white);
  font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre; }
/* not .center: that class lays out the sign-in pages (full height) */
.dev .row.middle { align-items: center; }
.dev .row.end { justify-content: flex-end; }
.dev .ok { color: var(--green); font-weight: 600; }
.dev .editor { display: grid; gap: 12px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.dev .editor .who-line { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.dev .editor .who-line strong { color: var(--white); }
.dev .editor .who-line small { color: var(--muted); }
.dev .grants td { border-top: 1px solid var(--line); padding: 10px; }
.dev .grants tr:first-child td { border-top: 0; }
.dev label.check { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.dev input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; padding: 0; accent-color: var(--green); }
.dev input.count { width: 96px; min-height: 42px; }
.dev input.count:disabled { opacity: 0.5; }
.dev .editor-row > td { border-top: 0; padding-top: 0; }

@media (prefers-reduced-motion: reduce) { .button, .links a { transition: none; } }
@media (max-width: 800px) {
  .grid-form { grid-template-columns: 1fr; }
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { border-top: 1px solid var(--line); padding: 10px 0; }
  td { border: 0; padding: 6px 0; }
}
