﻿/* ═══════════════════════════════════════════════════════
   LOGIN — Split Screen Layout
   ═══════════════════════════════════════════════════════ */

html, body {
  height: 100%;
}

/* Split container */
.login-split {
  display: flex;
  min-height: 100vh;
}

/* ── LEFT PANEL ─────────────────────────────────────── */
.login-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 42%;
  background: #0f172a;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

/* Decorative circles */
.login-left::before,
.login-left::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.login-left::before {
  width: 400px;
  height: 400px;
  background: rgba(245,158,11,0.06);
  bottom: -100px;
  right: -100px;
}

.login-left::after {
  width: 200px;
  height: 200px;
  background: rgba(99,102,241,0.08);
  top: -60px;
  left: -60px;
}

/* Brand */
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.login-brand-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.login-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  font-size: 20px;
  flex-shrink: 0;
}

.login-brand-name {
  display: block;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.login-brand-sub {
  display: block;
  font-size: 11px;
  color: #475569;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero text */
.login-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.login-hero h1 {
  font-family: 'Lexend', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
  margin-bottom: 14px;
}

.login-hero p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

.login-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #94a3b8;
}

.login-features li i {
  color: #f59e0b;
  font-size: 14px;
  flex-shrink: 0;
}

/* Footer */
.login-left-footer {
  font-size: 11.5px;
  color: #334155;
  position: relative;
  z-index: 1;
}

/* ── RIGHT PANEL ────────────────────────────────────── */
.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 40px 24px;
}

.login-form-wrap {
  width: 100%;
  max-width: 380px;
}

.login-form-header {
  margin-bottom: 32px;
}

.login-form-header h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.login-form-header p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* Input with icon */
.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}

.login-input {
  padding-left: 36px;
  border-radius: 8px;
  border-color: #e2e8f0;
  background: #fff;
  font-size: 13.5px;
  height: 42px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.login-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
  outline: none;
}

.login-input--has-toggle {
  padding-right: 40px;
}

.login-toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  transition: color 0.18s;
  z-index: 2;
}

.login-toggle-pw:hover {
  color: #475569;
}

/* Submit button */
.login-submit {
  height: 42px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: 0.01em;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .login-split {
    flex-direction: column;
  }

  .login-left {
    width: 100%;
    padding: 28px 24px;
    min-height: auto;
  }

  .login-hero h1 {
    font-size: 20px;
  }

  .login-hero p,
  .login-features {
    display: none;
  }

  .login-left-footer {
    display: none;
  }

  .login-right {
    padding: 32px 20px;
    align-items: flex-start;
  }
}
