#hrAuthDialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(426px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 1px solid #bd9bea55;
  border-radius: 22px;
  background: radial-gradient(ellipse at 10% 0%, #37224c, transparent 68%), #191225;
  color: #fcf6ff;
  color-scheme: dark;
  box-shadow: 0 24px 74px #070410b8;
  font: inherit;
}
#hrAuthDialog * { box-sizing: border-box; }
#hrAuthDialog::backdrop { background: #090612ae; backdrop-filter: blur(5px); }

#hrAuthDialog.hr-auth-choice-screen {
  width: min(430px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  padding: max(8px, env(safe-area-inset-top)) 20px max(12px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at 45% 25%, #4b3067, transparent 63%), #110a1c;
}
#hrAuthDialog.hr-auth-choice-screen .hr-login-brand { padding: clamp(18px, 7dvh, 65px) 0 27px; }
#hrAuthDialog.hr-auth-choice-screen .hr-login-brand img { border-radius: 20px; }
#hrAuthDialog.hr-auth-choice-screen .hr-auth-provider { min-height: 48px; padding-block: 9px; overflow-wrap: anywhere; }
#hrAuthDialog.hr-auth-choice-screen [data-auth-disabled] { opacity: .65; cursor: default; }
#hrAuthDialog.hr-auth-choice-screen .hr-login-footer { padding-block: 14px; }
.hr-auth-methods { display: block; margin: 7px auto 0; }

.hr-auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 20px 3px;
}
.hr-auth-head h2 {
  margin: 0;
  min-width: 0;
  color: #fff8ff;
  font-size: clamp(20px, 4.7vw, 25px);
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.hr-auth-head [data-auth-close] {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-inline-end: -4px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #fff0ff0a;
  color: #e9dcef;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}
.hr-auth-head [data-auth-close]:hover { background: #fff0ff18; }
.hr-auth-content { min-width: 0; padding: 7px 20px 13px; }
.hr-auth-content form { display: grid; gap: 9px; margin: 0; }
.hr-auth-content label { color: #e5d8ee; font-size: 13px; font-weight: 650; }
#hrAuthDialog .sr-only {
  position: absolute;
  margin: -1px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

#hrAuthDialog .hr-auth-content input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid #a984ce88;
  border-radius: 12px;
  background: #130e20;
  color: #fff;
  font: inherit;
  font-size: 16px;
}
#hrAuthDialog .hr-auth-content input:focus {
  border-color: #e0bcff;
  outline: 0;
  box-shadow: 0 0 0 3px #c491ff30;
}
#hrAuthDialog .hr-auth-content input[aria-invalid=true] { border-color: #ff9ab6; }
#hrAuthDialog #hrAuthCode {
  text-align: center;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .26em;
  text-indent: .26em;
}
#hrAuthDialog .hr-auth-content input:disabled { opacity: .72; }
#hrAuthDialog .hr-auth-content input::placeholder { opacity: 1; color: #bdaccf; }

#hrAuthDialog .hr-auth-content button {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--violet-gradient, linear-gradient(110deg,#6e42af,#7549bc));
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  cursor: pointer;
}
#hrAuthDialog .hr-auth-content button.hr-auth-submit,
#hrAuthDialog .hr-auth-wide { width: 100%; }
#hrAuthDialog .hr-auth-content button:hover:not(:disabled) { filter: brightness(1.1); }
#hrAuthDialog .hr-auth-content button:disabled { opacity: .55; cursor: default; }
#hrAuthDialog[aria-busy=true] .hr-auth-content button:disabled { cursor: wait; }
#hrAuthDialog :is(button,a):focus-visible { outline: 2px solid #e3c2ff; outline-offset: 2px; }
#hrAuthDialog .hr-auth-content button.hr-auth-text-button {
  padding: 6px 4px;
  background: transparent;
  color: #e8c9ff;
  font-size: 13px;
}
.hr-auth-content small {
  display: block;
  color: #c7b8d4;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.hr-auth-content [data-auth-status] {
  margin: 0;
  color: #e1d4eb;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#hrAuthDialog [data-auth-status].hr-auth-error { color: #ffb2c7; }
.hr-auth-content [data-auth-status]:empty,
.hr-auth-content [data-auth-countdown]:empty { display: none; }

.hr-auth-delivery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: #cbbad8;
  font-size: 12px;
}
.hr-auth-delivery > div { min-width: 0; padding-block: 4px; }
.hr-auth-delivery strong {
  display: block;
  color: #f7ecff;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.hr-auth-delivery button { flex: 0 1 auto; max-width: 45%; }
.hr-auth-resend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 9px;
}
.hr-auth-resend > small { flex: 1 1 104px; }
.hr-auth-resend > button { margin-inline-start: auto; text-align: end; }

.hr-auth-providers { display: grid; gap: 7px; }
.hr-auth-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #c79fef66;
  border-radius: 12px;
  background: #dcbeff0c;
  color: #faf0ff;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 650;
}
.hr-auth-provider:hover { background: #dcbeff1a; }
.hr-auth-provider[aria-disabled=true] { opacity: .55; cursor: wait; }
.hr-auth-brand {
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  font: 700 14px/1 Arial,sans-serif;
}
.hr-auth-brand-google { color: #28232d; background: #fff; }
.hr-auth-brand-facebook { color: #fff; background: #1264cd; }
.hr-auth-divider {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0;
  color: #c8b7d7;
  font-size: 12px;
}
.hr-auth-divider::before,.hr-auth-divider::after { content: ''; flex: 1; height: 1px; background: #fff2ff25; }

.hr-auth-account-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border: 1px solid #91e8bd50;
  border-radius: 50%;
  background: #91e8bd15;
  color: #b1f3d0;
}
.hr-auth-user { margin: 0 0 10px; font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.hr-auth-account-email { margin: -2px 0 13px; color: #cbbed7; font-size: 13px; overflow-wrap: anywhere; }
#hrAuthDialog .hr-auth-content button.hr-auth-danger {
  margin-top: 8px;
  border-color: #e7a1b755;
  background: none;
  color: #ffc0d0;
}
.hr-auth-unavailable { margin: 0 0 5px; font-size: 14px; color: #e2d5eb; }
.hr-auth-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  font-size: 13px;
  color: #dfcfea;
}
.hr-auth-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff30;
  border-top-color: #e4c1ff;
  border-radius: 50%;
  animation: hr-auth-spin .8s linear infinite;
}
@keyframes hr-auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hr-auth-spinner { animation: none; } }

#hrAuthDialog .hr-login-footer {
  border-top: 1px solid #e5c6ff25;
  padding: 8px 20px 11px;
}
#hrAuthDialog .hr-auth-legal {
  margin: 0;
  color: #c7b9d4;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
#hrAuthDialog .hr-auth-legal a { color: #eed8ff; text-decoration: underline; text-underline-offset: .16em; }

@media (max-width: 540px) {
  #hrAuthDialog:not(.hr-auth-choice-screen) { inset-block-start: auto; inset-block-end: max(8px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .hr-auth-head,.hr-auth-content,#hrAuthDialog .hr-login-footer { padding-inline: 15px; }
}
