/* form ------------------------------------------------------------------------------------------------------------- */
main{
    padding-top: 40px;
}

.form-content,
.form-body{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.form-content{
    margin: 0 auto;
    width: 90%;
    max-width: 600px;
    min-width: 300px;
    box-sizing: border-box;
    padding: 30px 3%;
    background-color: #ffffff;
    border-radius: 10px;
}

.form-content h1,
.form-content h2 {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #854bff;
}

.form-content h1 .icon,
.form-content h2 .icon{
    font-size: 18px;
    margin-right: 8px;
}

.form-content h1{
    font-size: 24px;
    line-height: 24px;
}

.form-content h1 .icon {
    padding: 3px 0;
    line-height: 24px;
}

.form-content h2{
    font-size: 22px;
    line-height: 22px;
}

.form-content h2 .icon {
    padding: 2px 0;
    line-height: 22px;
}

/* form-body -------------------------------------------------------------------------------------------------------- */
.form-body{
    width:100%;
    margin: 18px auto;
}

.form-body>label{
    width: 100%;
    height: 50px;
    position: relative;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
}

.form-body>label span.icon{
    display: block;
    width: 40px;
    line-height: 50px;
    font-size: 16px;
    color: #aaaaaa;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.form-body>label input{
    width: 100%;
    height: 40px;
    border: 1px #dddddd solid;
    border-radius: 6px;
    font-size: 16px;
    color: #8b5dff;
    padding: 7px 7px 7px 40px;
    box-sizing: border-box;
}

.form-body>label.multiple {
    gap: 10px;
    flex-wrap: nowrap;
}

.form-body>label .check-input,
#send-code-btn,
#send-code-text{
    width: 100%;
}

.form-body button,
#send-code-btn,
#send-code-text {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    line-height: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}

.form-body button,
#send-code-btn {
    background-color: #854bff;
    color: #ffffff;
}

.form-body button:hover,
#send-code-btn:hover{
    background-color: #9663ff;
}

.form-body button .icon{
    font-size: 12px;
    margin-right: 8px;
}

#send-code-btn,
#send-code-text {
    height: 40px;
    font-size: 16px;
}

#send-code-text{
    background-color: #f9f9f9;
    color: #888888;
    display: none;
}

.form-body button.submit{
    height: 50px;
    font-size: 18px;
    margin-top: 12px;
}

.form-body .agree,
.form-body .agree>label{
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
}

.form-body .agree{
    box-sizing: border-box;
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
    padding: 6px 0;
    border-radius: 8px;
    color: #888888;
    flex-wrap: wrap;
}

.form-body .agree span,
.form-body .agree a{
    line-height: 16px;
}

.form-body .agree a{
    color: #00a6ff;
}

.form-body .agree a:hover{
    color: #854bff;
}

.form-body .agree input{
    margin: 0 5px 0 0;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    border: 1px #cccccc solid;
}



/* user-links ------------------------------------------------------------------------------------------------------- */
.user-links,
.user-links a{
    display: flex;
    flex-flow: row;
    align-items: center;
}

.user-links{
    box-sizing: border-box;
    border-top: 1px #dddddd solid;
    width: 100%;
    padding: 20px 20% 0 20%;
    justify-content: space-around;
    gap: 30px;
}

.user-links a{
    flex-grow: 1;
    font-size: 14px;
    line-height: 1em;
    color: #999999;
    justify-content: center;
}

.user-links a:hover,
.user-links a:hover .icon{
    color: #854bff;
}

.user-links a .icon{
    font-size: 12px;
    margin-right: 5px;
    color: #cccccc;
}

/* error ------------------------------------------------------------------------------------------------------------ */
.error-message{
    display: none;
    box-sizing: border-box;
    padding: 5px 5px;
    width: 100%;
    font-size: 12px;
    line-height: 12px;
    color: #ff6464;
    margin-bottom: 5px;
    text-align: left;
}

.error-message .icon{
    font-size: 10px;
    margin-right: 5px;
}

.error-submit{
    width: 100%;
    background-color: #fff7f7;
    box-sizing: border-box;
    padding: 6px;
    border-radius: 6px;
    margin-top: 6px;
}

/* logon-ok --------------------------------------------------------------------------------------------------------- */
#return-ok {
    display: none;
}

.form-content .next-btn {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0 auto;
    width: 150px;
    height: 30px;
    font-size: 14px;
    line-height: 1em;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
}

.form-content .next-btn {
    background-color: #854bff;
    color: #ffffff;
}

.form-content .next-btn:hover {
    background-color: #9663ff;
}

.form-content .next-btn .icon{
    font-size: 12px;
    margin-right: 5px;
}
