/* Sign-in page (design login-page-redesign-2026-11-01 v2, draft.html <style>).
   Loaded after maras.css; every rule is scoped to .login. */
.login {
  --n: #14327A; --n9: #16224A; --or: #F47B20; --t: #101828; --t2: #475467; --t3: #667085; --b: #D0D5DD;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); flex: 1 0 auto; min-height: 100vh;
  background: #F4F6FA; color: var(--t); font: 15px/1.5 Inter, system-ui, sans-serif; font-feature-settings: normal;
}
.login *, .login *::before, .login *::after { box-sizing: border-box; }

/* Brand side: the logo, the MASTER tag and the footer on navy; orange edge line, soft glow. */
.login__brand {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 48px 64px; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #24386F 0%, var(--n9) 55%, #101A3B 100%);
}
.login__brand::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(244, 123, 32, .08), transparent 70%);
}
.login__brand::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: var(--or); }
.login__mid { position: relative; z-index: 1; margin: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.login__logo { display: block; height: 88px; width: auto; }
.login__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  font: 700 12px Inter, system-ui, sans-serif; letter-spacing: .12em;
}
.login__pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.login__ft { position: relative; z-index: 1; display: flex; justify-content: center; gap: 18px; color: #9FB0CC; font-size: 12.5px; }

/* Form side */
.login__side { display: flex; flex-direction: column; min-width: 0; padding: 32px 48px; }
.login__top { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.login .lang-switch--auth { width: auto; background: #fff; border: 1px solid var(--b); border-radius: 10px; padding: 3px; }
.login .lang-switch--auth .lang-switch__sep { display: none; }
.login .lang-switch--auth .lang-switch__btn {
  width: auto; min-width: 0; height: auto; padding: 6px 12px; border-radius: 7px; background: transparent; color: var(--t2);
  font: 600 13px Inter, system-ui, sans-serif; letter-spacing: normal;
}
.login .lang-switch--auth .lang-switch__btn[aria-current="true"] { background: var(--n); color: #fff; }
.login .lang-switch--auth .lang-switch__btn[aria-current="true"]::after { display: none; }
.login .lang-switch--auth .lang-switch__btn:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

.login__card {
  margin: auto; width: 100%; max-width: 420px; padding: 40px 36px; background: #fff;
  border: 1px solid #E4E7EC; border-radius: 20px; box-shadow: 0 12px 40px -12px rgba(22, 34, 74, .18);
}
.login__title { margin: 0 0 6px; color: var(--t); font: 700 28px/1.2 Inter, system-ui, sans-serif; letter-spacing: -.01em; }
.login__sub { margin: 0 0 28px; color: var(--t2); }
.login label { display: block; margin: 0 0 6px; color: var(--t); font: 600 14px Inter, system-ui, sans-serif; }
.login__f { margin-bottom: 18px; }
.login__in { position: relative; }
.login__ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--t3); pointer-events: none; }
.login input[type="email"], .login input[type="password"], .login input[type="text"] {
  width: 100%; height: 50px; padding: 0 46px 0 44px; border: 1.5px solid var(--b); border-radius: 12px;
  background: #fff; color: var(--t); font: 16px Inter, system-ui, sans-serif; box-shadow: none;
}
.login input[type="email"] { padding-right: 14px; } /* no eye button in this field: a long address gets the room */
.login input::placeholder { color: #667085; }
.login input[type="email"]:hover, .login input[type="password"]:hover, .login input[type="text"]:hover { border-color: var(--b); }
.login input[type="email"]:focus, .login input[type="password"]:focus, .login input[type="text"]:focus {
  outline: none; border-color: var(--n); box-shadow: 0 0 0 4px rgba(20, 50, 122, .15);
}
.login__eye {
  all: unset; cursor: pointer; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  display: flex; padding: 8px; color: var(--t2); border-radius: 8px;
}
.login__eye:focus-visible { outline: 2px solid var(--or); }
.login__eye[aria-pressed="true"] { color: var(--n); }
.login__btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 52px; margin-top: 8px; border-radius: 12px;
  background: var(--n); color: #fff; font: 600 16px Inter, system-ui, sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.login__btn:hover { background: #22325A; }
.login__btn:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.login .err {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 10px 12px; border-radius: 12px;
  background: #FEF3F2; border: 1px solid #FDA29B; color: #B42318; font-size: 14px;
}
.login .err > svg { flex: none; }
.login .err--warn { background: #FFFAEB; border-color: #FEC84B; color: #93370D; }
.login .show-err input.login__pw { border-color: #D92D20; }
.login .show-err input.login__pw:focus { border-color: var(--n); }
.login__note {
  display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid #EAECF0; color: var(--t2); font-size: 13px;
}
.login__note svg { flex: none; }
.login__bot { text-align: center; color: var(--t3); font-size: 12.5px; }

/* ≤ 900px: a slim navy bar (logo, MASTER, EN | TR), then the card. */
@media (max-width: 900px) {
  .login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; position: relative; }
  .login__brand { padding: 22px 20px; min-height: 0; }
  .login__brand::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .login__mid { margin: 0; flex-direction: row; justify-content: flex-start; gap: 12px; }
  .login__logo { height: 34px; }
  .login__pill { padding: 4px 10px; font-size: 11px; }
  .login__ft { display: none; }
  .login__side { padding: 20px 16px 24px; }
  .login__top { position: absolute; z-index: 2; top: 22px; right: 16px; }
  .login .lang-switch--auth { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
  .login .lang-switch--auth .lang-switch__btn { color: #C9D2E3; padding: 5px 10px; }
  .login .lang-switch--auth .lang-switch__btn[aria-current="true"] { background: #fff; color: var(--n); }
  .login__card { margin: 0 auto; padding: 28px 20px; border-radius: 16px; }
  .login__title { font-size: 24px; }
  .login__bot { margin-top: 20px; }
}
