/* Body + background */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url('../images/login_bg.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(6px);
  z-index: 0;
}

/* Floating animation */
@keyframes floatShape {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Login container */
.login-container {
  position: relative;
  z-index: 1;
  background-color: #222;
  border-radius: 20px;
  padding: 50px 40px;
  width: 450px;
  text-align: center;
  animation: floatShape 3s ease-in-out infinite;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0,255,200,0.1);
  font-family: 'Share Tech Mono', monospace;
}

.login-container:hover {
  transform: translateY(-5px) scale(1.02);
}

.login-container img {
  border-radius: 20%;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #00ffcc);
  object-fit: cover;
  border: 1px solid #00ffcc;
}

h1 {
  color: #ffffff !important;
  margin-bottom: 15px;
  font-weight: 700;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.welcome-text { color: #cfcfcf; margin-bottom: 30px; font-size: 16px; }

input.form-control {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  background-color: rgba(50,50,50,0.9);
  border: none;
  color: #fff;
  transition: 0.3s;
  font-family: 'Share Tech Mono', monospace;
}

input.form-control::placeholder { color: #bbb; }

input.form-control:focus {
  background-color: rgba(50,50,50,1);
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 10px rgba(0,255,200,0.7);
}

/* Button */
.btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  background: linear-gradient(to right, #00aaff, #00ffcc);
  border: none;
  transition: all 0.3s ease;
  color: #003333;
  font-weight: 600;
  font-family: 'Share Tech Mono', monospace;
}

.btn-primary:hover {
  background: linear-gradient(to right, #00ffcc, #00aaff);
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(0,255,200,0.8);
}

.error-message { margin-bottom: 20px; }
.footer-text { margin-top: 25px; font-size: 14px; color: #88aaaa; }

@media (max-width: 576px) { .login-container { width: 90%; padding: 30px 20px; } }

/* Position eye toggle inside password */
.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #00ffcc;
  font-size: 18px;
}


/* Floating shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  z-index: 0;
  animation: floatShape 6s ease-in-out infinite;
  filter: blur(1px);
}

/* Left-side green–blue theme shapes */
.shape1 { width: 110px; height: 110px; background: #00aaff; top: 18%; left: 8%; animation-delay: 0s; }
.shape2 { width: 85px; height: 85px; background: #00ffcc; top: 68%; left: 18%; animation-delay: 2s; }
.shape3 { width: 130px; height: 130px; background: #00aaff; top: 45%; left: 12%; animation-delay: 4s; }
.shape4 { width: 55px; height: 55px; background: #00d4aa; top: 12%; left: 22%; animation-delay: 1s; }
.shape5 { width: 95px; height: 95px; background: #00e6c0; top: 82%; left: 10%; animation-delay: 3s; }
.shape6 { width: 50px; height: 50px; background: #00bbaa; top: 38%; left: 28%; animation-delay: 5s; }
.shape7 { width: 120px; height: 120px; background: #00ffdd; top: 58%; left: 5%; animation-delay: 2s; }
.shape8 { width: 45px; height: 45px; background: #00f0d0; top: 28%; left: 20%; animation-delay: 4s; }
