/* General login page layout */
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 1rem;
}

.login-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  width: 180px;
  max-width: 80%;
  margin-bottom: 2rem;
}

.login-container input {
  display: block;
  width: 100%;
  padding: 1rem;
  margin: 0.8rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.login-container input:focus {
  outline: none;
  border-color: #6e8efb;
  box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.3);
}

.login-container input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.login-container button {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: #fff;
  border: none;
  padding: 1rem;
  width: 100%;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.login-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#loginMessage {
  margin: 1rem 0;
  min-height: 1.5rem;
  font-size: 0.9rem;
}

.extra-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Link-style buttons */
.link-btn {
  display: inline-block;
  margin: 0.3rem 0;
  background: none;
  border: none;
  color: #6e8efb;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.link-btn:hover {
  color: #a777e3;
  text-decoration: underline;
}

/* New Website Button */
.website-link {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.website-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.website-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Forgot Password Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: rgba(42, 47, 67, 0.95);
  backdrop-filter: blur(10px);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: white;
}

.modal-content p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.modal-content input {
  width: 100%;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
}

.modal-content input:focus {
  outline: none;
  border-color: #6e8efb;
  box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.3);
}

.modal-content button {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.close:hover {
  color: white;
}

#resetMessage {
  margin-top: 1rem;
  min-height: 1.2rem;
  font-size: 0.9rem;
}

/* Loader animation */
.loader {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #6e8efb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 10px auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .login-container {
    padding: 2rem 1.5rem;
  }

  .login-container input,
  .login-container button {
    font-size: 0.9rem;
    padding: 0.9rem;
  }

  .logo {
    width: 150px;
    margin-bottom: 1.5rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
  
  .website-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}
[file content end]