/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Layout */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
  color: #0d1117;
  transition: background-color 0.4s, color 0.4s;
}

body.dark-mode {
  background: linear-gradient(135deg, #0d1117, #1a1f26);
  color: #f4f4f4;
}

/* Container */
.container {
  width: 80%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.container h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

.container p {
  margin-top: 15px;
  font-size: 14px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #0d1117;
  outline: none;
  transition: border 0.3s;
}

input:focus {
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

button {
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s, box-shadow 0.3s;
}

button:hover {
  background: linear-gradient(45deg, #0056b3, #003f7f);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5);
}

.error {
  color: #ff4d4d;
  font-weight: bold;
  margin-bottom: 15px;
}

.success {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 15px;
}

@media (max-width: 600px) {
  .container {
    width: 90%;
    padding: 20px;
  }

  input {
    font-size: 14px;
  }

  button {
    width: 100%;
  }
}
