/* Auth — premium giriş / kayıt */
.auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #0b1f33;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #0b1f33;
}

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

/* Sol panel — full-bleed ofis görseli */
.auth-aside {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  min-height: 100%;
}

.auth-aside-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auth-aside-veil {
  position: absolute;
  inset: 1.1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(11, 31, 51, .35) 0%, rgba(11, 31, 51, .55) 38%, rgba(11, 31, 51, .92) 100%),
    linear-gradient(90deg, rgba(11, 31, 51, .55) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.auth-aside-glow {
  position: absolute;
  width: 55%;
  height: 45%;
  right: -8%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 163, 90, .35), transparent 70%);
  filter: blur(8px);
  animation: authGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes authKen {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-2%, 1.5%); }
}
@keyframes authGlow {
  from { opacity: .55; transform: translate(0, 0); }
  to { opacity: .9; transform: translate(-4%, 3%); }
}

.auth-aside-content {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  animation: authRise .85s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes authRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 2.25rem;
}
.auth-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: #0b1f33;
  background: linear-gradient(145deg, #f0d78a, #c4a35a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.auth-brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 14ch;
}

.auth-eyebrow {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e4c878;
}
.auth-aside h1 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: .01em;
}
.auth-lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  max-width: 32ch;
}
.auth-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.auth-points li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
}
.auth-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4a35a;
  box-shadow: 0 0 0 3px rgba(196, 163, 90, .25);
  flex-shrink: 0;
}

/* Sağ panel */
.auth-panel {
  background:
    radial-gradient(520px 280px at 90% 0%, rgba(196, 163, 90, .12), transparent 60%),
    linear-gradient(165deg, #f4f6f9 0%, #e8edf3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.auth-panel-inner {
  width: min(440px, 100%);
  animation: authRise .85s cubic-bezier(.22, 1, .36, 1) .08s both;
}
.auth-panel-inner:has(.is-wide) {
  width: min(560px, 100%);
}
.auth-panel-inner .auth-card {
  width: 100%;
  max-width: none;
}
.auth-flash {
  width: 100% !important;
  margin: 0 0 1rem !important;
  box-sizing: border-box;
}

.auth-card {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  padding: clamp(1.6rem, 3.5vw, 2.15rem);
  box-shadow:
    0 24px 60px rgba(11, 31, 51, .12),
    0 2px 0 rgba(255, 255, 255, .8) inset;
}
.auth-card.is-wide {
  max-width: 560px;
}
.auth-card-head {
  margin-bottom: 1.45rem;
}
.auth-card-head h2 {
  margin: 0 0 .4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  font-weight: 700;
  color: #0b1f33;
  letter-spacing: .01em;
}
.auth-card-head p {
  margin: 0;
  color: #5b6775;
  font-size: .98rem;
  line-height: 1.45;
}

.auth-form {
  display: grid;
  gap: 1rem;
}
.auth-field label {
  display: block;
  margin: 0 0 .4rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #132c45;
}
.auth-field input,
.auth-field select,
.auth-field textarea,
.auth-card input,
.auth-card select,
.auth-card textarea {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  border: 1.5px solid #d5dde6;
  border-radius: 14px;
  padding: .85rem 1rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: #0b1f33;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus,
.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
  outline: none;
  border-color: #0b1f33;
  box-shadow: 0 0 0 4px rgba(11, 31, 51, .1);
  background: #fff;
}
.auth-field input::placeholder {
  color: #9aa6b4;
}
.auth-field .tc-validate-hint {
  margin: .4rem 0 0;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: -.15rem 0 .15rem;
  font-size: .92rem;
  font-weight: 600;
  color: #132c45;
  cursor: pointer;
  user-select: none;
}
.auth-remember input[type="checkbox"] {
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  accent-color: #0b1f33;
  cursor: pointer;
  box-shadow: none !important;
}

.auth-card .password-field {
  position: relative;
  margin: 0;
}
.auth-card .password-field input {
  padding-right: 4.6rem;
}
.auth-card .password-toggle {
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  height: 2.15rem;
  min-width: 3.6rem;
  padding: 0 .7rem;
  border: 0;
  border-radius: 10px;
  background: #eef2f6;
  color: #0b1f33;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}
.auth-card .password-toggle:hover,
.auth-card .password-toggle.is-on {
  background: #0b1f33;
  color: #f0d78a;
}
.auth-card .password-field input::-ms-reveal,
.auth-card .password-field input::-ms-clear {
  display: none;
}

.auth-submit {
  width: 100%;
  margin-top: .35rem;
  min-height: 52px !important;
  border-radius: 999px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  box-shadow: 0 14px 28px rgba(11, 31, 51, .22);
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 31, 51, .28);
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e4eaf0;
  font-size: .9rem;
}
.auth-links a {
  color: #132c45;
  font-weight: 600;
  text-decoration: none;
}
.auth-links a:hover {
  color: #9a7a35;
}

.auth-card .form-row {
  gap: .85rem;
}

@media (max-width: 960px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    min-height: 42vh;
    justify-content: flex-end;
    padding: 1.5rem 1.35rem 1.75rem;
  }
  .auth-aside h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .auth-points {
    display: none;
  }
  .auth-brand {
    margin-bottom: 1.25rem;
  }
  .auth-panel {
    padding: 1.35rem 1.1rem 2rem;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-aside-glow,
  .auth-aside-content,
  .auth-panel-inner,
  .auth-aside-media img {
    animation: none !important;
  }
  .auth-aside-media img {
    transform: none;
  }
}
