/* Operato sign-in and password recovery (design "Operato sign-in and password recovery", approved by Noam 12 Nov 2026).
   Scoped to .op-auth (the login screen) and #opAuthRecovery (the set-new-password overlay). Light surface on purpose:
   the sign-in screen is the same in every theme. Ink #0A0D14, page #FAFBFC, sulphur #E8FF6B only as a mark and focus halo. */
.login-screen.op-auth { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: stretch; justify-content: stretch; background: #fff; color: #0A0D14;
  font-family: Inter, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; text-align: left; }
.op-auth *, #opAuthRecovery * { box-sizing: border-box; }
.op-auth-main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 32px;
  padding: 56px 64px; overflow-y: auto; min-width: 0; }
.op-auth-col { width: 100%; max-width: 400px; align-self: center; margin: auto 0; display: flex; flex-direction: column; gap: 24px; }
.op-auth-mark { display: none; color: #0A0D14 !important; }
.op-auth-side { flex: 0 0 min(600px, 46vw); background: #0A0D14; color: #fff; padding: 56px; display: flex; flex-direction: column;
  justify-content: space-between; }
.op-auth-side .operato-wordmark { color: #fff; }
.op-auth-line { margin: 0; max-width: 420px; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.op-auth-view { display: flex; flex-direction: column; gap: 24px; }
.op-auth-view[hidden] { display: none; }
.op-auth-h { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: #0A0D14; }
.op-auth-h:focus { outline: none; }
.op-auth-sub { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #4A5060; }
.op-auth-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.op-f { display: flex; flex-direction: column; gap: 6px; }
.op-lblrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.op-lbl { font-size: 13px; font-weight: 600; color: #0A0D14; }
.op-in { width: 100%; height: 44px; padding: 0 14px; border: 1px solid rgba(10,13,20,.18); border-radius: 6px; background: #fff;
  font: inherit; font-size: 15px; color: #0A0D14; transition: border-color 120ms ease, box-shadow 120ms ease; }
.op-in::placeholder { color: #646C7C; }
.op-in:hover { border-color: rgba(10,13,20,.32); }
.op-in:focus { outline: none; border-color: #0A0D14; box-shadow: 0 0 0 3px rgba(232,255,107,.9); }
.op-in[aria-invalid="true"] { border-color: #C0392B; }
.op-in:disabled { background: #F4F6FB; color: #646C7C; }
.op-pw { position: relative; }
.op-pw .op-in { padding-right: 72px; }
.op-eye { position: absolute; right: 4px; top: 4px; height: 36px; padding: 0 10px; border: 0; border-radius: 4px; background: none;
  font: inherit; font-size: 13px; font-weight: 500; color: #4A5060; cursor: pointer; }
.op-eye:hover { color: #0A0D14; background: #F4F6FB; }
.op-eye:focus-visible { outline: 2px solid #0A0D14; outline-offset: 0; }
.op-btn { width: 100%; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px;
  border: 1px solid #0A0D14; background: #0A0D14; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background 120ms ease; }
.op-btn:hover { background: #2A2E38; }
.op-btn:active { background: #000; }
.op-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0A0D14; }
.op-btn:disabled { background: #E6E8EE; border-color: #E6E8EE; color: #646C7C; cursor: not-allowed; }
.op-btn[aria-busy="true"] { background: #2A2E38; border-color: #2A2E38; color: #fff; cursor: progress; }
.op-btn--sec { background: #fff; color: #0A0D14; border-color: rgba(10,13,20,.18); }
.op-btn--sec:hover { background: #F4F6FB; }
.op-lnk, #authToggle a { font: inherit; font-size: 13px; font-weight: 500; color: #0A0D14 !important; background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: rgba(10,13,20,.3) !important; }
.op-lnk:hover, #authToggle a:hover { text-decoration-color: #0A0D14 !important; }
.op-lnk:focus-visible, #authToggle a:focus-visible { outline: 2px solid #0A0D14; outline-offset: 2px; border-radius: 2px; }
#authToggle { margin: 0; text-align: center; font-size: 14px !important; color: #4A5060 !important; }
#authToggle a { font-size: 14px; }
.op-alert, #authError { margin: 0; padding: 12px 14px; border: 1px solid #F2C4BE; border-radius: 6px; background: #FDECEA; color: #8E2A1F !important;
  font-size: 14px !important; line-height: 1.45; text-align: left !important; }
.op-alert--ok { border-color: #BFE0CC; background: #E7F4EC; color: #1D5E3B !important; }
.op-note { margin: 0; padding: 14px 16px; border: 1px solid rgba(10,13,20,.10); border-radius: 6px; background: #FAFBFC; font-size: 14px;
  line-height: 1.5; color: #4A5060; }
.op-err { margin: 0; font-size: 13px; color: #A93226; }
.op-rules { margin: -6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #5F6676; }
.op-rules li[data-ok="true"] { color: #1D5E3B; }
.op-rules li::before { content: '\2022'; display: inline-block; width: 16px; }
.op-rules li[data-ok="true"]::before { content: '\2713'; }
.op-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.op-auth-foot { display: flex; gap: 16px; justify-content: center; font-size: 12px; color: #5F6676; }
.op-auth-foot a { color: #5F6676 !important; }
#loginNotice:empty { display: none; }
#loginNotice { margin: 0 !important; text-align: left !important; font-size: 14px !important; }
.op-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; display: inline-block;
  animation: op-spin 700ms linear infinite; }
@keyframes op-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .op-spin { animation: none; } .op-in, .op-btn { transition: none; } }
/* set-new-password overlay: shown over whatever is on screen after a reset link signs the person in */
#opAuthRecovery { position: fixed; inset: 0; z-index: 100000; background: #fff; display: flex; align-items: center; justify-content: center;
  overflow-y: auto; padding: 32px 24px; font-family: Inter, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #0A0D14; }
#opAuthRecovery .op-auth-col { gap: 24px; }
#opAuthRecovery .operato-wordmark { color: #0A0D14; }
.op-done { width: 44px; height: 44px; border-radius: 50%; background: #E7F4EC; color: #1D7A4D; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; }
@media (max-width: 900px) {
  .op-auth-side { display: none; }
  .op-auth-main { padding: 32px 24px 24px; }
  .op-auth-col { margin: 0; }
  .op-auth-mark { display: block; }
  .op-auth-foot { margin-top: auto; }
}
