/* login.css */
.login-body { margin: 0; padding: 0; min-height: 100vh; font-family: 'Inter',system-ui,sans-serif; }
.login-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* Left panel */
.login-left { background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%); display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; overflow: hidden; }
.login-left::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(24,226,153,.15) 0%, transparent 70%); }
.login-left-content { position: relative; z-index: 1; max-width: 400px; }
.login-hero-title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: #fff; letter-spacing: -.7px; line-height: 1.2; margin-bottom: 16px; }
.login-hero-sub { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 36px; }
.login-stats { display: flex; gap: 32px; }
.ls-item { display: flex; flex-direction: column; gap: 4px; }
.ls-num { font-size: 24px; font-weight: 600; color: #18E299; letter-spacing: -.5px; }
.ls-label { font-size: 12px; color: rgba(255,255,255,.4); }

/* Right panel */
.login-right { display: flex; align-items: center; justify-content: center; padding: 48px; background: #fafafa; }
.login-card { background: #fff; border: 1px solid rgba(0,0,0,.05); border-radius: 24px; padding: 40px; width: 100%; max-width: 420px; box-shadow: rgba(0,0,0,.06) 0px 16px 48px; }
.login-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.login-title { font-size: 22px; font-weight: 600; color: #0d0d0d; letter-spacing: -.4px; margin-bottom: 6px; }
.login-sub { font-size: 14px; color: #666; margin-bottom: 28px; }

/* Google btn */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px 20px; border-radius: 9999px; border: 1px solid rgba(0,0,0,.08); background: #fff; font-family: 'Inter',sans-serif; font-size: 15px; font-weight: 500; color: #0d0d0d; cursor: pointer; transition: background .2s, box-shadow .2s; box-shadow: rgba(0,0,0,.06) 0px 1px 2px; }
.btn-google:hover { background: #f8f8f8; box-shadow: rgba(0,0,0,.1) 0px 4px 12px; }

/* Divider */
.login-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #aaa; font-size: 13px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.08); }

/* Form inputs shared with style.css but scoped */
.login-card .form-group { margin-bottom: 14px; }
.login-card .form-label { display: block; font-size: 13px; font-weight: 500; color: #0d0d0d; margin-bottom: 6px; }
.login-card .form-input { width: 100%; padding: 10px 16px; border: 1px solid rgba(0,0,0,.08); border-radius: 9999px; font-family: 'Inter',sans-serif; font-size: 14px; color: #0d0d0d; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.login-card .form-input:focus { border-color: #18E299; box-shadow: 0 0 0 3px rgba(24,226,153,.15); }
.login-card .btn-brand { background: #18E299; color: #0d0d0d; font-weight: 600; border-radius: 9999px; font-size: 15px; border: none; margin-top: 8px; }
.login-card .btn-brand:hover { opacity: .9; }
.login-register-link { text-align: center; font-size: 13px; color: #666; margin-top: 16px; }
.login-register-link a { color: #18E299; font-weight: 500; }

/* Back btn */
.back-btn { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; background: none; border: none; cursor: pointer; padding: 0; margin-bottom: 20px; }
.back-btn:hover { color: #0d0d0d; }

/* Role cards */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.role-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; border: 1.5px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; cursor: pointer; transition: all .2s; text-decoration: none; color: inherit; }
.role-card:hover, .role-card.selected { border-color: #18E299; background: #d4fae8; }
.role-card-wide { flex-direction: row; text-align: left; padding: 18px 20px; gap: 16px; }
.role-icon { width: 52px; height: 52px; border-radius: 12px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: #18E299; flex-shrink: 0; }
.role-card-wide .role-icon { margin-bottom: 0; }
.role-name { font-size: 15px; font-weight: 600; color: #0d0d0d; margin-bottom: 4px; }
.role-desc { font-size: 13px; color: #666; line-height: 1.4; }

@media(max-width:768px) {
  .login-page { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { padding: 24px 16px; }
  .login-card { padding: 28px 20px; }
}
