/* Tam sayfa auth — %50 görsel | %50 form — site kırmızısı + Sofia/Avenir */
@font-face {
  font-family: "Sofia Pro Soft";
  src: url("../fonts/SofiaProSoft.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Soft";
  src: url("../fonts/SofiaProSoft-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Soft";
  src: url("../fonts/SofiaProSoft-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir Next Heavy Italic";
  src: url("../fonts/AvenirNext-HeavyItalic.woff2") format("woff2");
  font-weight: 900; font-style: italic; font-display: swap;
}

.auth-shell {
  --shell-accent: #ff0f50;
  --shell-accent-deep: #db003b;
  --shell-bg: #09090b;
  --shell-panel: #0b0b0e;
  --shell-field: #141418;
  --shell-font: "Sofia Pro Soft", "Segoe UI", sans-serif;
  --shell-display: "Avenir Next Heavy Italic", "Sofia Pro Soft", sans-serif;
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--shell-bg);
  color: #f3f3f6;
  font-family: var(--shell-font);
}
.auth-shell__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 48px 72px;
  overflow: hidden;
  min-height: 100vh;
  background: #0c0c10;
}
.auth-shell__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
  pointer-events: none;
}
.auth-shell__brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.25) 40%, rgba(9, 9, 11, 0.72) 100%),
    linear-gradient(90deg, rgba(9, 9, 11, 0.2) 0%, rgba(9, 9, 11, 0.55) 100%);
  pointer-events: none;
}
.auth-shell__copy {
  position: relative;
  z-index: 2;
  max-width: 28rem;
  margin: 0 auto;
}
.auth-shell__logo {
  position: absolute;
  top: 28px;
  left: 36px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.auth-shell__logo img { height: 36px; width: auto; display: block; }
.auth-shell__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 243, 246, 0.72);
  margin: 0 0 14px;
}
.auth-shell__title {
  margin: 0 0 14px;
  font-family: var(--shell-display);
  font-style: italic;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}
.auth-shell__lead {
  margin: 0 auto;
  max-width: 34ch;
  color: rgba(243, 243, 246, 0.82);
  font-size: 1.02rem;
  line-height: 1.5;
}
.auth-shell__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 243, 246, 0.45);
  text-align: center;
}
.auth-shell__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(28px, 5vw, 56px);
  min-height: 100vh;
  background: var(--shell-panel);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-shell__panel-inner {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.auth-shell__back {
  display: inline-block;
  color: var(--shell-accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.auth-shell__back:hover { color: #fff; }
.auth-shell__panel h2 {
  margin: 0 0 6px;
  font-family: var(--shell-display);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
}
.auth-shell__panel .auth-shell__sub {
  margin: 0 0 22px;
  color: rgba(243, 243, 246, 0.55);
  font-size: 0.92rem;
}
.auth-shell__steps {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  margin-bottom: 20px;
  overflow: hidden;
}
.auth-shell__steps i {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--shell-accent);
  border-radius: inherit;
  transition: width 0.2s ease;
}
.auth-shell label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.8rem;
  color: rgba(243, 243, 246, 0.65);
  margin-bottom: 14px;
}
.auth-shell input:not([type="checkbox"]):not([type="radio"]),
.auth-shell select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--shell-field);
  color: #fff;
  border-radius: 10px;
  padding: 13px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
.auth-shell select option {
  background: #141418;
  color: #fff;
}
.auth-shell input:not([type="checkbox"]):-webkit-autofill,
.auth-shell input:not([type="checkbox"]):-webkit-autofill:hover,
.auth-shell input:not([type="checkbox"]):-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 99999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px var(--shell-field) inset;
}
.auth-shell input:not([type="checkbox"]):focus,
.auth-shell select:focus {
  outline: none;
  border-color: rgba(255, 15, 80, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 15, 80, 0.15);
}
.auth-shell__hint {
  font-size: 0.72rem;
  color: rgba(243, 243, 246, 0.4);
  margin-top: -8px;
  margin-bottom: 12px;
}

/* Şartlar checkbox — görünür tik (appearance:none metin inputlara özeldi, kutuyu bozuyordu) */
.auth-shell__check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px !important;
  margin: 4px 0 16px;
  font-size: 0.82rem !important;
  line-height: 1.35;
  cursor: pointer;
  color: rgba(243, 243, 246, 0.85) !important;
  user-select: none;
}
.auth-shell__check input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 5px !important;
  background: #121216 !important;
  box-shadow: none !important;
  cursor: pointer;
  position: relative;
  color-scheme: dark;
}
.auth-shell__check input[type="checkbox"]:checked {
  background: var(--shell-accent) !important;
  border-color: var(--shell-accent) !important;
}
.auth-shell__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.auth-shell__check input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(255, 15, 80, 0.55);
  outline-offset: 2px;
}

.auth-shell__cta {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--shell-accent);
  color: #fff;
  transition: background 0.15s ease;
}
.auth-shell__cta:hover { background: var(--shell-accent-deep); }
.auth-shell__cta:disabled { opacity: 0.55; cursor: wait; }
.auth-shell__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.auth-shell__ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.auth-shell__ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.auth-shell__err {
  color: #ff6b81;
  font-size: 0.85rem;
  margin: 12px 0 0;
  font-weight: 700;
}
.auth-shell__meta {
  margin-top: 28px;
  font-size: 0.92rem;
  color: rgba(243, 243, 246, 0.55);
  text-align: center;
}
.auth-shell__meta a {
  color: var(--shell-accent);
  font-weight: 800;
  text-decoration: none;
}
.auth-shell__meta a:hover { text-decoration: underline; }
.auth-shell__secure {
  margin-top: 14px;
  font-size: 0.72rem;
  color: rgba(243, 243, 246, 0.35);
  text-align: center;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-shell__brand {
    min-height: 260px;
    padding: 72px 22px 56px;
  }
  .auth-shell__logo {
    top: 18px;
    left: 18px;
  }
  .auth-shell__title { font-size: 1.65rem; }
  .auth-shell__panel {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 22px 36px;
    justify-content: flex-start;
  }
  .auth-shell__foot { bottom: 16px; }
}
