body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url("../img/fundo.png") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.container {
  max-width: 560px;
  width: min(560px, calc(100% - 32px));
  margin: 0;
  padding: 40px 48px 36px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container h2 {
  width: min(100%, 420px);
  margin-bottom: 16px;
  color: #172126;
}

.login-link {
  width: min(100%, 420px);
  font-size: 14px;
  margin-bottom: 20px;
  color: #475569;
}

.login-link a,
form a {
  color: #0F726C;
  font-weight: 600;
  text-underline-offset: 2px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 420px);
  margin: 8px auto 0;
  text-align: left;
}

label {
  display: block;
  width: 100%;
  margin-bottom: -4px;
  color: #172126;
  font-size: 14px;
  font-weight: 600;
}

form a {
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible {
  outline: none;
  border-color: #0F726C;
  box-shadow: 0 0 0 4px rgba(15, 114, 108, 0.18);
}

button {
  background: linear-gradient(to right, #0F726C, #0F726C);
  border: none;
  color: white;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #0F726C;
  outline-offset: 3px;
}

button:active {
  transform: translateY(1px);
}

@media (max-width: 480px) {
  .container {
    padding: 28px 22px;
    width: calc(100% - 24px);
    border-radius: 14px;
  }

  input {
    padding: 10px;
  }

  button {
    padding: 10px;
  }
}
