/* 混音中国调音管理系统 - 自定义样式 */

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.card, .stat-card {
    animation: fadeIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-content {
    animation: slideIn 0.2s ease-out;
}

/* Toast 动画 */
.toast {
    animation: toastIn 0.3s ease-out;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 表格行悬停 */
.table-container tbody tr:hover {
    background-color: #f8fafc;
}

/* 侧边栏过渡 */
.sidebar-link {
    transition: all 0.15s ease;
}

/* 上传区域动画 */
.upload-zone {
    transition: all 0.2s ease;
}

/* 按钮禁用状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 响应式侧边栏 */
@media (max-width: 768px) {
    aside {
        position: fixed;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    aside.open {
        transform: translateX(0);
    }
}
