:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05080e;
  color: #f4f7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, #17376f 0, transparent 42%),
    linear-gradient(180deg, #07101c 0%, #03060b 100%);
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

header {
  margin-bottom: 28px;
}

.brand {
  color: #6fc8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}

h1 {
  margin: 12px 0 6px;
  font-size: clamp(34px, 7vw, 52px);
}

h2 {
  margin: 0 0 18px;
}

p {
  line-height: 1.55;
}

.muted {
  color: #9fb0c8;
}

.card {
  margin: 16px 0;
  padding: 24px;
  border: 1px solid rgba(133, 179, 255, .20);
  border-radius: 18px;
  background: rgba(12, 22, 35, .78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.danger-card {
  border-color: rgba(255, 92, 112, .32);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #cbd7e8;
  font-size: 14px;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(151, 181, 221, .28);
  border-radius: 12px;
  background: rgba(3, 8, 15, .82);
  color: #fff;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: #66bfff;
  box-shadow: 0 0 0 3px rgba(64, 150, 255, .16);
}

.cf-language-switcher {
  width: 100%;
  margin-top: 2px;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.cf-language-switcher label {
  color: #cbd7e8;
  font-size: 14px;
}

.cf-language-switcher select {
  width: 100%;
}

button,
.open-nova-button {
  width: fit-content;
  border: 1px solid #5faeff;
  border-radius: 12px;
  background: #176ed1;
  color: #fff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

button:hover,
.open-nova-button:hover {
  filter: brightness(1.08);
}

.open-nova-button {
  text-decoration: none;
}

button:disabled {
  cursor: wait;
  opacity: .55;
}

button.secondary {
  border-color: rgba(151, 181, 221, .32);
  background: rgba(255, 255, 255, .06);
}

button.danger {
  border-color: #ff6378;
  background: #a82038;
}

.message {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid rgba(111, 200, 255, .28);
  border-radius: 12px;
  background: rgba(21, 65, 105, .32);
}

.message.error {
  border-color: rgba(255, 99, 120, .45);
  background: rgba(128, 22, 42, .34);
}

.open-nova-panel {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.hidden {
  display: none !important;
}

.qr-login {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 4px 0 8px;
  text-align: center;
}

.qr-copy h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.qr-copy p {
  max-width: 460px;
  margin: 0;
}

.qr-frame {
  width: min(280px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, .34);
}

.qr-code {
  width: 100%;
  line-height: 0;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

.qr-status {
  min-height: 24px;
  margin: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: #7f91aa;
  font-size: 13px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background:
    rgba(151, 181, 221, .20);
}

@media (max-width: 560px) {
  .shell {
    padding: 34px 0;
  }

  .card {
    padding: 19px;
  }

  .row {
    align-items: flex-start;
    flex-direction: column;
  }
}


.qr-countdown {
  min-height: 1.25rem;
  margin: 0.25rem 0 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
}


/* CYBERFALKEN_PASSWORD_RESET_UI_MK1 */

.account-recovery-link {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.link-button {
  width: auto;
  min-height: 0;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recovery-panel {
  margin-top: 18px;
}

.recovery-panel h3 {
  margin-top: 0;
}

.recovery-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.recovery-actions button {
  width: 100%;
}
