/* Shared OTP login screen — served by the host at /otp.css, used by every
   DBO app + the portal so the sign-in looks and behaves identically. */
.otp-screen {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  background: #070c1a;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(3,105,161,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(14,165,233,.08) 0%, transparent 50%);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: #fff;
  z-index: 1000;
}
.otp-wrap { width: 100%; max-width: 360px; }

.otp-brand { text-align: center; margin-bottom: 30px; }
.otp-chip {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(3,105,161,.4);
}
.otp-chip img { height: 30px; width: auto; }
.otp-brand h1 { font-size: 24px; font-weight: 700; margin: 0 0 5px; letter-spacing: -.4px; }
.otp-brand p { font-size: 12.5px; color: rgba(255,255,255,.38); margin: 0; }

.otp-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
}
.otp-card h2 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.otp-card .otp-sub { font-size: 12.5px; color: rgba(255,255,255,.4); margin: 0 0 24px; line-height: 1.55; }

.otp-row { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.otp-digit {
  flex: 1 1 0; min-width: 0; max-width: 46px;
  height: 52px; border-radius: 11px;
  border: 2px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff; font-size: 20px; font-weight: 700;
  text-align: center; outline: none;
  transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
}
.otp-digit:focus { border-color: rgba(14,165,233,.75); }
.otp-digit.filled { border-color: rgba(14,165,233,.45); }

.otp-btn {
  width: 100%; padding: 13px; border: none; border-radius: 11px;
  background: #0369a1; color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.otp-btn:hover:not(:disabled) { background: #0a7cc0; }
.otp-btn:disabled { opacity: .55; cursor: default; }

.otp-link {
  background: none; border: none; color: rgba(255,255,255,.32);
  font-size: 12px; text-decoration: underline; cursor: pointer;
  margin-top: 14px; padding: 0;
}
.otp-link:hover { color: rgba(255,255,255,.6); }

.otp-err { color: #f87171; font-size: 12.5px; min-height: 15px; margin-top: 10px; }
.otp-foot { text-align: center; margin-top: 22px; font-size: 11px; color: rgba(255,255,255,.16); }
