﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #279b8d 0%, #42b983 100%);
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 500px;
    height:500px;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

    .login-header h1 {
        color: #2d3748;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .login-header p {
        color: #718096;
    }

.input-group {
    margin-bottom: 25px;
    position: relative;
}

    .input-group i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #a0aec0;
    }

    .input-group input {
        width: 100%;
        padding: 12px 20px 12px 40px;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .input-group input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            outline: none;
        }

.options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #4a5568;
}

    .remember-me input {
        margin-right: 8px;
    }

.forgot-password a {
    color: #667eea;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        background: #764ba2;
        transform: translateY(-2px);
    }

@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 30px;
    }
}

.ops {
    line-height: 20px;
    margin-top: 20px;
    font-size: 0px;
}

    .ops img, span, a {
        display: inline-block;
        vertical-align: middle;
        font-size: 14px; /* 恢复文字大小 */
    }

.login-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

.login-methods {
    text-align: center;
    margin-top: 20px;
}

.wechat-login {
    color: #666;
    cursor: pointer;
}

    .wechat-login:hover {
        color: #09bb07;
    }

.forgot-password {
    text-align: right;
    margin-bottom: 15px;
}

.layui-tab-title li {
    cursor: pointer;
    width:50%;
}

/* 添加自定义样式优化注册按钮 */
.regist-btn-container {
    margin-top: 15px;
}

.regist-btn {
    background-color: #fff !important;
    color: #666 !important;
    border: 1px solid #e6e6e6 !important;
    transition: all 0.3s ease;
}

    .regist-btn:hover {
        background-color: #f8f8f8 !important;
        color: #333 !important;
        border-color: #d2d2d2 !important;
    }
/* 优化布局 */
.login-btns {
    margin-top: 20px;
}

.login-container {
    position: relative;
}