/* ============================================================
   SOCIALMM — LOGIN PAGE CSS
   ============================================================ */

.login-page { margin: 0; padding: 0; overflow: hidden; }

.login-wrapper {
  min-height: 100vh;
  background:
    linear-gradient(rgba(4,40,28,.85), rgba(4,40,28,.92)),
    url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}

.login-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(5,150,105,.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Stats Strip */
.stats-strip {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(4,40,28,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5,150,105,.3);
  display: flex; align-items: center; justify-content: center;
  gap: 0; z-index: 10; padding: 10px 40px;
}
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }
.stat-num { font-size: 22px; font-weight: 800; color: #6ee7b7; letter-spacing: -1px; }
.stat-label { font-size: 10px; color: rgba(255,255,255,.55); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Login Container */
.login-container {
  margin-top: 60px;
  display: flex; flex-direction: column; align-items: center;
  z-index: 1; width: 100%; max-width: 440px;
}

/* Glass Card */
.glass-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand-logo {
  width: 48px; height: 48px;
  background: var(--emerald);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white;
  box-shadow: 0 4px 20px rgba(5,150,105,.5);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 22px; font-weight: 800; color: white; letter-spacing: -.5px; }
.brand-tagline { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }

.login-title { font-size: 24px; font-weight: 700; color: white; margin-bottom: 6px; }
.login-sub { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 28px; }

/* Alert */
.login-alert {
  padding: 10px 14px;
  border-radius: 8px; font-size: 13px;
  margin-bottom: 16px;
}
.login-alert.error { background: rgba(220,38,38,.15); color: #fca5a5; border: 1px solid rgba(220,38,38,.3); }
.login-alert.success { background: rgba(5,150,105,.15); color: #6ee7b7; border: 1px solid rgba(5,150,105,.3); }

/* Form Fields */
.login-form .form-group { margin-bottom: 18px; }
.login-form label { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 8px; letter-spacing: .3px; }

.input-icon-wrap {
  position: relative;
  display: flex; align-items: center;
}
.input-icon-wrap i:first-child {
  position: absolute; left: 13px;
  color: rgba(255,255,255,.35); font-size: 13px;
  pointer-events: none;
}
.input-icon-wrap input {
  width: 100%;
  padding: 11px 40px 11px 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: white; font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.input-icon-wrap input::placeholder { color: rgba(255,255,255,.25); }
.input-icon-wrap input:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5,150,105,.2);
}
.toggle-pw {
  position: absolute; right: 13px;
  color: rgba(255,255,255,.35); font-size: 13px;
  cursor: pointer; z-index: 1;
}
.toggle-pw:hover { color: rgba(255,255,255,.7); }

.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.55); cursor: pointer; }
.checkbox-label input { width: 14px; height: 14px; accent-color: var(--emerald); }
.link-sm { font-size: 12px; color: #6ee7b7; font-weight: 500; }
.link-sm:hover { text-decoration: underline; }

/* Login Button */
.login-form .btn-primary {
  background: var(--emerald);
  border-radius: 10px; padding: 12px 20px;
  font-size: 14px; font-weight: 700;
  width: 100%; justify-content: center;
  box-shadow: 0 4px 20px rgba(5,150,105,.4);
  transition: background .2s, transform .15s;
  margin-top: 4px;
}
.login-form .btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); }
.login-form .btn-primary:active { transform: translateY(0); }

.login-demo-hint { text-align: center; font-size: 11px; color: rgba(255,255,255,.3); margin-top: 14px; }

/* Role Chips */
.login-roles { margin-top: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.login-roles > span { font-size: 11px; color: rgba(255,255,255,.4); }
.role-chip {
  padding: 5px 12px; border-radius: 20px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); font-size: 11px; font-weight: 500;
  cursor: pointer; transition: all .2s;
}
.role-chip:hover { background: rgba(5,150,105,.25); border-color: var(--emerald); color: #6ee7b7; }

.login-footer-text { margin-top: 20px; text-align: center; font-size: 11px; color: rgba(255,255,255,.25); }

@media (max-width: 480px) {
  .glass-card { padding: 28px 20px; }
  .stats-strip { gap: 0; padding: 8px 12px; }
  .stat-item { padding: 0 12px; }
  .stat-num { font-size: 16px; }
}
