/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body.login-page, body.lockscreen {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #0d1257 0%, #1a237e 45%, #283593 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Animated blobs */
body.login-page::before, body.lockscreen::before,
body.login-page::after, body.lockscreen::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  opacity: .12;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
body.login-page::before, body.lockscreen::before {
  width: 500px; height: 500px;
  background: #ff6f00;
  top: -120px; right: -120px;
  animation-delay: 0s;
}
body.login-page::after, body.lockscreen::after {
  width: 400px; height: 400px;
  background: #42a5f5;
  bottom: -100px; left: -100px;
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(30px) scale(1.05); }
}

/* ── Card ──────────────────────────────────────────────────── */
.login-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  margin: 24px 16px;
  background: rgba(255,255,255,.97);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  overflow: hidden;
  animation: slideUp .5s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes slideUp {
  from { opacity:0; transform: translateY(40px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── Header band ───────────────────────────────────────────── */
.login-header {
  background: linear-gradient(135deg, #1a237e, #3949ab);
  padding: 36px 36px 28px;
  text-align: center;
  position: relative;
}
.login-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 24px;
  background: rgba(255,255,255,.97);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.login-logo-icon {
  width: 68px; height: 68px;
  background: rgba(255,255,255,.15);
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px; color: #fff;
  backdrop-filter: blur(6px);
}
.login-store-name {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: .3px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.login-subtitle {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  margin: 0;
}

/* ── Body ──────────────────────────────────────────────────── */
.login-body {
  padding: 20px 36px 28px;
}

.login-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #9e9e9e;
  margin-bottom: 16px;
  text-align: center;
}

/* ── Form fields ───────────────────────────────────────────── */
.login-field {
  position: relative;
  margin-bottom: 16px;
}
.login-field .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e9e9e;
  font-size: 16px;
  pointer-events: none;
  transition: color .2s;
  z-index: 2;
}
.login-field input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  color: #212121;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fafafa;
}
.login-field input:focus {
  border-color: #1a237e;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,35,1