header a {
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 16px;
}

header h2 {
    width: 100%;
    text-align: center;
    color: #333;
    font-size: 18px;
}

.reset-form {
    padding: 24px 24px 40px;
}

.reset-form label {
    display: block;
    padding-bottom: 20px;
}

.reset-form label strong {
    padding: 0 0 8px 4px;
    color: #4E5968;
    font-size: 15px;
    font-weight: 600;
    display: block;
    line-height: 22.5px;
}

.reset-form label span {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    position: relative;
}

.reset-form label span input[type=text],
.reset-form label span input[type=password] {
    border: 1px solid #e0e0e0;
    height: 52px;
    line-height: 52px;
    padding: 0 16px;
    box-sizing: border-box;
    border-radius: 12px;
    width: 100%;
    color: #333;
    font-size: 15px;
}

.reset-form label span input[type=text]:focus,
.reset-form label span input[type=password]:focus {
    border-color: #cb3534;
    outline: none;
    /* 브라우저 기본 파란 외곽선 제거 */
}

.reset-form label span input[type=text]::placeholder,
.reset-form label span input[type=password]::placeholder {
    color: #e0e0e0;
}

.reset-form label span small {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    padding: 0 16px;
    height: 52px;
    white-space: nowrap;
}

.reset-form label span .btn-certi, 
.reset-form label span .btn-init {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    background-color: #cb3534;
    border-radius: 12px;
    text-align: center;
    padding: 0 16px;
    height: 52px;
    white-space: nowrap;
    cursor: pointer;
}

.reset-form label.send {
    padding-bottom: 0;
}

.reset-form label.auth {
    padding-bottom: 0;
}

.reset-form label.auth>span:nth-of-type(1) {
    display: flex;
    margin-top: 8px;
    position: relative;
}

.reset-form label.auth>span:nth-of-type(1) .time {
    position: absolute;
    color: #ff5d5d;
    font-size: 14px;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}

.reset-form label.auth>span:nth-of-type(2) {
    display: block;
    color: #ff5d5d;
    font-size: 13px;
    line-height: 25px;
    font-weight: normal;
    padding: 6px 0 0 4px;
}

.reset-form label.auth>span:nth-of-type(3) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.reset-form label.auth>span:nth-of-type(3) button {
    width: 100%;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

.reset-form label.auth>span:nth-of-type(3) button:nth-of-type(1) {
    border: 1px solid #e0e0e0;
    color: #666;
}

.reset-form label.auth>span:nth-of-type(3) button:nth-of-type(2) {
    border: 1px solid #e0e0e0;
    color: #fff;
    background-color: #cb3534;
}

.reset-form .pwd1 {
    padding-top: 16px;
}

.reset-form label span .show-pwd {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: rgb(153, 153, 153);
    font-size: 14px;
    border-radius: 12px;
    text-align: center;
    padding: 0 16px;
    height: 52px;
    white-space: nowrap;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.reset-form label ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 0 0 0;
}

.reset-form label ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.reset-form label ul li.active {
    color: #cb3534;
    font-weight: 700;
}

.reset-form>button[type=submit] {
    width: 100%;
    height: 56px;
    line-height: 56px;
    color: #fff;
    border-radius: 12px;
    background-color: rgb(203, 53, 52);
    font-size: 18px;
    cursor: pointer;
    margin-top: 24px;
}

.reset-form>button[type=submit].inactive {
    opacity: 0.5;
}

.error {
    display: block;
    font-size: 14px;
    color: #cb3534;
    padding: 4px 2px;
}
