* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #e0e0e0;
  min-height: 100vh;
  overflow: hidden;
}

.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 255, 136, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(0, 200, 255, 0.04) 0%, transparent 50%),
              #0a0a0f;
  position: relative;
}

.login-particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, rgba(0,255,136,0.3), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(0,200,255,0.2), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(0,255,136,0.3), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(0,200,255,0.2), transparent),
    radial-gradient(1px 1px at 90% 70%, rgba(0,255,136,0.3), transparent),
    radial-gradient(1.5px 1.5px at 20% 80%, rgba(0,255,136,0.2), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(0,200,255,0.2), transparent);
  animation: particleFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-20px); opacity: 1; }
}

.login-card {
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 24px;
  padding: 48px 40px;
  width: 420px;
  max-width: 90vw;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(0, 255, 136, 0.05);
  position: relative;
  z-index: 1;
  animation: cardAppear 0.6s ease-out;
}

@keyframes cardAppear {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-logo {
  text-align: center;
  margin-bottom: 36px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,200,255,0.1));
  color: #00ff88;
  margin-bottom: 16px;
  border: 1px solid rgba(0,255,136,0.2);
}

.login-logo h1 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #00ff88, #00c8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.login-subtitle {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #e0e0e0;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus {
  border-color: rgba(0, 255, 136, 0.5);
  background: rgba(0, 255, 136, 0.03);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.08);
}

.form-group input::placeholder {
  color: #444;
}

.error-msg {
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: #ff6b6b;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border: none;
  border-radius: 12px;
  color: #0a0a0f;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

.btn-loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(10, 10, 15, 0.3);
  border-top-color: #0a0a0f;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
