/* Google/Microsoft sign-in buttons, asking for access, and the super admin's requests, code and
   list import (js/ui-join.js, js/ui-requests.js). */
@layer views {
  .oauth { display: grid; gap: 10px; max-width: 420px; }
  button.big.oauthbtn {
    display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px var(--space-4);
    background: #fff; color: var(--ink); border: 1px solid var(--line);
    & svg { flex: none; }
    & b { font-size: 16px; }
  }
  .oauthor {
    display: flex; align-items: center; gap: 12px; max-width: 420px; margin: var(--space-4) 0 var(--space-3); color: var(--muted); font-size: 14px;
    &::before, &::after { content: ''; flex: 1; height: 1px; background: var(--line); }
  }
  ul.reqs {
    list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 8px;
    & li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); }
  }
  .reqwho { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
  form.reqans { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; & select { width: auto; min-width: 180px; } & select, & button { height: 40px; min-height: 40px; } }
  .joincode {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: var(--space-3) 0 var(--space-2);
    & code { font-size: 24px; letter-spacing: .12em; font-weight: var(--weight-semibold); padding: 4px 12px; border-radius: var(--radius); background: var(--soft, #f3f5f9); }
  }
  .joinlink { overflow-wrap: anywhere; }
  details.importlist {
    margin-top: var(--space-3); border-top: 1px solid var(--line); padding-top: var(--space-3);
    & summary { cursor: pointer; font-weight: var(--weight-semibold); }
    & textarea { width: 100%; font-family: var(--font-mono, monospace); font-size: 14px; }
    & .row3 { align-items: end; }
  }
}
/* with the buttons above it, "Send code" matches them: same height, text centred */
@layer views {
  form.login.withoauth button.big { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px var(--space-4); }
}
