:root {
  --bg-dark: #0a0d14;
  --bg-card: #111827;
  --neon-blue: #00eaff;
  --neon-purple: #8b5cf6;
  --neon-cyan: #22d3ee;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* ======================
   Layout
====================== */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(0, 234, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ======================
   Header
====================== */
.login-header h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.login-header span {
  color: var(--neon-cyan);
}

.login-header p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ======================
   Form
====================== */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.input-group input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #020617;
  color: var(--text-main);
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

/* ======================
   Button
====================== */
.btn-login {
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.6);
}

/* ======================
   Footer
====================== */
.login-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.login-footer a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}
