/* Feather icons v4.29.2
The MIT License (MIT)

Copyright (c) 2013-2023 Cole Bemis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
.auth-page, .auth-dialog {
  --auth-icon-user: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2021v-2a4%204%200%200%200-4-4H8a4%204%200%200%200-4%204v2%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E");
  --auth-icon-mail: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H4c-1.1%200-2-.9-2-2V6c0-1.1.9-2%202-2z%22%2F%3E%3Cpolyline%20points%3D%2222%2C6%2012%2C13%202%2C6%22%2F%3E%3C%2Fsvg%3E");
  --auth-icon-lock: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%2211%22%20width%3D%2218%22%20height%3D%2211%22%20rx%3D%222%22%20ry%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%2011V7a5%205%200%200%201%2010%200v4%22%2F%3E%3C%2Fsvg%3E");
  --auth-icon-log-out: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4%22%2F%3E%3Cpolyline%20points%3D%2216%2017%2021%2012%2016%207%22%2F%3E%3Cline%20x1%3D%2221%22%20y1%3D%2212%22%20x2%3D%229%22%20y2%3D%2212%22%2F%3E%3C%2Fsvg%3E");
  --auth-icon-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010z%22%2F%3E%3C%2Fsvg%3E");
  color: white;
  font-family: "DM Sans", system-ui, sans-serif;
}
.auth-page *, .auth-dialog * { box-sizing: border-box; }
.auth-page, .auth-dialog::backdrop {
  background: #115daa;
}
.auth-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(18px, 5vh, 72px) clamp(12px, 7vw, 48px);
  display: grid;
  place-items: center;
}
.auth-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 440px);
  padding: clamp(20px, 5.5vw, 32px);
  border: 1px solid rgba(238,252,255,.85);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(132,224,255,.28), rgba(155,110,228,.26) 34%, rgba(42,112,204,.48) 72%, rgba(72,187,239,.32)), rgba(20,64,144,.22);
  box-shadow: inset 0 0 20px rgba(184,238,255,.44), 0 14px 50px rgba(6,28,96,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.auth-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px 12px auto auto;
  width: clamp(54px, 15vw, 86px);
  aspect-ratio: 2 / 3;
  background: url("/auth-rays.webp") right top / contain no-repeat;
  pointer-events: none;
}
.auth-card .auth-brand {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 750;
  letter-spacing: -.05em;
  margin-bottom: clamp(28px, 5vh, 46px);
}
.auth-card h1, .auth-card h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(25px, 6vw, 35px);
  letter-spacing: -.045em;
  line-height: 1.15;
}
.auth-card .subtitle, #recoveryDescription, #logoutDescription {
  font-size: 16px;
  line-height: 1.45;
  margin: 7px 0 24px;
}
.auth-card form > label:not(.terms) {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin: 15px 0 6px;
}
.auth-card .field { position: relative; }
.auth-card input:not([type=checkbox]) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  background: rgba(221,235,255,.14) var(--auth-icon-mail) 13px center / 19px no-repeat;
  color: white;
  font: inherit;
  font-size: 16px;
  padding: 0 12px 0 42px;
  box-shadow: inset 0 0 12px rgba(215,245,255,.24);
  text-shadow: 0 1px 3px #142c61;
}
.auth-card input#name { background-image: var(--auth-icon-user); }
.auth-card input.password-input { background-image: var(--auth-icon-lock); padding-right: 62px; }
.auth-card input::placeholder { color: #eff4ff; opacity: 1; }
.auth-card button, .auth-card a { font: inherit; cursor: pointer; }
.auth-card a { color: white; font-weight: 700; text-underline-offset: 3px; }
.auth-card .toggle {
  position: absolute;
  inset: 2px 3px 2px auto;
  min-width: 52px;
  border: 0;
  background: transparent;
  color: white;
  font-weight: 700;
}
.auth-card .options, .auth-card .terms, .auth-card .remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.auth-card .options { justify-content: space-between; flex-wrap: wrap; gap: 0 6px; margin: 10px 0; }
.auth-card .remember, .auth-card .options a, .auth-card .terms { min-height: 44px; }
.auth-card .options a, .auth-card .signup a, .auth-card .login-link a,
.auth-card nav a, .auth-card .success-panel a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-card input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: #124c9d; margin: 0; }
.auth-card .terms { margin: 12px 0; line-height: 1.4; }
.auth-card .submit, .auth-card #sendButton, .auth-card .auth-primary, .auth-card .auth-secondary {
  width: 100%;
  min-height: 48px;
  padding: 10px;
  border: 1px solid white;
  border-radius: 14px;
  background: linear-gradient(175deg, #ffffff, #dbeaff 72%, #f5f3ff);
  color: #0755bb;
  font-size: 18px;
  font-weight: 750;
  box-shadow: inset 0 2px 9px white;
}
.auth-card #sendButton { margin-top: 22px; }
.auth-card button:disabled { opacity: .72; cursor: default; }
.auth-card .signup, .auth-card .login-link { margin: 12px 0; text-align: center; font-size: 14px; }
.auth-card .bottom-note {
  border-top: 1px solid rgba(255,255,255,.52);
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
}
.auth-card .bottom-note::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 21px; height: 21px;
  margin-right: 7px;
  background: var(--auth-icon-shield) center / contain no-repeat;
}
.auth-card nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 16px; font-size: 13px; }
.auth-card [role=status]:empty { margin: 0; }
.auth-card [role=status]:not(:empty) { background: #193664; color: white; padding: 10px; border-radius: 8px; }
.auth-card .password-help, .auth-card .strength-text { margin: 4px 0; font-size: 13px; }
.auth-card .strength { overflow: hidden; height: 3px; background: #ffffff45; border-radius: 2px; }
.auth-card .strength span { height: 100%; display: block; }
.auth-card .success-panel { display: none; }
.auth-card :focus-visible { outline: 3px solid white; outline-offset: 2px; box-shadow: 0 0 0 5px #182e65; }
dialog.auth-dialog {
  width: min(440px, 86vw);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 22px;
  background: transparent;
  overflow: auto;
}
.auth-logout { text-align: center; }
.auth-logout .auth-brand { text-align: left; margin-bottom: 20px; }
.auth-logout .logout-art {
  width: clamp(85px, 24vw, 130px);
  aspect-ratio: 1;
  margin: 0 auto 15px;
  border: 1px solid #c3eaff;
  border-radius: 30%;
  background: var(--auth-icon-log-out) center / 53% no-repeat, url("/auth-wallpaper.webp") 70% 46% / 220%;
  box-shadow: inset 0 0 14px #bcf2ff;
}
.auth-card .auth-secondary { margin-top: 10px; color: white; background: rgba(22,61,132,.5); box-shadow: inset 0 0 12px #ffffff50; }
.auth-logout .bottom-note { margin-top: 24px; }
@media (max-width: 360px) {
  .auth-page { padding-inline: 12px; }
  .auth-card { padding-inline: 19px; }
  dialog.auth-dialog { width: calc(100vw - 24px); }
}
