/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

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

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../images/login/login.png") no-repeat center center/cover;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.container {
  width: 380px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px 35px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
}

/* Logo Section */
.logo {
  text-align: center;
  margin-bottom: 15px;
}

.logo img {
  width: 55px;
}

.logo h2 {
  color: #a8ff60;
  font-size: 22px;
  margin-top: 8px;
}

/* Form Info */
.form-info {
  font-size: 14px;
  text-align: center;
  margin-bottom: 25px;
  color: #ddd;
}

/* Form Group */
.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 14px;
}

.form-group input::placeholder {
  color: #777;
}

.error-message {
  font-size: 12px;
  color: #ff4d4d;
  margin-top: 4px;
  display: block;
}

/* Password Toggle */
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #444;
}

/* Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: 5px 0 20px 0;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #ccc;
}

.form-options .forgot-password {
  color: #a8ff60;
  text-decoration: none;
  transition: 0.3s ease;
}

.form-options .forgot-password:hover {
  text-decoration: underline;
}

/* Login Button */
.btn {
  width: 100%;
  padding: 12px;
  background: #a8ff60;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: #8be04d;
}

/* Success Message */
.success-message {
  margin-top: 12px;
  font-size: 13px;
  color: #00ff99;
  text-align: center;
}

/* Signup Link */
.signup {
  margin-top: 18px;
  font-size: 14px;
  text-align: center;
  color: #ddd;
}

.signup a {
  color: #a8ff60;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.signup a:hover {
  text-decoration: underline;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 30px 25px;
  }

  .logo img {
    width: 50px;
  }

  .logo h2 {
    font-size: 20px;
  }

  .form-info {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .container {
    width: 100%;
    padding: 25px 20px;
    border-radius: 14px;
  }

  .logo img {
    width: 45px;
  }

  .logo h2 {
    font-size: 18px;
  }

  .form-info {
    font-size: 12px;
  }

  .btn {
    padding: 10px;
    font-size: 14px;
  }

  .signup {
    font-size: 13px;
  }
}