@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&display=swap');

:root {
  --orange:        #ff6a00;
  --orange-dark:   #e55a00;
  --orange-light:  #ff8c38;
  --orange-glow:   rgba(255,106,0,0.18);
  --orange-faint:  rgba(255,106,0,0.08);
  --bg:            #f0f2f8;
  --surface:       #ffffff;
  --surface2:      #fafbff;
  --text:          #0e1528;
  --text-2:        #4b5675;
  --text-3:        #9aa3bf;
  --border:        #dde2f0;
  --danger:        #ef4444;
  --danger-bg:     rgba(239,68,68,0.08);
  --success:       #10b981;
  --success-bg:    rgba(16,185,129,0.08);
  --radius:        14px;
  --radius-sm:     9px;
  --radius-xs:     6px;
  --font-head:     'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;
  --shadow-orange: 0 6px 24px rgba(255,106,0,0.3);
}

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

body, .login-body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── LEFT PANEL ─────────────────────────────────────── */
.left-panel {
  width: 50%;
  background: linear-gradient(145deg, #0f1623 0%, #1a2540 60%, #0f1623 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  overflow: hidden;
}

.geo-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.8) 0, rgba(255,255,255,.8) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.8) 0, rgba(255,255,255,.8) 1px, transparent 1px, transparent 56px);
}
.deco { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); pointer-events: none; }
.d1 { width: 500px; height: 500px; top: -150px; right: -150px; }
.d2 { width: 260px; height: 260px; bottom: -60px; left: -60px; border-color: rgba(255,106,0,0.15); }
.d3 { width: 150px; height: 150px; top: 42%; right: 9%; border-color: rgba(255,255,255,0.05); }

.panel-top { position: relative; z-index: 2; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  width: 46px; height: 46px;
  background: var(--orange);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange);
  flex-shrink: 0;
}
.logo-name { font-family: var(--font-head); font-size: 25px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo-tag  { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.32); margin-top: 2px; }

.panel-mid { position: relative; z-index: 2; }

.live-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,106,0,0.12);
  border: 1px solid rgba(255,106,0,0.25);
  border-radius: 20px; padding: 5px 15px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-bottom: 1.8rem;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.4; transform:scale(0.65); } }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 800; color: #fff;
  line-height: 1.07; letter-spacing: -1.5px;
  margin-bottom: 1.3rem;
}
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,0.48);
  line-height: 1.7; max-width: 360px; margin-bottom: 2.4rem;
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 5px 13px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500;
  transition: all 0.2s;
}
.pill:hover { background: rgba(255,255,255,0.12); color: #fff; }

.panel-bottom {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem; display: flex; gap: 32px;
}
.stat-num { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: #fff; }
.stat-lbl  { font-size: 11px; color: rgba(255,255,255,0.32); margin-top: 2px; }

/* ── RIGHT PANEL ──────────────────────────────────── */
.right-panel {
  width: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem; background: var(--surface); position: relative;
}
.right-panel::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,106,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrap {
  width: 100%; max-width: 400px;
  position: relative; z-index: 2;
  animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }

.form-head { margin-bottom: 2.2rem; }
.form-head h2 {
  font-family: var(--font-head);
  font-size: 27px; font-weight: 800;
  letter-spacing: -0.6px; color: var(--text); margin-bottom: 7px;
}
.form-head h2 span { color: var(--orange); }
.form-head p { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ── ALERT ─────────────────────────────────────────── */
.alert {
  display: none; padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 1.2rem;
  align-items: center; gap: 9px;
  border: 1.5px solid;
  animation: fadeUp 0.2s ease;
  font-weight: 500;
}
.alert.show { display: flex; }
.alert.error   { background: var(--danger-bg);  border-color: rgba(239,68,68,0.25);   color: var(--danger); }
.alert.success { background: var(--success-bg); border-color: rgba(16,185,129,0.25);  color: #059669; }

/* ── FORM ELEMENTS ─────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  color: var(--text-2); margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon {
  position: absolute; left: 13px;
  color: var(--text-3); pointer-events: none;
  display: flex; align-items: center;
  transition: color 0.2s;
}
.form-input {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 44px;
  font-family: var(--font-body);
  font-size: 14px; color: var(--text);
  outline: none;
  transition: all 0.22s ease;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:hover { border-color: #c4cdec; background: #fff; }
.form-input:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3.5px var(--orange-glow);
}
.input-wrap:focus-within .input-icon { color: var(--orange); }

.toggle-pass {
  position: absolute; right: 13px;
  background: none; border: none;
  color: var(--text-3); cursor: pointer;
  padding: 4px; display: flex; align-items: center;
  transition: color 0.2s;
}
.toggle-pass:hover { color: var(--orange); }

/* ── OPTIONS ROW ───────────────────────────────────── */
.options-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.7rem;
}
.remember-wrap { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.cb-box {
  width: 17px; height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.cb-box.on { background: var(--orange); border-color: var(--orange); }
.remember-txt { font-size: 13px; color: var(--text-2); font-weight: 500; }
.forgot-link { font-size: 13px; color: var(--orange); text-decoration: none; font-weight: 600; transition: opacity 0.2s; }
.forgot-link:hover { opacity: 0.7; }

/* ── MAIN BUTTON ───────────────────────────────────── */
.btn-main {
  width: 100%; padding: 13px;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 800;
  letter-spacing: 0.2px; color: #fff;
  background: var(--orange);
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.22s ease;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: var(--shadow-orange);
}
.btn-main:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 28px rgba(255,106,0,0.38);
  transform: translateY(-1px);
}
.btn-main:active { transform: translateY(0) scale(0.99); }
.btn-arrow { transition: transform 0.2s; }
.btn-main:hover .btn-arrow { transform: translateX(4px); }

.spinner {
  display: none; width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  position: absolute;
}
.btn-main.loading .spinner { display: block; }
.btn-main.loading .btn-content { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ────────────────────────────────────────── */
.form-footer { margin-top: 2rem; text-align: center; font-size: 12px; color: var(--text-3); line-height: 1.7; }
.form-footer a { color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.form-footer a:hover { color: var(--orange); }

.ver {
  position: absolute; bottom: 18px; right: 20px;
  font-size: 11px; color: var(--text-3);
  font-family: var(--font-head); font-weight: 700;
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 3px 10px;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 860px) {
  .left-panel { display: none; }
  .right-panel { width: 100%; }
}
