* {
    box-sizing: border-box;
}

.material_box {
    padding: 24px;
}

.material_box>div {
    margin: 0 0 20px 0;
}

.medio_box {
    width: 280px;
    height: 150px;
    margin-top: 6px;
}

.medio_box img,
.medio_box video {
    width: 100%;
    height: 100%;
}

/* 加载旋转动画 */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 步骤状态动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* 折叠面板样式优化 */
.ant-collapse-ghost > .ant-collapse-item {
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ant-collapse-ghost > .ant-collapse-item:hover {
    background: rgba(99, 102, 241, 0.02);
}

.ant-collapse-ghost > .ant-collapse-item > .ant-collapse-header {
    padding: 14px 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 步骤内容区滚动条 */
.replication-form-content::-webkit-scrollbar,
.replication-preview::-webkit-scrollbar {
    width: 6px;
}

.replication-form-content::-webkit-scrollbar-thumb,
.replication-preview::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 3px;
}

.replication-form-content::-webkit-scrollbar-thumb:hover,
.replication-preview::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.4);
}

.replication-form-content::-webkit-scrollbar-track,
.replication-preview::-webkit-scrollbar-track {
    background: transparent;
}

/* 滑块样式 */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
    transition: all 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.6);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
}
