body {
    background-color: #f0f4f8;
}

#wrap {
    height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#wrap > section {
    width: 400px;
    margin: 0 auto;
    padding: 25px;
    background-color: rgba(238, 233, 233, 0.4);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

/* 상단 제목, 설명*/
#wrap > section > h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/*입력창들*/
#form > div > input,
#emailIds > select, 
#passwords > div > input {
    background-color: #fff;
    font-size: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #444;
    font-weight: 600;
}

/*아이디, 이메일 부분*/
#userIds {
    display: flex;
    flex-direction: column;
}

#emailIds {
    margin-top: 15px;
}

#emailIds > label {
    display: block;
    margin-bottom: 5px;
}

#emailIds > input {
    width: 40%;
}

#emailIds > select {
    width: 45%;
}

/*버튼들*/
#form > button,
#certifications > button,
#passwords > button {
    /*초기화*/
    padding: 0;
    border: none;
    background: none;

    display: block;
    margin-left: auto;
    margin-top: 10px;

    padding: 10px 15px;
    background-color: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition-duration: 100ms;

    opacity: 0.4;
    pointer-events: none;
    cursor: pointer;
}

#form > button.on,
#certifications > button.on,
#passwords > button.on {
    background-color: #2563eb;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
    pointer-events: auto;
}

/*인증번호 입력 영역*/
#certifications {
    margin-top: 15px;
}

#certifications > input {
    width: 60%;
    margin-right: 5px;
    display: inline-block;
}

#certifications > button {
    display: inline-block;
}

/*비밀번호 영역*/
#passwords > div {
    margin: 10px auto;
}

#pwMsg {
    display: none;
    font-size: 12px;
    margin: 5px 0 0;
}

.error {
    display: inline;
    color: red;
}

.okay {
    display: inline;
    color: green;
}

#passwords.hidden {
    display: none;
}

#passwords > button > a {
    text-decoration: none;
    color: #fff;
}