body {
  background: #f4f6fa;
  color: #172033;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.left-panel {
  position: relative;
  flex: 1.08;
  align-items: flex-start;
  padding: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(circle at 15% 10%, rgba(99,102,241,.3), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(14,165,233,.14), transparent 28%),
    #111827;
}

.left-panel::before {
  inset: 0;
  width: auto;
  height: auto;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: none;
  mask-image: linear-gradient(to bottom right, #000, transparent 72%);
}

.logo-container { margin: 0 0 auto; text-align: left; }
.logo {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.login-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #818cf8, #4f46e5);
  color: #fff;
  box-shadow: 0 10px 28px rgba(79,70,229,.38);
  font-size: 12px;
  font-weight: 850;
}
.login-brand-copy { display: flex; flex-direction: column; color: #fff; line-height: 1.2; }
.login-brand-copy strong { font-size: 17px; }
.login-brand-copy small { margin-top: 3px; color: #8996aa; font-size: 11px; font-weight: 600; }

.welcome-text { max-width: 600px; text-align: left; }
.welcome-text h2 { margin-bottom: 18px; font-size: clamp(36px, 4.2vw, 62px); font-weight: 760; line-height: 1.02; letter-spacing: -.055em; }
.welcome-text p { max-width: 520px; color: #a9b4c5; font-size: 15px; line-height: 1.75; opacity: 1; }

.right-panel { flex: .92; padding: clamp(28px, 6vw, 76px); background: #fff; }
.login-container { max-width: 420px; }
.login-header { margin-bottom: 32px; }
.login-header h1 { margin-bottom: 9px; color: #111827; font-size: 30px; font-weight: 760; letter-spacing: -.035em; }
.login-header p { color: #8993a5; font-size: 13px; }
.form-group { margin-bottom: 19px; }
label { margin-bottom: 7px; color: #3c475a; font-size: 12px; font-weight: 720; }
input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9dee8;
  border-radius: 11px;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,.025);
}
input:hover { border-color: #c4cbd7; }
input:focus { border-color: #818cf8; box-shadow: 0 0 0 4px rgba(99,102,241,.11); }
.input-wrapper input { padding-right: 48px; }
.password-toggle {
  right: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: transparent;
  color: #8490a3;
  box-shadow: none;
}
.password-toggle:hover { background: #f1f5f9; color: #4f46e5; box-shadow: none; transform: translateY(-50%); }
.password-toggle svg { grid-area: 1/1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eye-closed, .password-toggle.is-visible .eye-open { display: none; }
.password-toggle.is-visible .eye-closed { display: block; }
form > button[type="submit"] {
  min-height: 48px;
  margin-top: 4px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 9px 22px rgba(79,70,229,.22);
  font-size: 14px;
  font-weight: 720;
}
form > button[type="submit"]:hover { box-shadow: 0 12px 27px rgba(79,70,229,.3); }
.error { border: 1px solid #fecaca; border-left: 3px solid #ef4444; border-radius: 11px; background: #fff7f7; font-size: 12px; }
.error::before { content: "!"; width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #fee2e2; font-size: 12px; font-weight: 800; }
.footer-text { margin-top: 28px; color: #a0a8b5; font-size: 11px; }

@media (max-width: 900px) {
  body { min-height: 100vh; flex-direction: column; }
  .left-panel { min-height: 230px; padding: 30px 24px; }
  .logo-container { margin-bottom: 52px; }
  .welcome-text h2 { font-size: 32px; }
  .welcome-text p { display: none; }
  .right-panel { padding: 36px 22px; }
}

/* Corporate palette: MBP / MBP.Media */
html,
body {
  background: #303030;
  color: #fff;
  font-family: "Montserrat", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.left-panel {
  background:
    radial-gradient(circle at 15% 10%, rgba(219,31,38,.28), transparent 31%),
    radial-gradient(circle at 85% 80%, rgba(243,172,16,.16), transparent 29%),
    #303030;
}
.login-brand-mark {
  background: linear-gradient(135deg, #db1f26, #f3ac10);
  box-shadow: 0 10px 28px rgba(219,31,38,.28);
}
.login-brand-copy small,
.welcome-text p { color: rgba(255,255,255,.54); }
.right-panel { background: #404040; }
.login-header h1 { color: #fff; }
.login-header p,
.footer-text { color: rgba(255,255,255,.48); }
label { color: rgba(255,255,255,.8); }
input {
  border-color: rgba(255,255,255,.14);
  background: #353535;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
  color-scheme: dark;
}
input:hover { border-color: rgba(255,255,255,.24); }
input:focus { border-color: #f3ac10; box-shadow: 0 0 0 4px rgba(243,172,16,.12); }
input::placeholder { color: rgba(255,255,255,.3); }
.password-toggle { color: rgba(255,255,255,.45); }
.password-toggle:hover { background: rgba(255,255,255,.08); color: #f3ac10; }
form > button[type="submit"] {
  background: linear-gradient(135deg, #db1f26, #f3ac10);
  box-shadow: 0 9px 22px rgba(219,31,38,.22);
}
form > button[type="submit"]:hover {
  background: linear-gradient(135deg, #b5171f, #dc8e05);
  box-shadow: 0 12px 27px rgba(219,31,38,.28);
}
.error {
  border-color: rgba(239,68,68,.35);
  border-left-color: #ef4444;
  background: rgba(127,29,29,.2);
  color: #fecaca;
}
.error::before { background: rgba(239,68,68,.2); color: #fecaca; }
