/* ══════════════════════════════════════════════
   APX — Login
══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg:         #F6F7F9;
  --surface:    #FFFFFF;
  --primary:    #0F6B6D;
  --primary-dk: #0E1620;
  --text:       #12151A;
  --text-soft:  #3A424C;
  --text-light: #5C6570;
  --border:     #E2E5EA;
  --danger:     #C62828;
  --danger-lt:  #FDECEC;
  --font:       'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.login-bg {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.login-left {
  flex: 1;
  background: var(--primary-dk);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.login-left-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.login-left::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 20% 80%, rgba(15,107,109,.45), transparent 60%);
  pointer-events: none;
}

.ll-inner {
  position: relative; z-index: 1;
  padding: 48px 52px;
  max-width: 460px;
}

.ll-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 44px;
}

.ll-emblem {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ll-brand {
  font-size: 18px; font-weight: 700; color: #fff; line-height: 1.2;
  letter-spacing: 0.06em;
}
.ll-sub {
  font-size: 12px; color: rgba(255,255,255,.45); font-weight: 500; margin-top: 2px;
}

.ll-tagline {
  font-size: 32px; font-weight: 600; color: #fff;
  line-height: 1.2; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.ll-tagline span { color: #7EC8C9; }

.ll-desc {
  font-size: 14px; color: rgba(255,255,255,.62);
  line-height: 1.6; margin-bottom: 32px; max-width: 360px;
}

.ll-features { display: flex; flex-direction: column; gap: 12px; }
.ll-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,.78); font-weight: 500;
}
.lf-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}

.login-right {
  width: 480px; max-width: 100%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px;
}

.login-card {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}

.lc-head { margin-bottom: 28px; }
.lc-title {
  font-size: 22px; font-weight: 600; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.lc-sub {
  font-size: 13.5px; color: var(--text-light); line-height: 1.5;
}

.lc-error {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--danger-lt); border: 1px solid #f0b4b4;
  color: var(--danger); border-radius: 8px;
  padding: 12px 14px; font-size: 13px; margin-bottom: 18px; line-height: 1.45;
}
.le-icon { font-weight: 700; }

.lc-form { display: flex; flex-direction: column; gap: 16px; }
.lf-group { display: flex; flex-direction: column; gap: 6px; }
.lf-label {
  font-size: 12.5px; font-weight: 600; color: var(--text-soft);
}
.lf-input-wrap { position: relative; }
.lf-icon-left {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: 12px; pointer-events: none;
}
.lf-input {
  width: 100%; height: 42px;
  padding: 0 40px 0 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font); font-size: 14px; color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.lf-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,107,109,.22);
}
.lf-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: none; background: none; cursor: pointer;
  color: var(--text-light); padding: 6px; font-size: 13px;
}
.lf-eye:hover { color: var(--primary); }

.lf-btn {
  margin-top: 8px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 6px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.lf-btn:hover { background: #0C5759; }
.lf-btn-arrow { opacity: .85; }

.lc-footer {
  margin-top: 22px; text-align: center;
  font-size: 12px; color: var(--text-light);
}

@media (max-width: 900px) {
  .login-left { display: none; }
  .login-right { width: 100%; }
}
@media (max-width: 420px) {
  .login-card { padding: 28px 20px; border: none; box-shadow: none; background: transparent; }
}
