body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}

.form-wrapper {
    max-width: 800px;
    margin: 32px auto;
    padding: 16px;
    background-color: white;
    border-radius: 8px;

}

header .logo {
    width: 200px;
    margin-bottom: 8px;
}

header {
    background-color: transparent;
    color: #1B75BB;
    text-align: center;
    margin-bottom: 16px;
}

footer {
    background-color: #1D264733;
    text-align: center;
    padding: 16px;
    font-size: 14px;
    margin-top: 32px;
	border-radius: 6px
}

footer a {
    color: #1B75BB;
    text-decoration: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

fieldset {
    border: 1px solid #1D264733;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

legend {
    font-weight: bold;
    color: #1B75BB;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #1D264733;
    border-radius: 4px;
    background-color: #ffffff;
}

textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  resize: vertical;
  overflow: hidden;
  min-height: 3em;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #56A8DD;
    background-color: #ffffff;
}

.button-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.button-group label {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid #1D264733;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.button-group input[type="radio"] {
    display: none;
}

.button-group input[type="radio"]:checked + label {
    background-color: #ffffff;
    color: black;
	border: 2px solid #56A8DD;
}

button[type="submit"] {
    padding: 16px;
    font-size: 20px;
    background-color: #1B75BB;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background-color: #56A8DD;
}

.button {
    padding: 16px;
	text-decoration: none;
	display: inline-block;
    font-size: 20px;
    background-color: #1B75BB;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2em;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.row > div {
    min-width: 0;
    flex: 1;
}

.row.street-split > div:first-child {
    flex: 7;
}

.row.street-split > div:last-child {
    flex: 3;
}

#card-info {
  display: none;
}

#twint-hint {
display: none;
margin-top: 1em;
}

.form-message {
  color: red;
  font-size: 0.9em;
  margin-top: 0.3rem;
}

label.required::after {
  content: " *";
  color: red;
}

.footer-fix {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1em;
  text-align: center;
}

.QR {
  max-width: 200px;
  margin-top: 1rem;
}

.aligncenter {
  text-align: center;
}

@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
    }

    .logo {
        width: 80px;
    }

    .row {
        flex-direction: column;
    }

    .form-wrapper {
        margin: 16px;
    }
}
