/* ── DochádzkaPRO — Login ── */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  display: flex;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Left panel — branding ── */
.panel-brand {
  flex: 1;
  background: #111114;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.panel-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(220,38,38,.15) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(220,38,38,.08) 0%, transparent 50%);
  pointer-events: none;
}

.brand-top { position: relative; z-index: 1; }
.brand-logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  margin-bottom: 72px;
}
.brand-logo span { color: #dc2626; }

.brand-headline {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 18px;
}
.brand-headline em {
  color: #dc2626;
  font-style: normal;
}
.brand-sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 52px;
}
.brand-features { display: flex; flex-direction: column; gap: 12px; }
.brand-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.brand-feature-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
}

.brand-bottom {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: rgba(255,255,255,.18);
  letter-spacing: 0.3px;
}

/* ── Right panel — form ── */
.panel-login {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 44px;
  background: #fff;
  min-height: 100vh;
  border-left: 1px solid #ebebec;
}

.box { width: 100%; max-width: 360px; }

/* ── Lang switcher (login) ── */
.lang-switcher {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.box-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #111114;
  margin-bottom: 4px;
}
.box-logo span { color: #dc2626; }

.box-sub {
  color: #adadb8;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 36px;
}

.box-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
  line-height: 1.4;
}

.box label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6b6b76;
  margin-bottom: 5px;
  letter-spacing: 0;
}
.box input {
  width: 100%;
  background: #fff;
  border: 1px solid #d8d8da;
  border-radius: 8px;
  padding: 11px 14px;
  color: #111114;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.box input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}
.box input::placeholder { color: #adadb8; }

.btn-login {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.1px;
  cursor: pointer;
  background: #111114;
  color: #fff;
  transition: background .15s, box-shadow .15s, transform .1s;
  margin-top: 4px;
}
.btn-login:hover {
  background: #1c1c20;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transform: translateY(-1px);
}
.btn-login:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.box-footer {
  margin-top: 20px;
  text-align: center;
}
.box-footer a {
  color: #adadb8;
  font-size: 12px;
  text-decoration: none;
  transition: color .12s;
}
.box-footer a:hover { color: #6b6b76; }

/* ── Mobile ── */
@media (max-width: 768px) {
  body { flex-direction: column; }

  .panel-brand {
    min-height: auto;
    padding: 32px 24px 40px;
  }
  .brand-logo { margin-bottom: 32px; }
  .brand-headline { font-size: 26px; letter-spacing: -1px; }
  .brand-features { display: none; }

  .panel-login {
    width: 100%;
    min-height: auto;
    padding: 36px 24px 48px;
    border-left: none;
    border-top: 1px solid #ebebec;
  }
}
