/* General Page Setup */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/* Header container */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: 10px 80px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

/* Logo section */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  border-radius: 8px;
}

.logo h1 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
}

/* Navigation menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f36aff;
  text-shadow: 0 0 8px #f36aff;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 30px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("login.jpg") no-repeat center center/cover;  /* 🔹 Change this to your image name */
  color: #fff;
  overflow: hidden;
}

/* Dark overlay for contrast */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* Login Container */
.login-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(180, 0, 255, 0.2);
  border-radius: 20px;
  padding: 60px;
  backdrop-filter: blur(10px);
  animation: fadeIn 2s ease;
}

/* Left Section */
.login-left {
  flex: 1;
  padding-right: 30px;
}

.login-left h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px #b66bff;
  margin-bottom: 10px;
  animation: slideIn 2s ease;
}

.login-left p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
  animation: fadeIn 3s ease;
}

/* Google Button */
.google-btn {
  background: none;
  border: 2px solid #b66bff;
  color: white;
  font-size: 16px;
  border-radius: 12px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-btn:hover {
  background: #b66bff;
  color: #fff;
  box-shadow: 0 0 20px #b66bff;
}

/* Sign Up Text */
.signup-text {
  margin-top: 25px;
  font-size: 14px;
}

.signup-text a {
  color: #b66bff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.signup-text a:hover {
  text-shadow: 0 0 10px #b66bff;
}

/* Right Section */
.login-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 40px;
  box-shadow: inset 0 0 10px rgba(180, 0, 255, 0.2);
}

label {
  font-size: 14px;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  margin-bottom: 20px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
}

input::placeholder {
  color: #aaa;
}
.login-box {
      background: white;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
      text-align: center;
      width: 320px;
    }
    input {
      width: 90%;
      padding: 10px;
      margin: 10px 0;
      border-radius: 8px;
      border: 1px solid #ccc;
      outline: none;
    }
    button {
      width: 100%;
      padding: 10px;
      background: #6a11cb;
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-size: 16px;
    }
    button:hover {
      background: #2575fc;
    }
    .message {
      margin-top: 10px;
      font-weight: bold;
      font-size: 15px;
    }
    .error {
      color: red;
    }
    .success {
      color: green;
    }
 

.login-btn {
  background: #b66bff;
  border: none;
  color: white;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
}

.login-btn:hover {
  background: #9a48f2;
  box-shadow: 0 0 25px #b66bff;
}

/* Footer */
footer {
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
  text-align: center;
  animation: fadeIn 4s ease;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .login-container {
    flex-direction: column;
    padding: 30px;
  }

  .login-right {
    margin-top: 20px;
    width: 100%;
  }
}
/* 🌙 Responsive Navbar Design */
@media (max-width: 900px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: relative;
  }

  /* Hide normal menu */
  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    border-radius: 10px;
    padding: 15px 0;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease-in-out;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }

  nav ul li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
  }

  /* Hamburger icon */
  .menu-toggle {
    display: block;
    font-size: 25px;
    cursor: pointer;
    color: #fff;
  }
}

/* Hide hamburger for desktop */
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }

  nav ul {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
  }
}
