* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("images/background100.jpg");
  background-position: center;
  background-size: cover;
}

.login-page {
  width: min(100% - 32px, 420px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.heading {
  color: #fff;
  font-size: 36px;
  font-style: italic;
  text-align: center;
}

.login-form {
  width: 100%;
  padding: 24px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

label {
  display: block;
  margin-bottom: 6px;
  color: rgb(220, 220, 220);
  font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

fieldset {
  border: 0;
}

legend {
  margin-bottom: 8px;
  color: rgb(220, 220, 220);
  font-weight: bold;
}

.inline-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.inline-option input {
  width: auto;
}

.terms {
  margin: 4px 0 18px;
}

button {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 4px;
  color: white;
  background-color: #4caf50;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

button:hover {
  background-color: #45a049;
}

@media (max-width: 480px) {
  .heading {
    font-size: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
