body.login-page {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

/* ── LEFT PANEL ── */
.panel-left {
  flex: 1;
  background: var(--section-alt);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.panel-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 0% 100%, rgba(0,0,0,0.05), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(0,0,0,0.04), transparent 50%);
}
.panel-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.panel-left-content { position: relative; z-index: 1; }
.panel-logo {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--heading);
}
.panel-logo span { color: var(--heading); }
.panel-headline {
  margin-top: auto;
  padding-top: 80px;
}
.panel-tagline {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--muted);
  margin-bottom: 16px; font-weight: 600;
}
.panel-headline h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700; color: var(--heading);
  letter-spacing: -1.5px; line-height: 1.05;
  margin-bottom: 20px;
}
.panel-headline h2 em {
  font-style: normal; color: var(--heading);
}
.panel-headline p {
  font-size: 16px; color: var(--muted);
  max-width: 340px; line-height: 1.7;
}
/* Floating cards */
.feature-cards {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 48px;
}
.feature-card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
}
.fc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--surface);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.fc-text h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 600; color: var(--heading);
  margin-bottom: 2px;
}
.fc-text p { font-size: 12px; color: var(--muted); }
.panel-footer {
  position: relative; z-index: 1;
  font-size: 13px; color: var(--muted);
}

/* ── RIGHT PANEL ── */
.panel-right {
  width: 480px; flex-shrink: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: var(--page-bg);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.form-header { margin-bottom: 40px; }
.form-header h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 30px; font-weight: 700;
  color: var(--heading); margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.form-header p { font-size: 15px; color: var(--muted); }
.form-header p a { color: var(--heading); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-header p a:hover { text-decoration: underline; }

.role-tabs {
  display: flex; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 4px;
  margin-bottom: 32px;
}
.role-tab {
  flex: 1; padding: 10px;
  border-radius: 8px; font-size: 14px;
  font-weight: 500; text-align: center;
  cursor: pointer; transition: all 0.2s;
  color: var(--muted);
  font-family: 'Inter', system-ui, sans-serif;
  border: none; background: transparent;
}
.role-tab.active {
  background: var(--accent); color: var(--on-accent);
  font-weight: 600;
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--body-text); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-input {
  width: 100%; padding: 14px 16px;
  background: var(--page-bg); border: 1px solid var(--border);
  border-radius: 10px; color: var(--heading);
  font-size: 15px; font-family: 'Inter', system-ui, sans-serif;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus {
  border-color: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.input-wrap {
  position: relative;
}
.input-wrap .input-icon {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); font-size: 18px; cursor: pointer;
}

.form-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px;
}
.remember-wrap { display: flex; align-items: center; gap: 8px; }
.remember-wrap input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--accent);
  cursor: pointer;
}
.remember-wrap label { font-size: 14px; color: var(--muted); cursor: pointer; }
.forgot-link { font-size: 14px; color: var(--heading); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.forgot-link:hover { text-decoration: underline; }

.btn-submit {
  width: 100%; padding: 16px;
  background: var(--accent); color: var(--on-accent);
  border: none; border-radius: 10px;
  font-size: 16px; font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: -0.3px;
}
.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.divider span { font-size: 13px; color: var(--muted); white-space: nowrap; }

.social-btns { display: flex; flex-direction: column; gap: 12px; }

.btn-social {
  width: 100%; padding: 13px 16px;
  background: var(--page-bg); border: 1px solid var(--border);
  border-radius: 10px; color: var(--heading);
  font-size: 14px; font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-social:hover { border-color: var(--heading); background: var(--section-alt); }

.btn-google {
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 10px;
  color: #3c4043;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
}
.btn-google:hover {
  background: #f8f9fa;
  border-color: #c6c9cc;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.1);
  transform: translateY(-1px);
  color: #202124;
}
.btn-google:active {
  background: #f1f3f4;
  border-color: #dadce0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
  transform: translateY(0);
}
.btn-google:focus-visible {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}
.btn-google__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.btn-google__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.btn-google__text {
  line-height: 1;
}

.msg {
  padding: 12px 16px; border-radius: 8px;
  font-size: 14px; margin-bottom: 20px;
  display: none;
}
.msg.error { background: rgba(255,77,77,0.1); border: 1px solid rgba(255,77,77,0.3); color: var(--error); }
.msg.success { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); color: var(--success); }

@media (max-width: 900px) {
  .panel-left { display: none; }
  .panel-right { width: 100%; padding: 40px 28px; }
}
