/**
 * 回到顶部插件样式
 * Plugin: backtop
 * Generated by Plugin System
 */

/* 回到顶部容器 - 基础样式 */
#backtop-btn {
    position: fixed;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#backtop-btn.show {
    opacity: 1;
    visibility: visible;
}

#backtop-btn:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

#backtop-btn i {
    color: #fff;
    font-size: 20px;
}

#backtop-btn span {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* 位置变体 - 由后端动态生成并追加 */
#backtop-btn.position-right-bottom {
    right: 20px;
    bottom: 20px;
}

#backtop-btn.position-right-middle {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#backtop-btn.position-left-bottom {
    left: 20px;
    bottom: 20px;
}

/* 尺寸变体 */
#backtop-btn.size-small {
    width: 40px;
    height: 40px;
}

#backtop-btn.size-small i {
    font-size: 18px;
}

#backtop-btn.size-large {
    width: 56px;
    height: 56px;
}

#backtop-btn.size-large i {
    font-size: 24px;
}

/* 圆角变体 */
#backtop-btn.radius-none {
    border-radius: 0;
}

#backtop-btn.radius-small {
    border-radius: 4px;
}

#backtop-btn.radius-medium {
    border-radius: 8px;
}

#backtop-btn.radius-large {
    border-radius: 12px;
}

#backtop-btn.radius-full {
    border-radius: 50%;
}
