/* 提取的内联样式 - 从footer.html中提取 */

/* 弹窗样式 */
.vip_login, .register, .no_login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.login_content, .register_content, .no_login_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 400px;
}

.close_login, .close_register, .close_no_login {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close_login:hover, .close_register:hover, .close_no_login:hover {
    color: #333;
}

/* 表单样式 */
.login_form input, .register_form input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.login_btn, .register_btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.login_btn:hover, .register_btn:hover {
    background: #0056b3;
}

/* 提示信息样式 */
.login_tips, .register_tips1, .register_tips2 {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* 链接样式 */
.show_register, .show_login {
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
}

.show_register:hover, .show_login:hover {
    color: #0056b3;
}

/* 浮动客服样式 */
.floating-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
}

.service-item {
    margin-bottom: 10px;
    text-align: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-icon:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* 回到顶部按钮 */
.backTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.backTop:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* 社交分享样式 */
.social-share {
    text-align: center;
    margin: 20px 0;
}

.social-share a {
    display: inline-block;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* 二维码分享样式 */
#shareDiv {
    text-align: center;
    padding: 20px;
}

#shareDiv canvas {
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login_content, .register_content, .no_login_content {
        min-width: 300px;
        margin: 20px;
        padding: 20px;
    }
    
    .floating-service {
        right: 10px;
        bottom: 80px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .backTop {
        width: 40px;
        height: 40px;
        right: 10px;
        bottom: 10px;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 表格优化样式 */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.table-container table {
    min-width: 100%;
    white-space: nowrap;
}

/* 按钮样式优化 */
.btn-follow {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-follow:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* 输入验证样式 */
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.input-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
