*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }

/* ── Shell ─────────────────────────────────────────────────────────────────── */
.login-shell {
  display: flex;
  height: 100vh;
}

/* ── Shared column base ─────────────────────────────────────────────────────── */
.login-left,
.login-right {
  width: 50vw;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* ── LEFT column ────────────────────────────────────────────────────────────── */
.login-left {
  background: #000;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 60px;
}

.login-left::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  pointer-events: none;
  z-index: 0;
}

.login-left::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
  pointer-events: none;
  z-index: 0;
}

.login-left-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.login-brand {
  font-size: 80px;
  font-weight: 800;
  color: #1515c8;
  letter-spacing: -2px;
  line-height: 1;
}

.login-tagline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
}

.login-divider {
  width: 36px;
  height: 2px;
  background: rgba(255,255,255,0.15);
}

.login-op-title {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.login-op-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.login-secure {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-secure-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1515c8;
  flex-shrink: 0;
}

.login-secure-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ── RIGHT column ───────────────────────────────────────────────────────────── */
.login-right {
  background: #fff;
}

.login-right::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  pointer-events: none;
  z-index: 0;
}

.login-right::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  pointer-events: none;
  z-index: 0;
}

.login-form-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Bar + title inline ─────────────────────────────────────────────────────── */
.login-form-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-bar {
  width: 24px;
  height: 3px;
  background: #1515c8;
  flex-shrink: 0;
}

.login-form-title {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

/* ── Messages ───────────────────────────────────────────────────────────────── */
.msg {
  font-size: 13px;
}

.msg-error  { color: #c0170f; }
.msg-notice { color: #15803d; }

/* ── Form stack ─────────────────────────────────────────────────────────────── */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-field-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}

.login-field input {
  width: 100%;
  background: #f5f5f5;
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  padding: 7px 0;
  font-size: 14px;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.login-field input:focus {
  border-bottom-color: #1515c8;
  background: #efefef;
}

/* ── Forgot password ────────────────────────────────────────────────────────── */
.login-forgot {
  display: flex;
  justify-content: flex-end;
}

.login-forgot a {
  font-size: 11px;
  color: #1515c8;
  text-decoration: none;
}

.login-forgot a:hover {
  text-decoration: underline;
}

/* ── Submit ─────────────────────────────────────────────────────────────────── */
button[type="submit"] {
  width: 100%;
  background: #1515c8;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

button[type="submit"]:hover {
  background: #0f0fa8;
}

/* ── Tour button ────────────────────────────────────────────────────────────── */
.login-tour-btn {
  position: absolute;
  bottom: 20px;
  left: 48px;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #111;
  background: transparent;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.15s, color 0.15s;
  line-height: 1;
}

.login-tour-btn:hover {
  border-color: #1515c8;
  color: #1515c8;
}

/* ── Language switcher ──────────────────────────────────────────────────────── */
.login-lang {
  position: absolute;
  bottom: 20px;
  right: 48px;
  z-index: 1;
}

.login-lang a {
  font-size: 10px;
  color: #111;
  text-decoration: none;
}

.login-lang a:hover {
  color: #1515c8;
}
