/* Cisco SCOR 350-701 In-App Authentication Gatekeeper Styles */
.auth-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 33, 55, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
  opacity: 1;
  transition: opacity .25s ease, visibility .25s ease;
}
.auth-gate-overlay[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.auth-gate-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  text-align: center;
  box-sizing: border-box;
  animation: authPopIn .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes authPopIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.auth-gate-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e8f2fa;
  color: #1768af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.auth-gate-title {
  font-size: 20px;
  font-weight: 800;
  color: #0d2137;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.auth-gate-subtitle {
  font-size: 13.5px;
  color: #5e768d;
  margin: 0 0 20px;
  line-height: 1.5;
}
.auth-gate-group {
  margin-bottom: 16px;
  text-align: left;
}
.auth-gate-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334e68;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.auth-gate-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  font-size: 15.5px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  color: #0d2137;
  background: #f8fafc;
  transition: all .15s ease;
}
.auth-gate-input:focus {
  outline: none;
  border-color: #1768af;
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(23, 104, 175, 0.18);
}
.auth-gate-btn {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: #1768af;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.auth-gate-btn:hover {
  background: #11528d;
}
.auth-gate-btn:active {
  transform: scale(0.98);
}
.auth-gate-error {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  display: none;
  line-height: 1.4;
}
.auth-gate-hint {
  margin-top: 18px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.auth-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}
.auth-user-pill .sign-out-btn {
  background: transparent;
  border: none;
  color: #fca5a5;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 11px;
  text-decoration: underline;
  border-radius: 4px;
}
.auth-user-pill .sign-out-btn:hover {
  color: #f87171;
  background: rgba(255, 255, 255, 0.1);
}
@media(max-width: 520px) {
  .auth-gate-card {
    padding: 24px 18px;
  }
  .auth-gate-input {
    font-size: 14px;
    padding: 11px 10px;
  }
}
