body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center bottom;
}

.container {
  max-width: 540px;
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

.subtitle {
  color: #e2e8f0;
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.6;
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  color: #f7fafc;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgb(79 45 58 / 92%);
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s;
  background: rgb(44 26 43 / 92%);
  color: #f7fafc;
}

input[type="email"]::placeholder {
  color: #a0aec0;
}

input[type="email"]:focus {
  outline: none;
  border-color: #cbd5e0;
  background: rgb(72 45 68 / 80%);
  box-shadow: 0 0 0 3px rgba(203, 213, 224, 0.1);
}

.checkbox-group {
  margin-bottom: 28px;
}

.checkbox-group-content {
  display: flex;
  align-items: flex-start;
}

input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #e2e8f0;
}

.checkbox-label {
  font-size: 13px;
  color: #cbd5e0;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label a {
  transition: color 0.2s;
}

button {
  width: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  color: #1a202c;
  border: none;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(226, 232, 240, 0.3);
  background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
}

button:active {
  transform: translateY(0);
}

.success-message {
  display: none;
  background: linear-gradient(135deg, #2f855a 0%, #38a169 100%);
  color: white;
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

.success-message.show {
  display: block;
}

.error-message {
  display: none;
  background: linear-gradient(135deg, #742a2a 0%, #9b2c2c 100%);
  color: white;
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

.error-message.show {
  display: block;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  input[type="email"] {
    padding: 12px 14px;
    font-size: 14px;
  }

  .checkbox-group {
    margin-bottom: 24px;
  }

  input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }

  .checkbox-label {
    font-size: 12px;
  }

  button {
    padding: 14px 20px;
    font-size: 14px;
    letter-spacing: 0.3px;
  }

  .success-message {
    padding: 12px 14px;
    font-size: 14px;
    margin-top: 16px;
  }
}

.field-error {
  color: #fc8181;
  font-size: 13px;
  margin-top: 6px;
  min-height: 0;
}

input[data-dirty]:invalid {
  border-color: #fc8181;
}

input[type="checkbox"][data-dirty]:invalid + .checkbox-label {
  color: #fc8181;
}
