
/* Ex-04 */

.wrap-register {
  display: flex;
  max-width: 900px;
  margin: 36px auto;
  box-shadow: 0 0 10px #00000020;
}

.wrap-register .left-side {
  flex: 1;
  background-color: #fff;
  border-radius: 10px;
}

.wrap-register .left-side img {
  width: 100%;
  border-radius: 10px;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wrap-register .right-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-register {
  width: 100%;
  background-color: #fff;
  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;
}
