/* First-time setup screen and the "invite people" parts of the admin panel (web/js/setup.js, web/js/account.js).
   Loaded by setup.js after app.css. Uses app.css's colours plus the logo's deep navy and rhodium silver. */
.setup, .invite, .admin-form {
  --acc-navy: #0a1828;
  --acc-navy-2: #0f2237;
  --acc-line: #26394f;
  --acc-silver: #dce3ea;
  --acc-silver-2: #9fadbb;
}

/* ---------- first-time setup: the login screen's look, with a title and a short explanation ---------- */
.modal.login.setup { width: 380px; max-width: calc(100vw - 32px); }
.modal.setup .setup-title { margin: 0 0 6px; text-align: center; font-size: 15px; font-weight: 600; letter-spacing: .2px;
  color: var(--acc-silver); }
.modal.setup .body p.setup-intro { margin: 0 0 16px; text-align: center; line-height: 1.5; color: var(--text-2); text-wrap: balance; }
.modal.setup .body .field input::placeholder { color: var(--text-3); }
.modal.setup .foot .btn:disabled { opacity: .7; }

/* ---------- admin panel: Generate next to the password ---------- */
.admin-form .pw-group { display: inline-flex; align-items: center; gap: 4px; }
.admin-form .pw-group input { width: 180px; }
.admin-form input.pw-shown { font-family: Consolas, "Cascadia Mono", "Courier New", monospace; letter-spacing: .3px; color: #eef2f6; }
.btn.gen { background: #0f1c2a; border-color: #4b5d70; color: var(--acc-silver, #dce3ea); }
.btn.gen:hover { background: #16273a; border-color: #7a8ca0; color: #fff; }

/* ---------- invitation box (after a user is created or a password set) ---------- */
.invite { max-width: 720px; margin: 12px 0 6px; border: 1px solid var(--acc-line); border-radius: 4px;
  background: linear-gradient(180deg, var(--acc-navy-2) 0%, var(--acc-navy) 100%);
  box-shadow: inset 0 1px 0 rgba(220, 227, 234, .08), 0 10px 28px rgba(0, 0, 0, .5); animation: invite-in .18s ease-out; }
.invite-head { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 2px; padding: 9px 12px 8px;
  border-bottom: 1px solid var(--acc-line); }
.invite-head h4 { grid-column: 1; margin: 0; font-size: 13px; font-weight: 700; color: var(--acc-silver); }
.invite-head p { grid-column: 1; margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--acc-silver-2); }
.invite-x { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 22px; height: 22px; padding: 0; border: 1px solid transparent;
  border-radius: 3px; background: transparent; color: var(--acc-silver-2); font-size: 17px; line-height: 1; }
.invite-x:hover { color: #fff; border-color: var(--acc-line); background: rgba(255, 255, 255, .04); }
.invite-body { padding: 10px 12px 2px; }
.invite-text { display: block; width: 100%; min-height: 96px; max-height: 260px; resize: vertical; padding: 8px 10px; outline: none;
  background: #050c15; color: #eef2f6; border: 1px solid var(--acc-line); border-radius: 3px; white-space: pre-wrap;
  font: 12px/1.55 Consolas, "Cascadia Mono", "Courier New", monospace; }
.invite-text:focus { border-color: var(--blue); }
.invite-warn { margin: 8px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--amber); }
.invite-foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; }
.invite-foot .btn { height: 26px; min-width: 72px; }
.invite-status { font-size: 11.5px; color: var(--acc-silver-2); }
.btn.copied, .btn.copied:hover { background: var(--up); border-color: var(--up); color: #04130c; }
@keyframes invite-in { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
