@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..700;1,14..32,400..600&display=swap");
/* Telesure — split login (brand left · form right) */
.login-page {
  --login-accent: #e85a3c;
  --login-accent-hover: #d44e32;
  --login-accent-soft: rgba(232, 90, 60, 0.12);
  --login-text: #1a1a1a;
  --login-muted: #6b7280;
  --login-border: #e5e7eb;
  --login-brand-bg: linear-gradient(
    160deg,
    #060b12 0%,
    #0a1119 42%,
    #0d1520 72%,
    #101a28 100%
  );
  --login-brand-text: #f1f5f9;
  --login-brand-muted: #94a3b8;
  --login-serif: Lora, Georgia, "Times New Roman", serif;
  --login-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  font-family: var(--login-sans);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--login-text);
}

@media (min-width: 960px) {
  .login-page {
    flex-direction: row;
  }
}

/* —— Brand / promo (left) —— */
.login-page__brand-side {
  position: relative;
  flex: 1 1 46%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 2rem 3rem;
  background: var(--login-brand-bg);
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 960px) {
  .login-page__brand-side {
    padding-left: clamp(2.75rem, 5.5vw, 4.5rem);
    padding-right: 2.5rem;
  }
}

.login-page__brand-side::before {
  content: "";
  position: absolute;
  inset: -15% -10% auto -20%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(232, 90, 60, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.login-page__brand-side::after {
  content: "";
  position: absolute;
  inset: auto -25% -30% 20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(30, 58, 90, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.login-page__brand-inner {
  position: relative;
  width: 100%;
  max-width: 30rem;
  text-align: left;
  animation: loginFadeUp 0.7s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.login-brand {
  margin: 0 0 2.75rem;
  line-height: 0;
}

.login-brand__img {
  display: block;
  width: min(100%, 11.5rem);
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
}

.login-page__brand-side .login-hero__title {
  color: var(--login-brand-text);
}

.login-hero__title {
  font-family: var(--login-serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--login-text);
  margin: 0 0 1.15rem;
}

.login-hero__title em {
  font-style: normal;
  color: var(--login-accent);
}

.login-page__brand-side .login-hero__lead {
  color: var(--login-brand-muted);
}

.login-hero__lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--login-muted);
  font-weight: 500;
  margin: 0 0 2.25rem;
  max-width: 26rem;
}

.login-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.login-page__brand-side .login-features__item strong {
  color: var(--login-brand-text);
}

.login-features__item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--login-text);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.login-page__brand-side .login-features__item span {
  color: var(--login-brand-muted);
}

.login-features__item span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--login-muted);
  font-weight: 500;
}

/* —— Form (right) —— */
.login-page__form-side {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.75rem 3rem;
  background: #ffffff;
  min-width: 0;
}

.login-page__form-inner {
  width: 100%;
  max-width: 22rem;
  animation: loginFadeUp 0.75s cubic-bezier(0.19, 1, 0.22, 1) 0.08s both;
}

@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-page__form-head {
  margin-bottom: 1.75rem;
}

.login-page__form-title {
  font-family: var(--login-sans);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--login-text);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.login-page__form-sub {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--login-muted);
  font-weight: 500;
  margin: 0;
}

.login-field-group {
  margin-bottom: 1rem;
}

.login-field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.45rem;
}

.login-field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.login-field-label-row .login-field-label {
  margin-bottom: 0;
}

.login-link-btn {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--login-accent);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.login-link-btn:hover {
  color: var(--login-accent-hover);
  text-decoration: underline;
}

.login-back-link {
  display: inline-flex;
  margin-top: 1.25rem;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--login-muted);
  cursor: pointer;
}

.login-back-link:hover {
  color: var(--login-text);
}

.login-btn--ghost {
  margin-top: 0.65rem;
  background: #ffffff;
  color: var(--login-text);
  border: 1px solid var(--login-border);
}

.login-btn--ghost:hover {
  background: #f9fafb;
}

.login-btn:disabled,
.login-btn--ghost:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.login-ok {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(22, 163, 74, 0.25);
  background: #f0fdf4;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #15803d;
}

.login-ok.hidden {
  display: none;
}

.login-page .hidden {
  display: none !important;
}

.login-field-wrap {
  position: relative;
}

.login-field-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: #9ca3af;
  pointer-events: none;
}

.login-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--login-border);
  border-radius: 0.65rem;
  padding: 0.8rem 0.95rem 0.8rem 2.65rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--login-text);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-field::placeholder {
  color: #c4c9d2;
  font-weight: 400;
}

.login-field:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--login-accent) 55%, #ffffff);
  box-shadow: 0 0 0 3px var(--login-accent-soft);
}

.login-page__form-inner form {
  display: flex;
  flex-direction: column;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.88rem 1.25rem;
  border: none;
  border-radius: 0.65rem;
  background: var(--login-accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.login-btn:hover {
  background: var(--login-accent-hover);
}

.login-btn:active {
  transform: scale(0.99);
}

.login-btn__arrow {
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.92;
}

.login-err {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: #fef2f2;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b91c1c;
}

.login-err.hidden {
  display: none;
}

.login-page__footer {
  margin-top: 2.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #c4c9d2;
  letter-spacing: 0.02em;
}

/* Mobile: yalnızca giriş formu */
@media (max-width: 959px) {
  .login-page__brand-side {
    display: none;
  }

  .login-page__form-side {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem 2rem;
  }

  .login-page__form-inner {
    max-width: 22rem;
  }

  .login-page__form-head {
    margin-bottom: 1.5rem;
  }
}
