html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
}

body.signin {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

.signinpanel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.signinpanel .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    align-items: stretch;
}

.signinpanel .col-sm-7,
.signinpanel .col-sm-5 {
    padding: 0;
}

.signinpanel .col-sm-7 {
    display: flex;
    width: 50%;
    background: linear-gradient(135deg, #1ab394 0%, #18a689 100%);
    border-radius: 12px 0 0 12px;
    padding: 60px 50px;
    align-items: center;
    justify-content: center;
}

.signinpanel .col-sm-5 {
    width: 50%;
    background: #fff;
    border-radius: 0 12px 12px 0;
    padding: 0;
}

.signin-info {
    color: #fff;
}

.logopanel {
    text-align: center;
    margin-bottom: 30px;
}

.logopanel h1 {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 2px;
}

.signin-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.signin-info ul li {
    padding: 10px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 12px;
}

.signin-info ul li i {
    color: #fff;
    font-size: 20px;
}

.signin-info {
    color: #fff;
}

.signinpanel form {
    background: #fff;
    border-radius: 0 12px 12px 0;
    padding: 50px 40px;
    box-shadow: none;
}

.signinpanel form > h3 {
    color: #333;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.signinpanel .form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 12px 15px;
    font-size: 15px;
    color: #333;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    background: #fafbfc;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    -webkit-text-fill-color: #333;
}

.signinpanel .form-control:focus {
    border-color: #1ab394;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 179, 148, 0.1);
    outline: none;
    -webkit-text-fill-color: #333;
}

.signinpanel .form-control:-webkit-autofill,
.signinpanel .form-control:-webkit-autofill:hover,
.signinpanel .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #333;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

.signinpanel .form-control::placeholder {
    color: #999;
    opacity: 1;
}

.signinpanel .form-control::-webkit-input-placeholder {
    color: #999;
}

.signinpanel .form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.signinpanel .uname {
    background-image: none;
    padding-left: 45px;
    position: relative;
}

.signinpanel .pword {
    background-image: none;
    padding-left: 45px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .form-control {
    padding-left: 32px;
}

.btn-login {
    display: block;
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1ab394 0%, #18a689 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 2px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #18a689 0%, #17987e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 179, 148, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.verify-row {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.verify-row .input-wrapper {
    flex: 1;
}

.verify-row .input-wrapper .form-control {
    margin-bottom: 0;
    height: 44px;
}

.verify-row .verify-img {
    flex-shrink: 0;
}

.verify-row .verify-img img,
.verify-row .verify-img a {
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
}

.signup-footer {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

.signup-footer .pull-left {
    float: none !important;
}

/* 动画效果 */
.signinpanel form {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    body.signin {
        padding: 15px;
        align-items: center;
    }
    
    .signinpanel {
        max-width: 420px;
    }
    
    .signinpanel .row {
        flex-direction: column;
    }
    
    .signinpanel .col-sm-7 {
        display: none;
    }
    
    .signinpanel .col-sm-5 {
        width: 100%;
        border-radius: 12px;
    }
    
    .signinpanel form {
        padding: 30px 25px;
        border-radius: 12px;
    }
    
    .signinpanel form > h3 {
        font-size: 20px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .signinpanel .form-control {
        height: 46px;
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .btn-login {
        height: 46px;
        font-size: 15px;
    }
    
    .verify-row {
        gap: 10px;
    }
    
    .verify-row .verify-img img,
    .verify-row .verify-img a {
        height: 46px;
    }
    
    .signup-footer {
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    body.signin {
        padding-top: 30px;
    }
    
    .signinpanel form {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .signinpanel form > h3 {
        font-size: 18px;
    }
    
    .signinpanel .form-control {
        height: 44px;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .btn-login {
        height: 44px;
        font-size: 14px;
    }
}
