@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: url('bg.png') no-repeat center center fixed;
  background-size: cover;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
  border-radius: 12px;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #34495e;
  margin: 0;
  user-select: none;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

form {
  background: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.08);
  width: 100%;
  max-width: 360px;
  margin: 0 auto 2rem;
  transition: opacity 0.3s ease;
}

form h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: #2980b9;
  font-size: 1.75rem;
  text-align: center;
  user-select: none;
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #34495e;
  user-select: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.3rem;
  border-radius: 8px;
  border: 1.8px solid #bdc3c7;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  resize: vertical;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2980b9;
  box-shadow: 0 0 6px #2980b9aa;
}

button {
  margin-top: 1.8rem;
  width: 100%;
  padding: 0.75rem 0;
  background-color: #2980b9;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

button:hover,
button:focus