body {
  margin: 0;
  padding: 0;
  background-color: #c09ca3;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  padding: 20px;
}

.login-container {
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-container img {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 100%;
  height: auto;
}

.form input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #c09ca3;
  font-size: 16px;
}

.form button {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  color: black;
  background-color: #9c4a5c;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
}

.form button:hover {
  color: white;
}

.sign-up {
  text-decoration: none;
  color: rgb(0, 174, 255);
  font-weight: 700;
  display: block;
  margin-top: 15px;
}

.messagediv {
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
  color: white;
  opacity: 0;
  background-color: #3d29b1;
  font-size: 1rem;
  transition: opacity 0.3s ease-in-out;
}

/* 🔧 Mobile responsiveness */
@media screen and (max-width: 480px) {
  body {
    padding: 10px;
  }

  .login-container {
    padding: 15px;
    border-radius: 15px;
    box-shadow: none;
  }

  .form input {
    font-size: 14px;
  }

  .form button {
    font-size: 14px;
    height: 38px;
  }

  .sign-up {
    font-size: 14px;
  }

  .messagediv {
    font-size: 0.9rem;
  }
}
