/* TBAG_SECURE_AUTH_GATE_V1 */

.tbag-auth-hidden {
  display: none !important;
}

.tbag-auth-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, .08), transparent 32%),
    #f4f7fb;
}

.tbag-auth-gate-card {
  width: min(440px, 100%);
  background: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
  padding: 30px;
}

.tbag-auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.tbag-auth-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #172033;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .06em;
}

.tbag-auth-brand h1 {
  margin: 0;
  color: #172033;
  font-size: 20px;
}

.tbag-auth-brand p {
  margin: 3px 0 0;
  color: #687588;
  font-size: 13px;
}

.tbag-auth-gate-card h2 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 24px;
}

.tbag-auth-intro {
  margin: 0 0 22px;
  color: #667085;
  line-height: 1.55;
}

.tbag-auth-gate .auth-box {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.tbag-auth-gate .auth-box label {
  display: grid;
  gap: 7px;
  font-weight: 650;
  color: #344054;
}

.tbag-auth-gate .auth-box input {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
}

.tbag-auth-gate .auth-box button {
  min-height: 42px;
}

.tbag-auth-gate-message {
  min-height: 20px;
  margin: 16px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.tbag-auth-gate-message.error {
  color: #b42318;
}

.tbag-auth-security-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e4e9f0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}
/* TBAG_AUTH_GATE_POLISH_V1 */

.tbag-auth-gate .secondary-button {
  background: #ffffff !important;
  color: #344054 !important;
  border: 1px solid #98a2b3 !important;
}

.tbag-auth-gate .secondary-button:hover {
  background: #f8fafc !important;
  color: #172033 !important;
  border-color: #667085 !important;
}

.tbag-auth-gate .secondary-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
/* TBAG_SHOW_PASSWORD_STYLE_V1 */

.tbag-auth-gate .auth-box .tbag-show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
  color: #475467;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.tbag-auth-gate .auth-box .tbag-show-password input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
/* TBAG_PRIVILEGED_MFA_ENROLLMENT_V1 */
.tbag-auth-gate .auth-box h3 { margin: 0 0 10px; font-size: 18px; }
.tbag-mfa-copy { margin: 0 0 14px; line-height: 1.5; }
.tbag-mfa-steps { margin: 0 0 14px; padding-left: 22px; line-height: 1.55; }
.tbag-mfa-secret { display: inline-block; max-width: 100%; margin-top: 4px; padding: 6px 8px; border: 1px solid currentColor; border-radius: 4px; word-break: break-all; user-select: all; }
#mfaEnrollmentCode, #mfaChallengeCode { letter-spacing: .18em; font-variant-numeric: tabular-nums; }
