/* ═══════════════════════════════════════════════════
   login.css — dark-first, CSS variables
   ═══════════════════════════════════════════════════ */

/* ── Layout ──────────────────────────────────────── */
.main {
  position: relative;
  display: flex;
  min-height: calc(100vh - 70px);
}

.left {
  width: 60%;
  padding: 80px;
  background: var(--bg-surface);
  color: var(--text-primary);
}

.left h1 {
  color: var(--accent);
  margin-bottom: 30px;
}

label { font-size: 14px; color: var(--text-secondary); }

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 6px 0 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}
input[type="email"]::placeholder,
input[type="password"]::placeholder { color: var(--text-muted); }
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}
.remember { display: flex; align-items: center; gap: 8px; }
.options a { color: var(--accent); text-decoration: none; }
.options a:hover { color: #93c5fd; }

.captcha { display: flex; justify-content: center; }

button {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
button:hover { background: var(--accent-hover); }

.left button:hover { cursor: pointer; background: var(--accent-hover); color: #fff; }

/* ── Right side ──────────────────────────────────── */
.right { width: 40%; display: flex; }
.right-white, .right-blue { width: 50%; }
.right-white { background: var(--bg-surface-2); }
.right-blue  { background: linear-gradient(180deg, #1e40af, #0d2044); }

/* ── Image overlay ───────────────────────────────── */
.image-overlay {
  position: absolute;
  top: 50%;
  left: calc(60% + 20%);
  transform: translate(-50%, -50%);
  width: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 10;
}
.image-overlay img { width: 100%; display: block; }
.image-text {
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.image-text h3 { margin: 0 0 8px; font-size: 18px; }
.image-text p  { margin: 0; font-size: 13px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .main { flex-direction: column; }
  .left, .right { width: 100%; }
  .right { height: 300px; }
  .image-overlay { position: static; transform: none; margin: 40px auto; }
}
