/* PC端返回按钮 */
.back-to-cases {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.back-to-cases .back-btn {
    display: inline-block;
    padding: 8px 12px;
    color: #000;  /* 黑色字体 */
    font-weight: 500;  /* 加粗字体 */
    text-decoration: none !important;  /* 强制移除下划线 */
    font-size: 10px;  /* 缩小字体 */
    line-height: 1.2;
    background: #fff;  /* 白色背景 */
    border-radius: 0 4px 4px 0;  /* 只保留右侧圆角 */
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);  /* 添加阴影 */
    transition: all 0.3s ease;
}

.back-to-cases .back-btn:hover {
    transform: translateX(5px);
    box-shadow: 4px 0 12px rgba(0,0,0,0.15);
}

/* 移动端返回按钮样式 */
@media (max-width: 768px) {
    .back-to-cases {
        display: none;
    }
    
    /* 完全隐藏移动端底部按钮 */
    .back-to-cases-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 15px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        text-align: center;
        z-index: 1000;
    }

    .back-to-cases-mobile .back-btn {
        display: inline-block;
        width: 90%;
        padding: 12px 0;
        background: #000;
        color: #fff;
        font-weight: 500;
        text-decoration: none;
        border-radius: 4px;
        font-size: 14px;
        line-height: 1.2;
    }
} 