
/** common **/

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder,
::placeholder{
    color: #fff !important;
}

html{
    background-color: #424242;
    height:100%;
}
body{
    min-height:100vh;
    background-image: url('https://static.wikitory.com/img/auth/footer_wave1.png'), url('https://static.wikitory.com/img/auth/footer_wave2.png');
    background-repeat: no-repeat, no-repeat;
    background-position: bottom left, bottom right;
    background-size: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    background-color: #424242;
    flex-direction: column;
    color:#fff;
    font-family: '맑은 고딕','Malgun Gothic','나눔고딕','돋움','Dotum','굴림','Gulim','Apple SD Gothic Neo','sans-serif';
    margin:0;
}

/** input **/
input[type="text"], input[type="password"]{
    display: flex;
    width:100%;
    background-color:rgba(216, 216, 216, 0.34);
    padding:16px;
    border-radius:8px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border:1px solid transparent;
    outline-width: 0;
    color:#FFF;
    font-size:14px;
    margin-bottom:8px;
}
input::placeholder {
    color: #FFF;
}
input:focus{
    border: 1px solid #5ec6cc;
}

input[type="checkbox"]{
    display: none;
}

label{
    cursor: pointer;
    font-size:14px;
    margin-top: 8px;
}

input[type="checkbox"] + label{
    display:flex;
    align-items: center;
    margin-top: 26px;
}
input[type="checkbox"] + label::before {
    content:"";
    width:24px;
    height:24px;
    margin-right: 4px;
    background-image: url("https://static.wikitory.com/img/auth/check-off.png");
    background-size: 24px 24px;
}
input[type="checkbox"]:checked + label::before {
    content:"";
    width:24px;
    height:24px;
    margin-right: 4px;
    background-image: url("https://static.wikitory.com/img/auth/check-on.png");
    background-size: 24px 24px;
}

/** button **/
button{
    cursor: pointer;
    outline: none;
}
.btn-group{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btn{
    width:100%;
    height:40px;
    line-height: 40px;
    border-radius:4px;
    font-size:16px;
    border: 1px solid #DDD;
    background-color: #FFF;
    margin-top:8px;
    transition: all 0.2s;
}

.btn-transparent{
    color:#FFF;
    background-color: transparent;
    border:none;
    text-align: left;
    margin-top: 8px;
    display: inline-block;
    font-size:16px;
    font-weight:bold;
    height:32px;
}
.btn-transparent:hover{
    text-decoration: underline;
    color: #5ec6cc;
}

.btn.btn-large{
    height:50px;
    line-height: 50px;
    color:#FFF;
}
.btn.btn-large:hover{
    background-color: #441e73;
}

#submit-btn{
    margin: 60px 0 20px 0;
    background-color: #5ec6cc;
    border:none;
    color:#424242;
    font-weight:bold;
    font-size:18px;
    height:50px;
    border-radius:25px;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

#submit-btn:hover{
    background-color: #9f81eb;
}

.auth-form-wrapper{
    padding:20px;
    min-width:280px;
    max-width: 100vw;
    border-radius: 8px;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}

.auth-form-wrapper main {
    width: 360px;
    margin: auto;
    max-width: 90vw;
}

/** error **/
.error-msg{
    color:#f97095;
    margin-top:10px;
}

/** header **/
header{
    overflow: hidden;
    margin-bottom:25px;
}
header > img{
    width:466px;
    max-width: 90vw;
}

/** invite-box **/
.invite-box{
    display: flex;
    line-height: 24px;     
    margin-bottom: 24px; 
    color:#ccc;
}
.inviter-profile-img{
    width: 24px; 
    height: 24px; 
    border-radius: 50%;
    margin-right: 8px;
}
.invite-msg{
    margin: 0;
}
.inviter-name{
    color: #fff;
}
.invited-story-name{
    color: gold;
}

