body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

.login-page {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
}

/* ── LEFT ── */
.login-left {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 64px; background: var(--dark);
  position: relative; overflow: hidden;
}
.login-left::before {
  content: '200'; position: absolute; font-family: var(--font-display);
  font-size: 50vw; color: rgba(255,255,255,.012); line-height: 1;
  pointer-events: none; left: -10%; top: 10%;
}
.login-box { width: 100%; max-width: 400px; position: relative; z-index: 1; }

.login-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 40px;
}
.login-logo img { width: 70px; height: 70px; object-fit: contain; border-radius: 50%; }
.login-logo-brand { font-family: var(--font-display); font-size: 30px; letter-spacing: 3px; }
.login-logo-brand span { color: var(--red); }

/* TABS */
.tab-row { display: flex; gap: 0; margin-bottom: 32px; border: 1px solid var(--border2); }
.tab-btn {
  flex: 1; padding: 12px; background: none;
  font-family: var(--font-cond); font-size: 17px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--grey);
  border: none; cursor: pointer; transition: all .2s;
}
.tab-btn.active { background: var(--red); color: var(--white); }

/* GOOGLE BTN */
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px; background: var(--panel); border: 1px solid var(--border2);
  color: var(--white); cursor: pointer; margin-bottom: 12px;
  font-family: var(--font-cond); font-size: 17px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; transition: all .2s;
}
.btn-google:hover { border-color: #4285F4; background: var(--panel2); }

.divider {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-cond); font-size: 15px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--grey);
  margin: 16px 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border2); }

/* FORM */
.form-panel { display: none; }
.form-panel.active { display: block; }

.field { margin-bottom: 16px; }
.field-label {
  display: block; font-family: var(--font-cond); font-size: 15px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--grey); margin-bottom: 7px;
}
.field-input {
  width: 100%; background: var(--dark); border: 1px solid var(--border2);
  color: var(--white); padding: 12px 14px; font-family: var(--font-body);
  font-size: 18px; outline: none; transition: border-color .2s;
}
.field-input:focus { border-color: var(--red); }
.field-input.error { border-color: var(--red) !important; }
.field-input.ok { border-color: var(--green) !important; }

/* Password wrapper */
.pw-wrap { position: relative; }
.pw-wrap .field-input { padding-right: 44px; }
.pw-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--grey); cursor: pointer;
  font-size: 19px; line-height: 1; padding: 4px;
}
.pw-eye:hover { color: var(--white); }

/* Password strength */
.pw-strength { margin-top: 8px; display: none; }
.pw-strength-bar {
  height: 3px; background: var(--border2); border-radius: 2px; margin-bottom: 6px;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%; width: 0%; border-radius: 2px;
  transition: width .3s, background .3s;
}
.pw-rules { display: flex; flex-direction: column; gap: 4px; }
.pw-rule {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-cond); font-size: 18px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--grey);
  transition: color .2s;
}
.pw-rule.ok { color: var(--green); }
.pw-rule-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border2); flex-shrink: 0; transition: background .2s;
}
.pw-rule.ok .pw-rule-dot { background: var(--green); }

/* Field hint */
.field-hint {
  font-size: 15px; color: var(--grey); margin-top: 5px;
  font-family: var(--font-cond); letter-spacing: 1px;
}
.field-hint.error { color: var(--red); }
.field-hint.ok { color: var(--green); }

/* Verify code */
.verify-box {
  background: var(--panel); border: 1px solid var(--border2);
  padding: 20px; margin-bottom: 16px; text-align: center; display: none;
}
.verify-box.active { display: block; }
.verify-title {
  font-family: var(--font-cond); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--lgrey);
  margin-bottom: 6px;
}
.verify-sub { font-size: 12px; color: var(--grey); margin-bottom: 16px; }
.verify-input {
  width: 100%; background: var(--dark); border: 1px solid var(--border2);
  color: var(--white); padding: 14px; text-align: center;
  font-family: var(--font-display); font-size: 28px; letter-spacing: 8px;
  outline: none; transition: border-color .2s;
}
.verify-input:focus { border-color: var(--red); }
.verify-resend {
  font-family: var(--font-cond); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--grey);
  background: none; border: none; cursor: pointer; margin-top: 12px;
  transition: color .2s;
}
.verify-resend:hover { color: var(--white); }
.verify-timer { color: var(--red); }

/* Submit btn */
.btn-submit {
  width: 100%; padding: 14px; background: var(--red); color: var(--white);
  border: none; font-family: var(--font-cond); font-size: 17px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; cursor: pointer;
  transition: background .2s; margin-top: 4px;
}
.btn-submit:hover { background: #c01015; }
.btn-submit:disabled { background: var(--border2); color: var(--grey); cursor: not-allowed; }

/* Error */
.form-err {
  color: var(--red); font-size: 15px; font-family: var(--font-cond);
  letter-spacing: 1px; margin-bottom: 12px; display: none;
}
.form-err.visible { display: block; }

.back-link {
  display: block; text-align: center; margin-top: 20px;
  font-family: var(--font-cond); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--grey);
  text-decoration: none; transition: color .2s;
}
.back-link:hover { color: var(--white); }

/* ── RIGHT ── */
.login-right {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.login-right-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center; display: block;
  filter: contrast(1.04) saturate(1.1) brightness(.75);
}
.login-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, transparent 40%, var(--dark) 100%),
              linear-gradient(to top, var(--dark) 0%, transparent 50%);
}
.login-right-text {
  position: absolute; bottom: 48px; left: 48px; z-index: 2;
}
.login-right-text h2 {
  font-family: var(--font-display); font-size: 44px;
  letter-spacing: 1px; line-height: .95; margin-bottom: 10px;
}
.login-right-text h2 span { color: var(--red); }
.login-right-text p {
  font-size: 13px; font-weight: 300; color: var(--lgrey);
  max-width: 300px; line-height: 1.6;
}

@media (max-width: 768px) {
  .login-page { grid-template-columns: 1fr; }
  .login-right { display: none; }
  .login-left { padding: 40px 24px; min-height: 100vh; }
}
