/* General body styling with a linear gradient background */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #007bff, #5a6268);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: #333;
}

/* Container for the main content */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Login section styling */
.login {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
  max-width: 400px;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading styling */
.login h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Input field styling */
.login input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.login input[type="text"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
  outline: none;
}

/* Submit buttons styling */
.login .submit {
  margin-top: 20px;
}

.login input[type="submit"],
.login input[type="button"] {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.login input[type="submit"] {
  background-color: #007bff;
  background: linear-gradient(45deg, #007bff, #0056b3);
}

.login input[type="submit"]:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.login input[type="button"] {
  background-color: #6c757d;
  background: linear-gradient(45deg, #6c757d, #5a6268);
  margin-top: 10px;
}

.login input[type="button"]:hover {
  background: linear-gradient(45deg, #5a6268, #6c757d);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Small text styling */
.info-text {
  font-size: 14px;
  color: #777;
  margin-top: 25px;
}

/* --- Responsive Design --- */
@media (max-width: 500px) {
  .login {
    padding: 25px;
    margin: 10px;
  }

  .login h1 {
    font-size: 24px;
  }
  
  .login input[type="submit"],
  .login input[type="button"] {
    font-size: 14px;
    padding: 12px;
  }
}
