:root {
  color-scheme: dark;
  --augnet-text: #f4f7ff;
  --augnet-muted: #a6b6d2;
  --augnet-blue: #5793ff;
  --augnet-border: rgba(151, 183, 237, .32);
}

* { box-sizing: border-box; }

html, body.augnet-id { min-height: 100%; }
body.augnet-id {
  margin: 0;
  overflow-x: hidden;
  color: var(--augnet-text);
  background: radial-gradient(ellipse 70% 55% at 50% 96%, #173d83 0%, transparent 70%),
              radial-gradient(ellipse 40% 32% at 100% 1%, #102750 0%, transparent 80%), #040b19;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.augnet-id::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background: linear-gradient(145deg, transparent 18%, rgba(61,129,255,.16) 18.1%, transparent 18.3%, transparent 67%, rgba(61,129,255,.13) 67.1%, transparent 67.3%),
              radial-gradient(circle at 50% 70%, transparent 30%, rgba(79,142,255,.18) 30.2%, transparent 30.5%, transparent 48%, rgba(79,142,255,.12) 48.2%, transparent 48.5%);
}
.augnet-id .augnet-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1200px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 36px 32px;
  background: none;
}
.augnet-id .augnet-topbar,
.augnet-id .augnet-footer { display: flex; align-items: center; justify-content: space-between; }
.augnet-id #kc-header-wrapper.augnet-brand { display: flex; align-items: baseline; gap: 15px; color: var(--augnet-text); }
.augnet-id .augnet-brand strong { font-size: 25px; font-weight: 800; letter-spacing: -.065em; text-transform: lowercase; }
.augnet-id .augnet-brand strong span { color: var(--augnet-blue); }
.augnet-id .augnet-brand > span { padding-left: 15px; border-left: 1px solid #3b4963; color: #b8c6e1; font-size: 15px; text-transform: none; }
.augnet-id .augnet-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 0 85px;
}
.augnet-id .augnet-panel.card-pf {
  position: relative;
  float: none;
  width: min(100%, 440px);
  max-width: 440px;
  min-width: 0;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--augnet-border);
  border-radius: 25px;
  color: var(--augnet-text);
  background: linear-gradient(153deg, rgba(25,43,75,.96), rgba(8,18,37,.99) 60%);
  box-shadow: 0 28px 85px rgba(0,0,0,.40), inset 0 1px rgba(255,255,255,.09);
}
.augnet-id .augnet-panel::before { content: ""; position: absolute; left: 38%; right: 7%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #90b6ff); }
.augnet-id .augnet-panel .login-pf-header { padding: 0; margin: 0; text-align: left; }
.augnet-id .augnet-panel-caption { display: block; color: #9aaed0; font-size: 12px; }
.augnet-id #kc-page-title { margin: 10px 0 0; color: var(--augnet-text); font-size: 29px; line-height: 1.13; letter-spacing: -.04em; font-weight: 620; }
.augnet-id .augnet-app { display: flex; align-items: center; gap: 11px; margin: 29px 0 25px; padding: 12px; border: 1px solid #283b5c; border-radius: 12px; background: rgba(2,9,24,.40); }
.augnet-id .augnet-app-mark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #1e3771; color: #d5e2ff; font-weight: 750; }
.augnet-id .augnet-app strong { display: block; font-size: 13px; font-weight: 620; overflow-wrap: anywhere; }
.augnet-id .augnet-app small { display: block; margin-top: 2px; color: #91a3c2; font-size: 11px; }
.augnet-id #kc-content, .augnet-id #kc-content-wrapper, .augnet-id #kc-form, .augnet-id #kc-form-wrapper { width: 100%; padding: 0; margin: 0; }
.augnet-id .form-group { margin: 0 0 16px; }
.augnet-id label, .augnet-id .pf-c-form__label { color: #dbe6fc; font-size: 13px; font-weight: 600; }
.augnet-id input[type="text"], .augnet-id input[type="email"], .augnet-id input[type="password"], .augnet-id input[type="tel"], .augnet-id select, .augnet-id textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #3b5077;
  border-radius: 10px;
  color: var(--augnet-text);
  background: #0b182b;
  box-shadow: none;
}
.augnet-id input:focus-visible, .augnet-id select:focus-visible, .augnet-id textarea:focus-visible, .augnet-id button:focus-visible, .augnet-id a:focus-visible, .augnet-id summary:focus-visible { outline: 2px solid #a7c4ff; outline-offset: 3px; }
.augnet-id input::placeholder { color: #8194b6; }
.augnet-id .pf-c-input-group[dir="ltr"] { display: flex; width: 100%; align-items: stretch; }
.augnet-id .pf-c-input-group[dir="ltr"] input[type="password"],
.augnet-id .pf-c-input-group[dir="ltr"] input[type="text"] { flex: 1 1 auto; width: 0; min-width: 0; border-radius: 10px 0 0 10px; }
.augnet-id .pf-c-input-group [data-password-toggle] {
  flex: 0 0 48px;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid #3b5077;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  color: #dbe6fc;
  background: #12233e;
  box-shadow: none;
  cursor: pointer;
}
.augnet-id .pf-c-input-group [data-password-toggle]:hover { color: #fff; background: #20385d; }
.augnet-id a { color: #a7c4ff; }
.augnet-id a:hover { color: #d8e6ff; }
.augnet-id .pf-c-button.pf-m-primary, .augnet-id #authenticateWebAuthnButton, .augnet-id input[type="submit"].pf-m-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid #739bfc;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(105deg, #4175e7, #2863dc);
  box-shadow: 0 12px 27px rgba(29,90,225,.25);
  font: 650 14px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.augnet-id #authenticateWebAuthnButton { margin: 8px 0 18px; }
.augnet-id #kc-content-wrapper:has(.augnet-password-fallback) { display: flex; flex-direction: column; }
.augnet-id #kc-content-wrapper:has(.augnet-password-fallback) #authenticateWebAuthnButton { order: -2; }
.augnet-id .augnet-password-fallback { order: -1; margin: 0 0 8px; }
.augnet-id .augnet-password-fallback summary { display: grid; place-items: center; min-height: 54px; padding: 12px 16px; border: 1px solid #31415e; border-radius: 12px; color: #dbe6fc; background: #0d1a2d; font-size: 14px; font-weight: 650; text-align: center; cursor: pointer; list-style: none; }
.augnet-id .augnet-password-fallback summary::-webkit-details-marker { display: none; }
.augnet-id .augnet-password-fallback[open] summary { margin-bottom: 22px; }
.augnet-id .augnet-password-fallback summary:hover { border-color: #739bfc; }
.augnet-id .augnet-password-fallback #kc-form-buttons { margin-bottom: 0; }
.augnet-id .pf-c-button.pf-m-primary:hover, .augnet-id #authenticateWebAuthnButton:hover { border-color: #aac4ff; color: #fff; filter: brightness(1.1); }
.augnet-id .pf-c-button:not(.pf-m-primary), .augnet-id button:not(.pf-m-primary) { border-radius: 10px; }
.augnet-id .alert { margin: 0 0 20px; border-radius: 10px; }
.augnet-id #kc-info, .augnet-id #kc-info-wrapper { margin: 16px 0 0; padding: 0; background: none; color: var(--augnet-muted); }
.augnet-id .augnet-footer { gap: 12px; color: #7084a5; font-size: 11px; }

@media (max-width: 760px) {
  .augnet-id .augnet-shell { padding: 23px 20px 28px; }
  .augnet-id .augnet-main { padding: 70px 0 60px; }
  .augnet-id .augnet-panel.card-pf { padding: 23px; border-radius: 21px; }
  .augnet-id #kc-page-title { font-size: 25px; }
}
@media (max-width: 380px) {
  .augnet-id .augnet-shell { padding-inline: 14px; }
  .augnet-id .augnet-panel.card-pf { padding: 18px; }
}
