/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Background */
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #141e30, #243b55);
  overflow: hidden;
}

/* Animated background glow */
body::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #00c6ff;
  filter: blur(150px);
  opacity: 0.4;
  top: -100px;
  left: -100px;
}

body::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #0072ff;
  filter: blur(150px);
  opacity: 0.4;
  bottom: -100px;
  right: -100px;
}

/* Main container */
.login-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 40px 30px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

  text-align: center;
  color: #fff;
  z-index: 1;
}

/* Logo */
.logo {
  border-radius: 50%;
  width: 150px;
  height: auto;
  object-fit: cover;

  display: block;
  margin: 0 auto 15px;

  background: #ccc; /* fallback so you SEE something */
  border: 2px solid rgba(255,255,255,0.6);
}

/* Title */
.login-container h2 {
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Input group */
.input-group {
  margin-bottom: 18px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;

  background: rgba(255, 255, 255, 0.12);
  color: #fff;

  transition: 0.3s;
}

/* Input focus */
.input-group input:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px #00c6ff;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  margin-top: 10px;

  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;

  transition: 0.3s;
}

/* Button hover */
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 198, 255, 0.4);
}

/* Message (error/success) */
.message {
  margin-bottom: 15px;
  font-size: 14px;
  color: #ff6b6b;
}

/* Links */
.extra-links {
  margin-top: 15px;
  font-size: 14px;
}

.extra-links a {
  color: #00c6ff;
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}