/* login.css */

@import url('https://fonts.googleapis.com/css2?family=Commissioner&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Commissioner', sans-serif;
  background: linear-gradient(to bottom right, #bbb, #eee);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #333;
}

.login-container {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #6c5ce7;
}

.login-container input[type="text"],
.login-container input[type="password"],
.forgot-modal input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  box-sizing: border-box;
  font-family: 'Commissioner', sans-serif;
}

.login-container button,
.forgot-modal button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #a29bfe, #6c5ce7);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Commissioner', sans-serif;
}

.login-container button:hover,
.forgot-modal button:hover {
  background: linear-gradient(to right, #6c5ce7, #a29bfe);
}

.forgot-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #6c5ce7;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.forgot-modal {
  background: #fff;
  color: #333;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  font-family: 'Commissioner', sans-serif;
}

.forgot-modal h3 {
  margin-bottom: 15px;
  color: #6c5ce7;
}

.forgot-modal .close-btn {
  background: none;
  border: none;
  font-size: 22px;
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
  color: #aaa;
}

@media (max-width: 480px) {
  .login-container {
    padding: 20px;
  }

  .login-container h2 {
    font-size: 20px;
  }
}

