/* Premium auth — brand match with denizleyenilen */
:root {
  --orange: #E07240;
  --orange-d: #C8602E;
  --orange-pale: #FDF3EE;
  --green: #52906A;
  --green-d: #3F7554;
  --green-pale: #EBF3EF;
  --dark: #1B2D38;
  --text: #3A5060;
  --muted: #6B8594;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --border: #DDE6EE;
  --border-warm: #EDE7E0;
  --sh-sm: 0 3px 16px rgba(27,45,56,.08);
  --sh-md: 0 8px 40px rgba(27,45,56,.11);
  --sh-lg: 0 20px 60px rgba(27,45,56,.14);
  --ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body.auth-body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; font-weight: 500; }
a:hover { color: var(--orange-d); }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

/* ── Left brand panel ── */
.auth-brand {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5vw, 56px);
  min-height: 100vh;
}

.auth-brand-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(27,45,56,.35) 0%, rgba(27,45,56,.82) 55%, rgba(27,45,56,.94) 100%),
    url('../img/hero.jpg') center/cover no-repeat;
  transform: scale(1.02);
}

.auth-brand-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}
.auth-brand-glow.a {
  background: var(--orange);
  top: -80px;
  right: -60px;
}
.auth-brand-glow.b {
  background: var(--green);
  bottom: 10%;
  left: -100px;
}

.auth-brand-top {
  position: absolute;
  top: clamp(24px, 4vw, 40px);
  left: clamp(24px, 4vw, 48px);
  z-index: 2;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none !important;
}
.auth-logo .logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.auth-logo .logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.9);
}
.auth-logo .logo-name strong { font-weight: 700; color: #fff; }
.auth-logo .logo-sub {
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

.auth-brand-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}
.auth-eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(224,114,64,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,114,64,.45); }
  70% { box-shadow: 0 0 0 10px rgba(224,114,64,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,114,64,0); }
}

.auth-brand h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 16px;
}
.auth-brand h2 em {
  font-style: italic;
  color: #F0A882;
}

.auth-brand-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}

.auth-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}
.auth-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  line-height: 1.45;
}
.auth-points .ck {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(82,144,106,.35);
  border: 1px solid rgba(82,144,106,.6);
  color: #b8e0c8;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-quote {
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 18px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  line-height: 1.4;
}
.auth-quote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}

/* ── Right form panel ── */
.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  position: relative;
}

.auth-panel-inner {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  animation: rise .55s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  text-decoration: none !important;
  transition: color .2s;
}
.auth-back:hover { color: var(--dark); }
.auth-back svg { transition: transform .2s; }
.auth-back:hover svg { transform: translateX(-2px); }

.auth-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  background: var(--orange-pale);
  color: var(--orange);
  margin-bottom: 14px;
}

.auth-panel h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--dark);
  margin-bottom: 10px;
}

.auth-sub {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .9rem;
  margin-bottom: 18px;
  line-height: 1.45;
}
.auth-alert.ok {
  background: var(--green-pale);
  color: var(--green-d);
  border: 1px solid #c5dfd0;
}
.auth-alert.err {
  background: #fdecea;
  color: #9b2c2c;
  border: 1px solid #f5c2c7;
}

.auth-form .field {
  margin-bottom: 16px;
}
.auth-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-form label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}
.auth-form .input-wrap {
  position: relative;
}
.auth-form .input-wrap .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  display: flex;
  pointer-events: none;
}
.auth-form input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--dark);
  background: #fbfcfa;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.auth-form input::placeholder { color: #a0b0bb; }
.auth-form input:hover { border-color: #c5d2dc; }
.auth-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(224,114,64,.12);
}

.auth-form .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 15px 24px;
  border: none;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(224,114,64,.35);
  transition: all .25s var(--ease);
}
.auth-form .btn-submit:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(224,114,64,.42);
}
.auth-form .btn-submit:active { transform: translateY(0); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: .8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-warm);
}

.auth-switch {
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}
.auth-switch a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.auth-switch a:hover { border-bottom-color: var(--orange); }

.auth-trust {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-warm);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
}
.auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
}
.auth-trust svg { color: var(--green); flex-shrink: 0; }

.auth-mobile-logo {
  display: none;
  margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand {
    min-height: auto;
    padding: 28px 24px 36px;
  }
  .auth-brand-bg { background-position: center 20%; }
  .auth-brand-top { position: static; margin-bottom: 28px; }
  .auth-brand h2 { font-size: 1.85rem; }
  .auth-points { display: none; }
  .auth-quote { display: none; }
  .auth-panel { padding: 32px 22px 48px; min-height: auto; }
  .auth-mobile-logo { display: inline-flex; }
  .auth-form .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .auth-panel-inner { max-width: 100%; }
}
