/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a, #444);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Login container */
form {
  background: #fff;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 0.5s ease-in-out;
}

/* Heading */
h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #111;
}

/* Input fields */
input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 6px rgba(0,123,255,0.3);
}

/* Button */
button {
  background: #111;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #333;
}

/* Bottom link */
p {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  form {
    padding: 30px 20px;
  }
  h2 {
    font-size: 22px;
  }
}


/* Reset (already included in login) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a, #444);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Shared form style */
form {
  background: #fff;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 0.5s ease-in-out;
}

/* Heading (works for login & register) */
h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #111;
}

/* Input fields */
input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 6px rgba(0,123,255,0.3);
}

/* Button */
button {
  background: #111;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #333;
}

/* Bottom text */
p {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  form {
    padding: 30px 20px;
  }
  h2 {
    font-size: 22px;
  }
}
