/*
 * @Description   书籍样式显示切换
 * @Author        Alex_McAvoy
 * @Date          2026-03-13 16:20:13
 */
.bookInfo-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    background: url("../images/common/switch.png") no-repeat center center;
    background-size: cover;
    padding: 12px 10px;
    border-radius: 14px;
    box-shadow: 5px 5px 16px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column; /* 竖排 */
    gap: 12px;
    transition: all 0.3s ease;
}

.bookInfo-switch .button-switch {
    margin-top: 5px;
    flex: 0 0 auto;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    color: #222;
    background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.4));
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.bookInfo-switch .button-switch:hover {
    transform: translateX(-2px);
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.65));
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}
