
/* Ex-02 */
.form-register {
  background-color: #fff;
  max-width: 400px;
  margin: 36px auto 0;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.form-register header {
  text-align: center;
  margin-bottom: 24px;
}

.form-register header h1 {
  font-size: 2.6rem;
  line-height: 2.6rem;
  font-weight: bold;
  text-transform: uppercase;
}

.form-register:focus-within {
  border: 1px solid #3e5cca80;
}

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

.form-label {
  display: block;
  font-size: 1.4rem;
  line-height: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-label.required::after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 1.4rem;
  line-height: 1.4rem;
  border: 1px solid #666;
  border-radius: 10px;
}

.form-input:focus {
  outline: none;
  border-color: #3e5cca;
  box-shadow: 0 0 5px #3e5cca80;
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: red;
}

.avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
}

.checkbox-group label {
  display: block;
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin-bottom: 12px;
}

.checkbox-group input {
  margin-right: 8px;
}

input[type="radio"],
input[type="checkbox"] {
  vertical-align: middle;
  margin-top: -2px;
  cursor: pointer;
}
.form-group label:not(.form-label) {
  margin-right: 20px;
  font-size: 1.4rem;
  line-height: 1.4rem;
}

.checkbox-group label,
.form-group label:not(.form-label) {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #3e5cca;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.form-submit:hover {
  background-color: #2d47a3;
}

.form-submit:active {
  background-color: #1a2c75;
}
