.form-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.form-content {
    margin: 30px;
    width: 500px;
}

.form {
    background-color: white;
    width: 100%;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-sizing: border-box;
}

.form label {
    display:block;
    margin: 12px 0 6px;
    text-align: left;
    color: #222;
}

.input-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.input-wrap select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    background-color: #fff;
    color: #888;
    appearance: none;
    cursor: pointer;
}

.input-wrap select:valid, input[type="date"]:valid {
    color: #222;
}

.input-row .field {
  flex: 1 1 0;
  min-width: 0;
}

.input-row .input-wrap,
.input-row .input-wrap input {
  width: 100%;
  box-sizing: border-box;
}

.input-wrap {
  position: relative;
  width: 100%;
}

.input-wrap input {
  width: 100%;
  padding: 12px 48px 12px 12px;
  font-size: 16px;
  border-radius: 10px;
  color: #222;
  border: 1px solid #ddd;
  box-sizing: border-box;
  letter-spacing: 0.5px;
}

.submit-wrap button {
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    margin: 12px 0;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  height: 16px;
  line-height: 1;
  color: #222;
  margin: 0;
  padding: 0;
}

.forgot-link {
  text-decoration: none;
  white-space: nowrap;
  align-self: center;
  color: #222;
  text-decoration: underline;
  text-decoration-color: #ffd700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.back {
  color: #222;
  text-decoration: underline;
    text-decoration-color: #ffd700;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.register, .login, .danger {
    border-radius: 15px;
    padding: 12px;
    box-sizing: border-box;
    font-weight: 600;
}

.register, .login {
  border: 2px solid #ddd;
}

.register .button, .login .button, .danger .button {
    display: inline-block;
    width: 100%;;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 16px;
}