/* ================= 基础样式 ================= */

body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
    background:linear-gradient(135deg,#eef2f7,#f8fafc);
    margin:0;
    padding:30px 15px;
}

.box{
    max-width:520px;
    margin:auto;
    background:#fff;
    padding:32px 28px;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.logo{
    width:95px;
    height:95px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    margin:0 auto 18px;
    box-shadow:0 4px 14px rgba(0,0,0,.15);
}

h2{
    text-align:center;
    margin-bottom:26px;
}


/* ================= 表单 ================= */

label{
    font-size:14px;
    font-weight:600;
    display:block;
    margin-top:14px;
}

.req{
    color:#ff3b30;
}

input,
select,
textarea{
    width:100%;
    padding:11px 12px;
    margin-top:6px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:14px;
    background:#fafafa;
    transition:.25s;
    box-sizing:border-box;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#1677ff;
    background:#fff;
    outline:none;
    box-shadow:0 0 0 2px rgba(22,119,255,.12);
}

textarea{
    resize:vertical;
}


/* ================= 按钮 ================= */

button{
    width:100%;
    padding:13px;
    margin-top:28px;
    background:#1677ff;
    color:#fff;
    border:none;
    border-radius:14px;
    font-size:15px;
    font-weight:bold;
    cursor:pointer;
}

button:hover{
    opacity:.9;
}


/* ================= 行为验证码 ================= */

#captchaBox{
    margin-top:10px;
}

#captchaBg{
    position:relative;
    width:100%;
    height:42px;
    background:#f1f3f5;
    border-radius:12px;
    overflow:hidden;
    user-select:none;
}

#captchaText{
    position:absolute;
    width:100%;
    height:42px;
    line-height:42px;
    text-align:center;
    font-size:13px;
    color:#999;
    z-index:1;
}

#captchaBar{
    position:absolute;
    left:0;
    top:0;
    height:42px;
    width:0;
    background:#52c41a;
    z-index:0;
    transition:.2s;
}

#captchaBtn{
    position:absolute;
    left:0;
    top:0;
    width:42px;
    height:42px;
    background:#1677ff;
    color:#fff;
    text-align:center;
    line-height:42px;
    border-radius:12px;
    cursor:pointer;
    z-index:2;
    font-weight:bold;
}


/* ================= 版权 ================= */

.copyright{
    position:fixed;
    bottom:10px;
    left:0;
    width:100%;
    text-align:center;
    font-size:13px;
    color:#999;
    z-index:10;
}

.copyright-link{
    color:inherit;
    text-decoration:none;
    cursor:default;
}
