:root {
  color-scheme: dark;
  font-family: "Georgia", "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top center, rgba(255, 221, 170, 0.12), transparent 28%),
    linear-gradient(180deg, #341c0f 0%, #d39858 100%);
  color: #ffffff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06), transparent 18%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-layout {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 640px);
  gap: 2rem;
  align-items: center;
  position: relative;
}

.auth-panel {
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.auth-panel--intro {
  min-height: 560px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.auth-panel--intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(243deg, rgba(255, 255, 52, 0.12) 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0.7;
  pointer-events: none;
}

.auth-panel--intro::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 8%;
  width: 84%;
  height: 84%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  filter: blur(24px);
  pointer-events: none;
}

.auth-panel--intro > *,
.auth-panel--form > * {
  position: relative;
}

.auth-brand {
  margin: 0 0 2rem;
  font-family: "Sedan SC", Georgia, serif;
  font-size: clamp(3.25rem, 6vw, 5rem);
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.auth-copy {
  max-width: 440px;
}

.auth-copy-title {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.auth-copy-text {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  max-width: 29rem;
}

.auth-panel--form {
  min-height: 560px;
  padding: 2.75rem 2.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.auth-toggle .auth-toggle__item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.auth-toggle .auth-toggle__label {
  color: rgba(255, 255, 255, 0.9);
}

.auth-toggle .auth-toggle__switch {
  width: 56px;
  height: 28px;
  border-radius: 999px;
  background: #eaceaa;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4px;
}

.auth-toggle .auth-toggle__switch::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.auth-toggle a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-weight: 600;
}

.auth-form-title {
  margin: 0 0 2rem;
  color: #ffffff;
  font-size: 2.25rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.auth-form {
  display: grid;
  gap: 1.5rem;
}

.auth-field {
  display: grid;
  gap: 0.75rem;
}

.auth-field label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.auth-field input {
  width: 100%;
  min-height: 3.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0 1.25rem;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.auth-field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.auth-button {
  width: 100%;
  min-height: 4rem;
  border: none;
  border-radius: 20px;
  background: rgba(52, 28, 15, 0.72);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.auth-button:hover,
.auth-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(52, 28, 15, 0.85);
}

@media (max-width: 950px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-panel--intro,
  .auth-panel--form {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .auth-layout {
    gap: 1.5rem;
  }

  .auth-brand {
    font-size: 3.5rem;
  }

  .auth-copy-title {
    font-size: 3rem;
  }

  .auth-form-title {
    font-size: 2rem;
  }
}

.auth-toggle .auth-toggle__switch--right {
    justify-content: flex-end;
}

/*ini auth/style.css*/