[v-cloak] {
    display: none;
}

#app .app-hidden {
    display: none !important;
}

:root {
    --primary-color: #409EFF;
    --success-color: #67C23A;
    --warning-color: #E6A23C;
    --danger-color: #F56C6C;
    --info-color: #909399;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --border-color: #ebeef5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
    background-color: var(--bg-color);
    color: #303133;
    line-height: 1.6;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 大文件上传组件样式 */
.chunk-upload-container {
    max-height: 70vh;
    overflow-y: auto;
}

.global-actions {
    margin-top: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

/* 添加更多文件按钮样式 */
.action-group .el-upload {
    display: inline-block;
    margin-left: 10px;
}

.action-group .el-upload .el-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.file-list {
    margin-top: 20px;
}

.list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr 1.5fr;
    gap: 15px;
    padding: 12px 15px;
    background: #f5f7fa;
    border-radius: 6px;
    font-weight: 600;
    color: #606266;
    margin-bottom: 10px;
}

.file-item {
    border: 1px solid #ebeef5;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #409eff;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.1);
}

.file-info {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr 1.5fr;
    gap: 15px;
    padding: 15px;
    align-items: center;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.file-name .el-icon {
    color: #409eff;
    font-size: 18px;
}

.progress-info {
    font-size: 12px;
    color: #909399;
    margin-top: 5px;
}

.file-actions {
    display: flex;
    gap: 5px;
}

.login-footer {
    margin-top: 30px;
    font-size: 12px;
    color: var(--info-color);
}

.header {
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #303133;
    white-space: nowrap;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    padding: 25px 0;
    flex: 1;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.toolbar-buttons {
    display: flex;
    gap: 5px;
}

.file-manager {
    display: flex;
    gap: 25px;
}

.file-list {
    flex: 1;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.breadcrumb-container {
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.file-item {
    border-radius: 8px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.file-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

.file-icon i {
    transition: all 0.3s ease;
}

.file-item:hover .file-icon i {
    transform: scale(1.1);
}

.file-name {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
}

.file-size {
    text-align: center;
    font-size: 12px;
    color: var(--info-color);
    margin-top: 3px;
}

.file-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 0 8px;
    padding: 5px;
    max-width: 200px;
}

.file-item:hover .file-actions {
    opacity: 1;
}

.action-btn {
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.action-btn:hover {
    color: var(--primary-color);
}

.action-btn.delete:hover {
    color: var(--danger-color);
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}



.preview-video {
    width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/*文本预览*/
.preview-text {
    background: #f5f0e6;
    /* 羊皮纸底色 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    /* 最佳阅读宽度 */
    width: 100%;
    margin: 20px auto;
    padding: 30px 15px;
}

/* 文本内容样式 */
.text-content pre {
    font-family: "思源宋体", "Noto Serif SC", serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #3a3a3a;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: justify;
    margin: 0;
    padding: 0 15px;
    /* 首行缩进解决方案 */
    display: block;
    text-indent: 2em;
    /* 全局缩进 */
    hanging-punctuation: first;
    /* 标点悬挂 */
}

/* 智能段落检测 */
.text-content pre {
    counter-reset: paragraph;
}

/* 段落生成规则 */
.text-content pre br+ :not(br):before {
    display: block;
    content: "";
    margin-top: 0.8em;
    text-indent: 2em;
}

/* 处理空段落 */
.text-content pre br[data-empty]:after {
    content: "\A\A";
    white-space: pre;
}

/* 新增: 缩略图样式 */
.file-grid .file-item .file-icon img.thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ebeef5;
}



.footer {
    text-align: center;
    padding: 20px;
    color: var(--info-color);
    font-size: 14px;
    background: var(--card-bg);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.mobile-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 15px;
    z-index: 100;
}

.mobile-action-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mobile-action-buttons .el-button {
    padding: 10px 5px;
    font-size: 12px;
}



/* 响应式设计 */


@media (max-width: 768px) {
    .file-manager {
        flex-direction: column;
    }

    .directory-tree {
        width: 100%;
    }

    .user-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .toolbar {
        flex-direction: column;
    }

    .file-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 15px;
    }

    .file-item {
        padding: 10px;
    }

    .file-icon {
        font-size: 36px;
    }

    .file-actions {
        display: none;
    }

    .mobile-actions {
        display: block;
    }

    .preview-controls button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .file-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }

    .file-name {
        font-size: 12px;
    }

    .mobile-action-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

.folder-icon {
    color: #FFC107;
}

.image-icon {
    color: #4CAF50;
}

.video-icon {
    color: #2196F3;
}

.text-icon {
    color: #9C27B0;
}

.file-icon {
    color: #607D8B;
}

.breadcrumb-item {
    cursor: pointer;
    transition: color 0.2s;
}

.breadcrumb-item:hover {
    color: var(--primary-color);
}

.action-dialog .el-dialog__body {
    padding: 20px;
}

.action-dialog-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.action-dialog-buttons .el-button {
    margin-left: 0 !important;
    /* 清除原有外边距 */
    flex: 1;
}

.file-time {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
    text-align: center;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*翻页预览*/
.preview-controls {
    position: absolute;
    top: 53%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 100;
    pointer-events: none;
}

.preview-controls button {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.preview-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.preview-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.preview-container {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-video {
    max-width: 100%;
}

.preview-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-info-bar span {
    margin: 0 10px;
}

.preview-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.preview-loading .el-icon {
    font-size: 40px;
    color: white;
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.preview-text pre {
    white-space: pre-wrap;
    font-family: inherit;
}

/* 新增音频播放器样式 */
.audio-player-container {
    width: 100%;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.audio-visualizer {
    height: 150px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.audio-bar {
    position: absolute;
    border-radius: 4px 4px 0 0;
    transition: height 0.1s ease-out;
    transform-origin: bottom;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.audio-controls {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.play-pause-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(64, 158, 255, 0.4);
}

.play-pause-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(64, 158, 255, 0.6);
}

.play-pause-btn i {
    font-size: 36px;
    color: white;
}

.progress-container {
    position: relative;
    margin: 0 5px 50px 5px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    position: relative;
    z-index: 2;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.progress-bar::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.progress-track {
    position: absolute;
    top: 38px;
    left: 0;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

.audio-player-container audio {
    display: none;
    /* 隐藏原生音频控件 */
}

.tree-node {
    display: flex;
    align-items: center;
}

.tree-node .el-icon {
    margin-right: 5px;
    color: #e6a23c;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .audio-player-container {
        padding: 15px;
    }

    .audio-visualizer {
        height: 120px;
    }

    .play-pause-btn {
        width: 60px;
        height: 60px;
    }

    .play-pause-btn i {
        font-size: 30px;
    }
}



.action-dialog .el-dialog__header {
    background: #ffffff;
    color: #303133;
    padding: 20px 24px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    border-bottom: 1px solid #e1e8ed;
}

.action-dialog .el-dialog__header .el-dialog__title {
    color: #303133;
    font-weight: 600;
    font-size: 18px;
}

.action-dialog .el-dialog__headerbtn .el-dialog__close {
    color: #909399;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-dialog .el-dialog__headerbtn .el-dialog__close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #303133;
}

/* 以下是 modern.css 的内容 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

#app {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* 登录页面样式 */
.login-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23ffffff05" points="0,300 1000,0 1000,400 0,1000"/></svg>');
    background-size: cover;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(-10px) translateY(-5px);
    }

    50% {
        transform: translateX(5px) translateY(-10px);
    }

    75% {
        transform: translateX(-5px) translateY(5px);
    }
}

.login-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23ffffff20"/><circle cx="80" cy="40" r="1.5" fill="%23ffffff15"/><circle cx="40" cy="80" r="1" fill="%23ffffff25"/><circle cx="70" cy="70" r="2" fill="%23ffffff10"/><circle cx="10" cy="60" r="1.2" fill="%23ffffff18"/><circle cx="90" cy="20" r="0.8" fill="%23ffffff22"/><circle cx="30" cy="30" r="1.8" fill="%23ffffff12"/><circle cx="60" cy="10" r="1.3" fill="%23ffffff16"/></svg>');
    animation: float 20s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(120deg);
    }

    66% {
        transform: translateY(-25px) rotate(240deg);
    }
}

.login-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    margin: 0 auto;
}

.login-card,
.register-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out forwards;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card:hover,
.register-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 45px;
}

.login-logo {
    margin-bottom: 25px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.login-logo .el-icon {
    color: #667eea;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
    transition: all 0.3s ease;
}

.login-logo .el-icon:hover {
    transform: scale(1.1);
    color: #764ba2;
}

.login-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.login-form {
    margin-bottom: 35px;
}

.login-form .el-form-item {
    margin-bottom: 28px;
}

.login-form .el-input__wrapper {
    border-radius: 14px;
    border: 2px solid #e8ecf0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.login-form .el-input__wrapper:hover {
    border-color: #c5d3f6;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.login-form .el-input__wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 8px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.login-form .el-input__inner {
    font-size: 17px;
    font-weight: 500;
    color: #2c3e50;
}

.login-form .el-input__inner::placeholder {
    color: #95a5a6;
    font-weight: 400;
}

.login-form .el-input__prefix {
    color: #95a5a6;
    transition: color 0.3s ease;
}

.login-form .el-input__wrapper:focus-within .el-input__prefix {
    color: #667eea;
}

.login-button {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.login-button:hover::before {
    left: 100%;
}

.login-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.login-actions {
    text-align: center;
    margin-bottom: 35px;
}

.register-link {
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.register-link:hover {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

.login-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(225, 232, 237, 0.6);
}

.login-footer p {
    color: #95a5a6;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
}

/* 过渡动画增强 */
.fade-enter-active,
.fade-leave-active {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-enter-from {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
}

.fade-leave-to {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
}

/* 响应式设计 */
/* 大屏幕（桌面电脑）*/
@media (min-width: 1200px) {
    .login-content {
        max-width: 550px;
        margin: 0 auto;
    }

    .login-card,
    .register-card {
        padding: 40px 50px;
        margin: 0 auto;
        max-width: none;
        box-sizing: border-box;
    }

    .login-title {
        font-size: 36px;
    }

    .login-subtitle {
        font-size: 16px;
    }

    .login-button {
        height: 50px;
        font-size: 16px;
    }

    .login-form .el-input__wrapper {
        padding: 16px 20px;
    }

    .login-form .el-input__inner {
        font-size: 16px;
    }

    .register-link {
        font-size: 16px;
    }
}

/* 中等屏幕（平板/小笔记本）*/
@media (min-width: 992px) and (max-width: 1199px) {
    .login-content {
        max-width: 520px;
        margin: 0 auto;
    }

    .login-card,
    .register-card {
        padding: 35px 45px;
        margin: 0 auto;
        max-width: none;
        box-sizing: border-box;
    }

    .login-title {
        font-size: 34px;
    }

    .login-button {
        height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .login-content {
        max-width: 95%;
        padding: 15px;
    }

    .login-card,
    .register-card {
        padding: 30px 40px;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .login-title {
        font-size: 28px;
    }

    .login-button {
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .login-content {
        max-width: 95%;
        padding: 10px;
    }

    .login-card,
    .register-card {
        padding: 25px 35px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .login-title {
        font-size: 26px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .login-form .el-input__wrapper {
        padding: 12px 16px;
    }

    .login-button {
        height: 48px;
        font-size: 15px;
    }
}

/* 焦点状态增强 */
.login-form .el-form-item.is-error .el-input__wrapper {
    border-color: #f56c6c;
    box-shadow: 0 0 0 4px rgba(245, 108, 108, 0.15);
}

.login-form .el-form-item.is-error .el-input__wrapper:focus-within {
    border-color: #f56c6c;
    box-shadow: 0 0 0 4px rgba(245, 108, 108, 0.15), 0 8px 20px rgba(245, 108, 108, 0.2);
}

/* 加载状态优化 */
.login-button.is-loading {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.login-button.is-loading:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

/* 仪表板样式 */
.dashboard-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f7fa;
}

.dashboard-header {
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: #f8f9fa;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-logo .el-icon {
    color: #667eea;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 600px;
}

.breadcrumb {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e1e8ed;
}

.breadcrumb .el-breadcrumb__item.is-link {
    cursor: pointer;
}

.breadcrumb .el-breadcrumb__item.is-link:hover .el-breadcrumb__inner {
    color: #667eea;
}

.header-right {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: #f8f9fa;
}

.username {
    font-weight: 500;
    color: #2c3e50;
}

.dropdown-icon {
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

.dashboard-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.dashboard-sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dashboard-sidebar.is-collapsed {
    width: 64px;
}

.sidebar-menu {
    border: none;
    height: 100%;
}

.sidebar-menu .el-menu-item {
    border-radius: 8px;
    margin: 4px 8px;
    transition: all 0.3s ease;
}

.sidebar-menu .el-menu-item:hover {
    background: #f0f2ff;
    color: #667eea;
}

.sidebar-menu .el-menu-item.is-active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.dashboard-content {
    flex: 1;
    overflow: auto;
    background: #f5f7fa;
    padding: 20px;
}

/* 文件管理器样式增强 */
.file-manager-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.file-toolbar {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-grid,
.file-table {
    padding: 20px;
}

.file-item {
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-content {
        max-width: 90%;
        padding: 10px;
    }

    .login-card,
    .register-card {
        padding: 30px 20px;
    }

    .dashboard-header {
        padding: 0 12px;
    }

    .header-center {
        display: none;
    }

    .dashboard-sidebar {
        width: 200px;
    }

    .dashboard-sidebar.is-collapsed {
        width: 64px;
    }

    .dashboard-content {
        padding: 12px;
    }
}

/* 加载动画 */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 过渡动画 */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.slide-enter-active,
.slide-leave-active {
    transition: transform 0.3s ease;
}

.slide-enter-from {
    transform: translateX(-100%);
}

.slide-leave-to {
    transform: translateX(100%);
}

/* Element Plus 主题定制 */
:root {
    --el-color-primary: #667eea;
    --el-color-primary-light-3: #8b9df0;
    --el-color-primary-light-5: #a8b8f3;
    --el-color-primary-light-7: #c5d3f6;
    --el-color-primary-light-8: #d4e0f8;
    --el-color-primary-light-9: #e3edfb;
    --el-color-primary-dark-2: #5a6fd8;
    --el-border-radius-base: 8px;
    --el-border-radius-small: 6px;
    --el-border-radius-round: 20px;
}

/* 文件上传组件简化样式 */
.upload-file-item-simple {
    margin: 16px 0;
    padding: 12px 0;
}

.file-name-simple {
    font-size: 14px;
    font-weight: 500;
    color: #303133;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.progress-simple {
    margin-bottom: 4px;
}

.progress-simple .el-progress-bar__outer {
    background-color: #f0f2f5;
    border-radius: 3px;
}

.progress-simple .el-progress-bar__inner {
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 修复上传进度条位置 */
.el-upload-list__item .el-progress {
    position: static !important;
    top: auto !important;
    width: 100%;
    margin-top: 5px;
}

/* 确保上传列表项内容不被覆盖 */
.el-upload-list__item {
    position: relative;
    padding-bottom: 10px;
}

/* 上传区域样式优化 */
.upload-demo {
    width: 100%;
}

.upload-demo .el-upload-dragger {
    border: 2px dashed #d9d9d9;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
    padding: 40px 20px;
}

.upload-demo .el-upload-dragger:hover {
    border-color: #409eff;
    background: #ecf5ff;
}

.upload-demo .el-upload-dragger.is-dragover {
    border-color: #409eff;
    background: #ecf5ff;
}

.upload-container {
    padding: 20px;
}

.el-upload__text {
    color: #606266;
    font-size: 14px;
    margin-top: 12px;
}

.el-upload__text em {
    color: #409eff;
    font-style: normal;
    font-weight: 500;
}

.el-upload__tip {
    color: #909399;
    font-size: 12px;
    margin-top: 8px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 隐藏元素的通用类 */
.v-cloak {
    display: none !important;
}

[v-cloak] {
    display: none !important;
}

/* 用户管理弹窗样式 */
.user-management-dialog .el-dialog__header {
    background: #ffffff;
    color: #303133;
    padding: 20px 24px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    border-bottom: 1px solid #e1e8ed;
}

.user-management-dialog .el-dialog__header .el-dialog__title {
    color: #303133;
    font-weight: 600;
    font-size: 18px;
}

.user-management-dialog .el-dialog__headerbtn .el-dialog__close {
    color: #909399;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-management-dialog .el-dialog__headerbtn .el-dialog__close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #303133;
}

.user-management-dialog .el-dialog__body {
    padding: 24px;
    background: #fafbfc;
}

.user-management-container {
    min-height: 400px;
}

.user-management-container .toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e1e8ed;
}

.user-management-container .toolbar-left {
    display: flex;
    gap: 12px;
}

.user-management-container .toolbar-right {
    display: flex;
    align-items: center;
}

.user-management-container .user-count {
    color: #606266;
    font-size: 14px;
    font-weight: 500;
    background: #f0f2f5;
    padding: 6px 12px;
    border-radius: 6px;
}

.user-management-container .el-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e1e8ed;
}

.user-management-container .el-table__header {
    background: #f8f9fa;
}

.user-management-container .el-table__header th {
    background: #f8f9fa !important;
    color: #606266 !important;
    font-weight: 600;
    border-bottom: 2px solid #e1e8ed;
}

.user-management-container .el-table__row:hover {
    background-color: #f8f9fa;
}

.user-management-container .action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.user-management-container .action-buttons .el-button {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 8px;
    white-space: nowrap;
    min-width: 50px;
}

.user-management-container .el-tag {
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
}

/* 用户编辑表单弹窗样式 */
.user-form-dialog .el-dialog__header {
    background: #ffffff;
    color: #303133;
    padding: 20px 24px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    border-bottom: 1px solid #e1e8ed;
}

.user-form-dialog .el-dialog__header .el-dialog__title {
    color: #303133;
    font-weight: 600;
    font-size: 16px;
}

.user-form-dialog .el-dialog__headerbtn .el-dialog__close {
    color: #909399;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-form-dialog .el-dialog__headerbtn .el-dialog__close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #303133;
}

.user-form-dialog .el-dialog__body {
    padding: 24px;
    background: #fafbfc;
}

.user-form-dialog .el-form {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e1e8ed;
}

.user-form-dialog .el-form-item {
    margin-bottom: 20px;
}

.user-form-dialog .el-form-item__label {
    font-weight: 600;
    color: #606266;
}

.user-form-dialog .el-input__wrapper {
    border-radius: 6px;
    border: 1px solid #dcdfe6;
    transition: all 0.3s ease;
    box-shadow: none;
}

.user-form-dialog .el-input__wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.user-form-dialog .el-switch {
    --el-switch-on-color: #67c23a;
}

.user-form-dialog .el-dialog__footer {
    background: #fafbfc;
    padding: 16px 24px;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #e1e8ed;
    text-align: right;
}

.user-form-dialog .el-dialog__footer .el-button {
    margin-left: 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-management-dialog .el-dialog__headerbtn .el-dialog__close {
        color: #909399;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .user-management-dialog .el-dialog__headerbtn .el-dialog__close:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #303133;
    }

    .user-management-dialog .el-dialog__body {
        padding: 24px;
        background: #fafbfc;
    }

    .user-management-container {
        min-height: 400px;
    }

    .user-management-container .toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding: 16px 20px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid #e1e8ed;
    }

    .user-management-container .toolbar-left {
        display: flex;
        gap: 12px;
    }

    .user-management-container .toolbar-right {
        display: flex;
        align-items: center;
    }

    .user-management-container .user-count {
        color: #606266;
        font-size: 14px;
        font-weight: 500;
        background: #f0f2f5;
        padding: 6px 12px;
        border-radius: 6px;
    }

    .user-management-container .el-table {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid #e1e8ed;
    }

    .user-management-container .el-table__header {
        background: #f8f9fa;
    }

    .user-management-container .el-table__header th {
        background: #f8f9fa !important;
        color: #606266 !important;
        font-weight: 600;
        border-bottom: 2px solid #e1e8ed;
    }

    .user-management-container .el-table__row:hover {
        background-color: #f8f9fa;
    }

    .user-management-container .action-buttons {
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }

    .user-management-container .action-buttons .el-button {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        padding: 4px 8px;
        white-space: nowrap;
        min-width: 50px;
    }

    .user-management-container .el-tag {
        border-radius: 6px;
        font-weight: 500;
        font-size: 12px;
    }

    /* 用户编辑表单弹窗样式 */
    .user-form-dialog .el-dialog__header {
        background: #ffffff;
        color: #303133;
        padding: 20px 24px;
        border-radius: 8px 8px 0 0;
        margin: 0;
        border-bottom: 1px solid #e1e8ed;
    }

    .user-form-dialog .el-dialog__header .el-dialog__title {
        color: #303133;
        font-weight: 600;
        font-size: 16px;
    }

    .user-form-dialog .el-dialog__headerbtn .el-dialog__close {
        color: #909399;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .user-form-dialog .el-dialog__headerbtn .el-dialog__close:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #303133;
    }

    .user-form-dialog .el-dialog__body {
        padding: 24px;
        background: #fafbfc;
    }

    .user-form-dialog .el-form {
        background: white;
        padding: 24px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid #e1e8ed;
    }

    .user-form-dialog .el-form-item {
        margin-bottom: 20px;
    }

    .user-form-dialog .el-form-item__label {
        font-weight: 600;
        color: #606266;
    }

    .user-form-dialog .el-input__wrapper {
        border-radius: 6px;
        border: 1px solid #dcdfe6;
        transition: all 0.3s ease;
        box-shadow: none;
    }

    .user-form-dialog .el-input__wrapper:focus-within {
        border-color: #667eea;
        box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
    }

    .user-form-dialog .el-switch {
        --el-switch-on-color: #67c23a;
    }

    .user-form-dialog .el-dialog__footer {
        background: #fafbfc;
        padding: 16px 24px;
        border-radius: 0 0 8px 8px;
        border-top: 1px solid #e1e8ed;
        text-align: right;
    }

    .user-form-dialog .el-dialog__footer .el-button {
        margin-left: 12px;
        border-radius: 6px;
        font-weight: 500;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .user-management-dialog {
            width: 95% !important;
            margin: 0 auto;
        }

        .user-management-container .toolbar {
            flex-direction: column;
            gap: 12px;
            align-items: stretch;
        }

        .user-management-container .toolbar-left {
            justify-content: center;
        }

        .user-management-container .toolbar-right {
            justify-content: center;
        }

        .user-management-container .action-buttons {
            flex-direction: column;
            gap: 4px;
        }

        .user-form-dialog {
            min-height: 400px;
        }

        .user-management-container .toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 16px 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #e1e8ed;
        }

        .user-management-container .toolbar-left {
            display: flex;
            gap: 12px;
        }

        .user-management-container .toolbar-right {
            display: flex;
            align-items: center;
        }

        .user-management-container .user-count {
            color: #606266;
            font-size: 14px;
            font-weight: 500;
            background: #f0f2f5;
            padding: 6px 12px;
            border-radius: 6px;
        }

        .user-management-container .el-table {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #e1e8ed;
        }

        .user-management-container .el-table__header {
            background: #f8f9fa;
        }

        .user-management-container .el-table__header th {
            background: #f8f9fa !important;
            color: #606266 !important;
            font-weight: 600;
            border-bottom: 2px solid #e1e8ed;
        }

        .user-management-container .el-table__row:hover {
            background-color: #f8f9fa;
        }

        .user-management-container .action-buttons {
            display: flex;
            gap: 8px;
            justify-content: center;
            align-items: center;
            flex-wrap: nowrap;
        }

        .user-management-container .action-buttons .el-button {
            margin: 0;
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            padding: 4px 8px;
            white-space: nowrap;
            min-width: 50px;
        }

        .user-management-container .el-tag {
            border-radius: 6px;
            font-weight: 500;
            font-size: 12px;
        }

        /* 用户编辑表单弹窗样式 */
        .user-form-dialog .el-dialog__header {
            background: #ffffff;
            color: #303133;
            padding: 20px 24px;
            border-radius: 8px 8px 0 0;
            margin: 0;
            border-bottom: 1px solid #e1e8ed;
        }

        .user-form-dialog .el-dialog__header .el-dialog__title {
            color: #303133;
            font-weight: 600;
            font-size: 16px;
        }

        .user-form-dialog .el-dialog__headerbtn .el-dialog__close {
            color: #909399;
            font-size: 16px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .user-form-dialog .el-dialog__headerbtn .el-dialog__close:hover {
            background: rgba(0, 0, 0, 0.1);
            color: #303133;
        }

        .user-form-dialog .el-dialog__body {
            padding: 24px;
            background: #fafbfc;
        }

        .user-form-dialog .el-form {
            background: white;
            padding: 24px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #e1e8ed;
        }

        .user-form-dialog .el-form-item {
            margin-bottom: 20px;
        }

        .user-form-dialog .el-form-item__label {
            font-weight: 600;
            color: #606266;
        }

        .user-form-dialog .el-input__wrapper {
            border-radius: 6px;
            border: 1px solid #dcdfe6;
            transition: all 0.3s ease;
            box-shadow: none;
        }

        .user-form-dialog .el-input__wrapper:focus-within {
            border-color: #667eea;
            box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
        }

        .user-form-dialog .el-switch {
            --el-switch-on-color: #67c23a;
        }

        .user-form-dialog .el-dialog__footer {
            background: #fafbfc;
            padding: 16px 24px;
            border-radius: 0 0 8px 8px;
            border-top: 1px solid #e1e8ed;
            text-align: right;
        }

        .user-form-dialog .el-dialog__footer .el-button {
            margin-left: 12px;
            border-radius: 6px;
            font-weight: 500;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .user-management-dialog {
                width: 95% !important;
                margin: 0 auto;
            }

            .user-management-container .toolbar {
                flex-direction: column;
                gap: 12px;
                align-items: stretch;
            }

            .user-management-container .toolbar-left {
                justify-content: center;
            }

            .user-management-container .toolbar-right {
                justify-content: center;
            }

            .user-management-container .action-buttons {
                flex-direction: column;
                gap: 4px;
            }

            .user-form-dialog {
                width: 95% !important;
                margin: 0 auto;
            }
        }

        /* Excel预览样式 */
        .excel-preview {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            min-height: 400px;
            width: 100%;
            overflow-x: auto;
        }

        .excel-content {
            width: 100%;
            overflow-x: auto;
        }

        .excel-content table,
        .excel-content-table {
            border-collapse: collapse;
            width: auto;
            min-width: 100%;
            font-size: 14px;
            margin-bottom: 20px;
            table-layout: auto;
            border: 1px solid #d0d7de;
        }

        .excel-content th,
        .excel-content td,
        .excel-content-table th,
        .excel-content-table td {
            border: 1px solid #d0d7de;
            padding: 8px 12px;
            text-align: left;
            white-space: nowrap;
            max-width: 300px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .excel-content th,
        .excel-content-table th {
            background-color: #f6f8fa;
            color: #24292f;
            font-weight: 600;
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 2px solid #d0d7de;
        }

        .excel-content tr:hover,
        .excel-content-table tr:hover {
            background-color: #f6f8fa;
        }

        /* 允许单元格内容换行 */
        .excel-content td,
        .excel-content-table td {
            word-break: break-word;
            white-space: normal;
        }

        /* DOCX预览样式 */
        .docx-wrapper {
            background: #fff !important;
            padding: 40px !important;
            min-height: 800px;
            box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
            margin: 0 auto;
            max-width: 100%;
            word-wrap: break-word;
        }
    }
}