/* Reset basic styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo and header */
header {
  text-align: center;
  padding: 30px 20px 10px;
}

#logo {
  max-width: 120px;
  margin-bottom: 10px;
}

header h1 {
  margin: 5px 0;
  font-size: 1.8rem;
  color: #222;
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #007bff;
}

.back-link:hover {
  text-decoration: underline;
}

/* Main content */
main {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 25px 30px;
  margin: 0 auto 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Input fields */
input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #218838;
}

/* Text below buttons */
p {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 12px;
}

p a {
  color: #007bff;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}

/* Message */
#msg {
  text-align: center;
  color: red;
  margin-top: 10px;
  font-weight: bold;
}
/* Responsive adjustments */
@media (max-width: 600px) {
  main {
    padding: 20px;
    margin: 20px;
    box-shadow: none;
    border-radius: 0;
  }

  header h1 {
    font-size: 1.4rem;
  }

  input,
  button {
    padding: 10px;
    font-size: 0.95rem;
  }

  button {
    margin-top: 5px;
  }

  p {
    font-size: 0.9rem;
  }
}
