:root {
    --primary-color: #4195f5;
    --secondary-color: #2c7be5;
    --text-color: #ffffff;
    --hover-color: rgba(255,255,255,0.2);
    --border-radius: 8px;
    --card-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #f5f7fa;
    background-blend-mode: overlay;
    min-height: 100vh;
    display: flex;
    justify-content: center; 
    align-items: center;    
    padding-top: 0; 
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.site-title {
    display: flex;
    align-items: center;
}

.site-title img {
    width: 150px;
    height: 40px;
}

.content-container {
    position: relative;
    width: 70%;
    min-height: 60vh;
    background: rgb(255, 255, 255);
    margin: 0; 
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 40px 30px;
    backdrop-filter: blur(2px);
    z-index: 10;
    margin-top: 30px; 
}


    .auth-layout {
        display: flex;
        align-items: center;
        gap: 40px;
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 左侧授权信息 */
    .auth-site-info {
        flex: 1;
        text-align: center;
    }
    .auth-site-info .site-icon img {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .auth-site-info .site-text h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .auth-site-info .site-text p {
        color: #666;
        margin: 5px 0;
    }
    .auth-site-info .site-name span {
        color: #333;
        font-weight: 500;
    }

    /* 右侧登录区域 */
    .auth-login-area {
        flex: 1;
        min-width: 300px;
    }

    /* 选择登录样式 */
    .select-login .account-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin: 10px 0;
        cursor: pointer;
    }
    .select-login .account-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #1a73e8;
        color: #fff;
        text-align: center;
        line-height: 40px;
        margin-right: 10px;
    }

    /* 账号密码登录样式 */
    .password-login .form-item {
        margin: 10px 0;
    }
    .password-login input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 5px;
    }

    /* 按钮样式 */
    .switch-btn, .login-submit {
        width: 100%;
        padding: 8px 0;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin: 8px 0;
        font-size: 14px;
    }
    .login-submit {
        background: #1a73e8;
        color: #fff;
    }
    .switch-btn {
        background: #f5f5f5;
        color: #1a73e8;
    }

    /* 移动端适配核心：屏幕宽度≤768px时改为上下布局 */
    @media (max-width: 768px) {
        .auth-layout {
            flex-direction: column; /* 从横向改为纵向 */
            gap: 20px; /* 减小上下间距 */
            padding: 10px;
        }
        .auth-site-info, .auth-login-area {
            width: 100%; /* 占满屏幕宽度 */
            flex: none; /* 取消等分，自适应宽度 */
        }
        .auth-login-area {
            min-width: auto; /* 取消最小宽度限制 */
        }
        .auth-site-info .site-icon img {
            width: 60px; /* 移动端缩小图标 */
            height: 60px;
        }
    }