@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800;900&display=swap");

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.auth-page {
  --auth-motion: 0deg;
  --auth-shift: 0px;
  --fayad-brown: #281000;
  --fayad-brown-2: #351704;
  --fayad-brown-3: #4a2209;
  --country-leather: #8a552e;
  --country-straw: #d4aa63;
  --country-cream: #fff1d9;
  --auth-bg: #110a06;
  --auth-panel: rgba(31, 18, 11, 0.9);
  --auth-panel-strong: rgba(40, 22, 13, 0.96);
  --auth-line: rgba(255, 242, 224, 0.16);
  --auth-text: #f7efe6;
  --auth-muted: #c8b9aa;
  --auth-accent: var(--country-straw);
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 241, 217, 0.18), rgba(212, 170, 99, 0.08) 34%, transparent 62%),
    linear-gradient(135deg, #160803 0%, #281000 48%, #100602 100%);
  color: var(--auth-text);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.auth-page,
button,
input {
  letter-spacing: 0;
}

.auth-screen {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 100vh;
  padding: 38px 20px 34px;
  position: relative;
  z-index: 1;
}

.auth-bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
}

.auth-bg::before {
  background:
    radial-gradient(ellipse at 50% 11%, rgba(255, 241, 217, 0.44) 0%, rgba(212, 170, 99, 0.2) 34%, transparent 64%),
    radial-gradient(ellipse at 42% 54%, rgba(138, 85, 46, 0.2) 0%, transparent 44%),
    radial-gradient(ellipse at 16% 24%, rgba(212, 170, 99, 0.13) 0%, transparent 42%),
    radial-gradient(ellipse at 86% 72%, rgba(40, 16, 0, 0.52) 0%, transparent 48%),
    linear-gradient(135deg, #120703 0%, #281000 48%, #100602 100%);
  content: "";
  inset: -12%;
  position: absolute;
}

.auth-bg::after {
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 241, 217, 0.12) 28%, rgba(212, 170, 99, 0.11) 44%, transparent 66%),
    linear-gradient(295deg, transparent 8%, rgba(138, 85, 46, 0.16) 38%, rgba(40, 16, 0, 0.14) 58%, transparent 82%);
  content: "";
  filter: blur(34px);
  inset: -18%;
  opacity: 0.72;
  position: absolute;
  transform: rotate(var(--auth-motion)) translateX(calc(var(--auth-shift) * .45));
  transition: transform 180ms ease-out;
}

.auth-bg__beam {
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.34;
  position: absolute;
  transform: rotate(var(--auth-motion)) translateX(var(--auth-shift));
  transition: transform 180ms ease-out;
}

.auth-bg__beam--one {
  background: linear-gradient(90deg, transparent, rgba(255, 241, 217, 0.16), rgba(212, 170, 99, 0.18), transparent);
  height: 260px;
  left: -16%;
  top: 8%;
  width: 108%;
}

.auth-bg__beam--two {
  background: linear-gradient(90deg, transparent, rgba(138, 85, 46, 0.22), rgba(40, 16, 0, 0.32), transparent);
  bottom: 4%;
  height: 300px;
  right: -20%;
  width: 104%;
}

