/* Reset and Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Full Page Styling */
html,
body {
  height: 100%;
  background: linear-gradient(135deg, #6d5bba, #8d58bf, #fc5c7d);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Centered Form Container */
.container {
  width: 350px;
  padding: 40px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  text-align: center;
}

/* Title Styling */
h1 {
  margin-bottom: 20px;
  font-size: 2em;
  color: #fff;
}

/* Input Fields */
input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: none;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  color: #333;
  outline: none;
  transition: all 0.3s ease-in-out;
}

input:focus {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Buttons */
button {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border: none;
  border-radius: 25px;
  background: linear-gradient(45deg, #ff6b6b, #f94d6b);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Logout Form Button - Styling Slightly Different */
form[action="/logout"] button {
  background: linear-gradient(45deg, #6bc1ff, #6ba9ff);
}

button:active {
  transform: scale(0.95);
}

/* Mobile Responsive Styling */
@media (max-width: 400px) {
  .container {
    width: 90%;
  }
}
