/* Login page scoped styles (no global vars) */

*, *::before, *::after { box-sizing: border-box; }
body { background: #f0f3f8; color: #1a2942; }

.login-section {
  min-height: calc(100vh - 130px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.login-left {
  background: linear-gradient(150deg, #0f2444 0%, #163366 50%, #1a3c6e 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  overflow: hidden;
  color: #fff;
}
.login-left::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  top: -160px; left: -160px;
  pointer-events: none;
}
.login-left::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,118,0,.08);
  bottom: -100px; right: -80px;
  pointer-events: none;
}
.left-geo { position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,.04); bottom: -200px; right: -200px; }
.left-geo2 { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,118,0,.15); top: 60px; right: 40px; }
.globe-bg { position: absolute; bottom: 20px; right: 20px; z-index: 1; opacity: .06; font-size: 240px; color: #fff; line-height: 1; pointer-events: none; }

.left-content { position: relative; z-index: 2; }
.left-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,118,0,.15); border: 1px solid rgba(255,118,0,.3); color: #ffb46a; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 13px; border-radius: 20px; margin-bottom: 20px; }
.left-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #ff7600; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(.7);} }
.left-heading { font-size: clamp(28px,3vw,42px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.01em; }
.left-heading em { color: #ffb46a; font-style: normal; }
.left-sub { color: #8aabcc; font-size: 15px; line-height: 1.65; max-width: 380px; margin-bottom: 36px; }

.left-stats { display: flex; gap: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin-bottom: 36px; }
.lstat { flex: 1; padding: 16px 14px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.lstat:last-child { border-right: none; }
.lstat-num { font-size: 22px; font-weight: 800; color: #ff7600; line-height: 1; margin-bottom: 4px; }
.lstat-lbl { font-size: 10.5px; color: #6e91b4; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }

.trust-list { display: flex; flex-direction: column; gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #8aabcc; font-size: 13.5px; }
.trust-icon { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #ff7600; font-size: 14px; }
.trust-item strong { color: #c8d9ea; font-weight: 600; }

.login-right { background: #f7f9fc; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 48px; position: relative; }
.form-wrap { width: 100%; max-width: 400px; position: relative; z-index: 1; }

.login-card { background: #fff; border-radius: 20px; box-shadow: 0 8px 40px rgba(26,60,110,.12), 0 2px 8px rgba(26,60,110,.06); overflow: hidden; }
.card-top { background: linear-gradient(135deg, #0f2444 0%, #1e4d8c 100%); padding: 28px 32px 36px; position: relative; color: #fff; }
.card-top::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 28px; background: #fff; border-radius: 20px 20px 0 0; }
.card-badge { display: inline-block; background: rgba(255,118,0,.2); border: 1px solid rgba(255,118,0,.35); color: #ffb46a; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
.card-title { font-size: 22px; font-weight: 800; margin-bottom: 3px; }
.card-sub { color: #8aabcc; font-size: 13px; }
.card-body { padding: 8px 32px 32px; }

.form-msg { display: none; padding: 11px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; margin-bottom: 14px; border: 1px solid; }
.form-msg.error { background: #fff3f3; border-color: #fca5a5; color: #b91c1c; }

.field-group { margin-bottom: 14px; }
.field-group label { display: block; font-size: 12px; font-weight: 600; color: #374761; margin-bottom: 5px; letter-spacing: .03em; }
.field-wrap { position: relative; }
.field-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #a0aec0; font-size: 14px; pointer-events: none; z-index: 1; }
.field-wrap input { width: 100%; padding: 11px 14px 11px 38px; border: 1.5px solid #dde4f0; border-radius: 9px; font-size: 14px; color: #1a2942; background: #f7f9fc; outline: none; transition: all .2s; }
.field-wrap input:focus { border-color: #1a3c6e; background: #fff; box-shadow: 0 0 0 3px rgba(26,60,110,.08); }
.field-wrap input::placeholder { color: #b0bacb; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #a0aec0; padding: 4px; font-size: 16px; }
.pw-toggle:hover { color: #1a3c6e; }
.forgot-link { display: block; text-align: right; font-size: 12px; color: #1a3c6e; margin-top: 5px; font-weight: 500; }
.forgot-link:hover { color: #ff7600; }

.btn-login { width: 100%; padding: 13px; background: linear-gradient(135deg, #ff7600 0%, #ff9033 100%); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 8px; transition: all .2s; box-shadow: 0 4px 18px rgba(255,118,0,.3); letter-spacing: .02em; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,118,0,.4); }
.btn-login:active { transform: translateY(0); }
.btn-login .loader { display: none; }

.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #c0ccd8; font-size: 12px; font-weight: 500; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #dde4f0; }

.alt-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-alt { width: 100%; padding: 11px; border: 1.5px solid #dde4f0; border-radius: 9px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.btn-subscribe { background: #1a3c6e; color: #fff; border-color: #1a3c6e; text-decoration: none; }
.btn-subscribe:hover { background: #0f2444; border-color: #0f2444; }
.btn-freetrial { background: #fff; color: #1a3c6e; text-decoration: none; }
.btn-freetrial:hover { background: #f7f9fc; border-color: #1a3c6e; }

.help-bar { margin-top: 20px; padding: 13px 16px; background: #fff8f0; border: 1px solid #ffe0bb; border-radius: 9px; display: none; }
.help-bar.show { display: block; }
.help-bar p { font-size: 12.5px; color: #7a4a00; line-height: 1.6; }
.help-bar a { color: #c45200; font-weight: 600; }

.right-note { margin-top: 24px; text-align: center; font-size: 11.5px; color: #6b7a96; }
.right-note a { color: #1a3c6e; font-weight: 500; }
.right-note a:hover { color: #ff7600; }

.float-wa { position: fixed; right: 18px; bottom: 24px; z-index: 9999; }
.float-wa a { display: flex; align-items: center; gap: 7px; background: #25d366; color: #fff; padding: 10px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 18px rgba(37,211,102,.35); transition: all .2s; }
.float-wa a:hover { background: #1db954; transform: translateY(-1px); }

@media (max-width: 1024px) {
  .login-section { grid-template-columns: 1fr; min-height: auto; }
}
@media (max-width: 840px) {
  .login-left { padding: 40px 28px 48px; min-height: 340px; }
  .left-heading { font-size: 26px; }
  .login-right { padding: 40px 20px 48px; }
}
@media (max-width: 600px) {
  .login-left { padding: 32px 20px 40px; }
  .left-stats { flex-wrap: wrap; }
  .lstat { flex: 1 1 45%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .login-right { padding: 30px 16px 40px; }
  .card-top { padding: 22px 22px 32px; }
  .card-body { padding: 6px 22px 24px; }
}