.auth-bg__grid {
  background:
    linear-gradient(rgba(212, 170, 99, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 170, 99, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  inset: 0;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  opacity: 0.18;
  position: absolute;
}

.auth-logo {
  align-items: center;
  color: var(--auth-text);
  display: inline-grid;
  gap: 10px;
  justify-items: center;
  margin-bottom: 10px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 4px 18px 2px;
  position: relative;
  text-decoration: none;
  transform: translateY(10px);
  width: 100%;
}

.auth-logo::before {
  content: none;
}

.auth-logo img {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: block;
  filter:
    drop-shadow(0 1px 0 rgba(255, 241, 217, 0.28))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
  height: auto;
  max-width: min(330px, 100%);
  padding: 7px 12px;
  width: 100%;
}

.auth-logo span {
  color: rgba(212, 170, 99, 0.96);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.auth-card {
  background:
    radial-gradient(ellipse at 28% 8%, rgba(255, 241, 217, 0.13) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 88%, rgba(138, 85, 46, 0.18) 0%, transparent 54%),
    linear-gradient(135deg, rgba(53, 23, 4, 0.34), rgba(17, 10, 6, 0.48)),
    rgba(17, 10, 6, 0.3);
  border: 1px solid rgba(212, 170, 99, 0.2);
  backdrop-filter: blur(22px) saturate(1.08);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 22px;
  max-width: 430px;
  padding: 28px 34px;
  position: relative;
  width: 100%;
}

.auth-card::before {
  background:
    radial-gradient(ellipse at 30% 12%, rgba(255, 241, 217, 0.12), transparent 52%),
    radial-gradient(ellipse at 80% 76%, rgba(212, 170, 99, 0.12), transparent 58%),
    linear-gradient(135deg, rgba(255, 241, 217, 0.035), transparent 42%, rgba(40, 16, 0, 0.1));
  border-radius: inherit;
  content: "";
  inset: 0;
  filter: blur(4px);
  opacity: 0.74;
  pointer-events: none;
  position: absolute;
}

.auth-card > * {
  position: relative;
}

.auth-heading {
  text-align: center;
}

.auth-heading span {
  color: #e7c88b;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 12px;
}

.auth-heading h1 {
  color: #fff8ef;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.auth-heading p {
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label > span {
  color: #eee0d1;
  font-size: 14px;
  font-weight: 600;
}

.auth-input {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 242, 224, 0.2);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 46px;
  overflow: hidden;
  padding: 0 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-input:has(.auth-password-toggle) {
  grid-template-columns: 28px minmax(0, 1fr) 34px;
}

.auth-input:focus-within {
  background: rgba(255, 250, 244, 0.03);
  border-color: rgba(212, 170, 99, 0.74);
  box-shadow: 0 0 0 3px rgba(212, 170, 99, 0.13);
}

.auth-input__icon {
  background: transparent !important;
  color: #d8c5b2;
  display: grid;
  height: 100%;
  place-items: center;
}

.auth-input__icon svg {
  height: 21px;
  width: 21px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--auth-text);
  font: inherit;
  font-size: 16px;
  min-height: 46px;
  outline: none;
  padding: 0 0 0 7px;
  width: 100%;
}

.auth-form input::placeholder {
  color: #a99584;
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
  background: transparent !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--auth-text);
  caret-color: var(--auth-text);
  box-shadow: none;
  transition: background-color 9999s ease-out;
}

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

.auth-check {
  align-items: center;
  display: flex !important;
  gap: 10px !important;
}

.auth-check input {
  accent-color: var(--auth-accent);
  height: 16px;
  width: 16px;
}

.auth-check span {
  color: #eee0d1 !important;
  font-weight: 500 !important;
}

.auth-form button {
  align-items: center;
  background: linear-gradient(135deg, #6f3c1a 0%, var(--country-leather) 54%, #a96832 100%);
  border: 1px solid rgba(212, 170, 99, 0.46);
  border-radius: 8px;
  color: #fff1d9;
  cursor: pointer;
  display: inline-flex;
  flex-wrap: wrap;
  font: inherit;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 11px 18px;
  text-align: center;
  white-space: normal;
}

.auth-form button span {
  font-size: 21px;
  line-height: 1;
}

.auth-form button:hover,
.auth-form button:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.auth-password-toggle {
  align-items: center;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none !important;
  color: #d8c5b2 !important;
  cursor: pointer;
  display: inline-grid !important;
  height: 34px;
  justify-content: center;
  min-height: 34px !important;
  min-width: 34px;
  padding: 0 !important;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  color: #fff8ef !important;
  outline: none;
}

.auth-password-toggle svg {
  height: 22px;
  width: 22px;
}

.auth-eye--hide,
.auth-password-toggle[data-visible="true"] .auth-eye--show {
  display: none;
}

.auth-password-toggle[data-visible="true"] .auth-eye--hide {
  display: block;
}

.auth-alert {
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(251, 113, 133, 0.4);
  border-radius: 8px;
  color: #fecdd3;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px;
}

.auth-hint {
  border: 1px solid rgba(212, 170, 99, 0.18);
  border-radius: 8px;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.5;
  padding: 12px;
}

.auth-footer {
  align-items: center;
  color: #9e8d7d;
  column-gap: 14px;
  display: grid;
  font-size: 13px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-top: 24px;
  text-align: center;
  width: min(560px, calc(100vw - 40px));
}

.auth-footer span {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  white-space: nowrap;
}

.auth-footer::before,
.auth-footer::after {
  background: linear-gradient(90deg, transparent, rgba(212, 170, 99, 0.34));
  content: "";
  height: 1px;
  width: min(104px, 100%);
}

.auth-footer::before {
  grid-column: 1;
  justify-self: end;
}

.auth-footer::after {
  background: linear-gradient(90deg, rgba(212, 170, 99, 0.34), transparent);
  grid-column: 3;
  justify-self: start;
}

body.auth-page :where(.auth-logo span, .auth-heading span, h1, h2, h3, strong, p, label, a, button, input) {
  letter-spacing: 0;
  text-transform: none;
}
