/* 全局样式 - 苹果风格 */
:root {
    --accent-green: #C4FF8C; /* 主题绿色，用于双语切换按钮等 */
    --accent-blue: #0071e3; /* 主题蓝色，作为绿色的替代颜色 */
    --current-accent: var(--accent-blue); /* 当前使用的主题颜色 */
    --font-color:white;
}

/* 英文模式下的字体样式 */
.english-font * {
    font-family: 'Times New Roman', Times, serif !important;
}

/* 日文模式下的字体样式 */
.japanese-font * {
    font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'MS PGothic', 'メイリオ', sans-serif !important;
}

/* 排除图标元素不受字体变化的影响 */
.english-font i.fas,
.english-font i.far,
.english-font i.fab,
.english-font .fas,
.english-font .far,
.english-font .fab,
.english-font [class^="fa-"],
.english-font [class*=" fa-"],
.japanese-font i.fas,
.japanese-font i.far,
.japanese-font i.fab,
.japanese-font .fas,
.japanese-font .far,
.japanese-font .fab,
.japanese-font [class^="fa-"],
.japanese-font [class*=" fa-"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome' !important;
}




/* 双语模式切换按钮样式 */
.header-with-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: nowrap; /* 防止内容换行 */
}

/* 字幕背景开关区域样式 */
.background-switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /* padding: 8px 12px; */
    border-radius: 8px;
}

.background-switch-label {
    font-size: 0.95rem;
    color: #6c5ce7;
    font-weight: bold;
    flex-grow: 1;
}

/* 字幕背景控制区域样式 */
.background-control-area {
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 15px;
    box-shadow: 1px 2px 6px 3px rgb(193 187 241 / 10%);
}

.background-settings-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.background-setting-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.background-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.background-color-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.background-color-picker {
    height: 1.5rem;
    width: 1.5rem;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.background-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.background-color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.background-color-code {
    width: 8rem;
    height: 1.6rem;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    font-family: monospace;
    font-size: 14px;
    text-transform: uppercase;
}

.background-range-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

.background-range {
    flex: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    background: #d2d2d7;
    border-radius: 2px;
    outline: none;
}

.background-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #0071e3;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.background-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.background-value {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: #555;
}


.bilingual-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem; /* 保持当前大小 */
    width: auto; /* 确保容器宽度自适应 */
    padding-top: 5px;
}

.bilingual-toggle-container span {
    font-weight: 700; /* 与标题相同的字重 */
    font-family: 'SF Pro Display', 'SF Pro', 'Helvetica Neue', 'SimHei', -apple-system, BlinkMacSystemFont, sans-serif; /* 与标题相同的字体 */
    letter-spacing: -0.02em; /* 与标题相同的字间距 */
    font-size: 0.9rem; /* 固定字体大小，不受语言切换影响 */
    white-space: nowrap; /* 防止文本换行 */
    /* color: #b7e39a; */
    /* background-color: rgb(139, 237, 73); */
    /* color: white; */
    /* box-shadow: rgba(0, 113, 227, 0.4) 0px 2px 8px; */
}

.toggle-switch {
    color: var(--current-accent); /* 主题绿色 */
    font-weight: 700; /* 与标题相同的字重 */
    font-family: 'SF Pro Display', 'SF Pro', 'Helvetica Neue', 'SimHei', -apple-system, BlinkMacSystemFont, sans-serif; /* 与标题相同的字体 */
    letter-spacing: -0.02em; /* 与标题相同的字间距 */
    font-size: 0.9rem; /* 固定字体大小，不受语言切换影响 */
    white-space: nowrap; /* 防止文本换行 */
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--current-accent); /* 主题绿色，区分于普通语言按钮 */
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* 字幕输入区域样式 */
.subtitle-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.subtitle-input-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.subtitle-input-container label {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 500;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
    padding: 20px;
    position: relative; /* 为定位语言选择器做准备 */
}

/* 头部容器样式 */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

/* 左侧控制区域 */
.left-controls {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* 中间标题区域 */
.center-title {
    flex: 2;
    text-align: center;
}

/* 右侧控制区域 */
.right-controls {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



/* 颜色切换按钮样式 */
.color-theme-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.color-switch-btn {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.color-switch-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.color-switch-btn.green {
    background-color: var(--accent-green);
}

.color-switch-btn.blue {
    background-color: var(--accent-blue);
}

.color-switch-btn.active {
    border: 2px solid #333;
    transform: scale(1.1);
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
    display: flex;
    gap: 5px;
    z-index: 100;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 200px;
}

.lang-btn {
    background-color: #f5f5f7;
    color: #555;
    border: 1px  #efefef;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    text-decoration: none; /* 去除下划线 */
    display: inline-block; /* 确保按钮行为一致 */
}

.lang-btn:hover {
    background-color: #e5e5e7;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.lang-btn.active {
    background-color: var(--current-accent);
    color: white;
    box-shadow: rgba(0, 113, 227, 0.4) 0px 2px 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f7;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative; /* 为相对定位语言选择器做准备 */
}

/* 左右布局结构 */
.main-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.left-panel {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.right-panel {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    color: #1d1d1f;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

h2 {
    color: #1d1d1f;
    margin: 20px 0 15px;
    font-size: 1.3rem;
    font-weight: 700; /* 加粗字重 */
    font-family: 'SF Pro Display', 'SF Pro', 'Helvetica Neue', 'SimHei', -apple-system, BlinkMacSystemFont, sans-serif; /* Apple风格字体，包含黑体 */
    letter-spacing: -0.02em; /* 稍微紧凑的字间距 */
}

/* 区域样式 - 统一样式 */
.input-section,
.subtitle-settings-section,
.preview-result-section,
.generate-section {
    margin-bottom: 25px;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 让输入区域和预览区域高度一致 */
.input-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.preview-result-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.generate-section {
    margin-top: 20px;
    text-align: center;
    padding: 15px 10px;
}

/* 左右面板样式 */
.left-panel,
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.upload-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload {
    display: flex;
    flex-direction: column; /* 改为列布局 */
    align-items: center; /* 水平居中 */
    justify-content: center; /* 垂直居中 */
    width: 100%; /* 确保宽度占满容器 */
}

.tip {
    margin: 0 0 5px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.upload-button {
    background-color: var(--current-accent);
    color: var(--font-color);
    padding: 12px 20px;
    border-radius: 30px; /* 更圆滑的按钮 */
    border:1px #efefef;
    cursor: pointer;
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    margin-bottom: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    /* width: 36%; 长横条按钮 */
    max-width: 300px;
    box-shadow: rgba(0, 113, 227, 0.4) 0px 2px 8px; /* 添加阴影效果 */
}

/* 按钮内的图标样式 */
.upload-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.upload-button:hover {
    /* background-color: #0077ed; */
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



input[type="file"] {
    display: none;
}

.file-name {
    color: #7f8c8d;
    margin: 10px 0;
}

.preview-result-container {
    width: 100%;
    height: 100%; /* 使用100%高度以占满父元素 */
    min-height: 450px; /* 设置最小高度以确保在没有内容时也有一定的高度 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* transition: height 0.3s ease-in-out; 添加高度过渡效果，使高度变化更加平滑 */
}

.preview-area, .result-area {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    min-height: inherit; /* 继承父元素的最小高度 */
}


/* 上传提示样式 */
.upload-prompt {
    font-size: 1.2rem;
    color: #a1a1a6;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent; /* 透明背景 */
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* SVG上传图标样式 */
.upload-svg-icon {
    color: rgba(0, 113, 227, 0.4); /* 半透明的苹果蓝，增加一点透明度 */
    width: 80px;
    height: 80px;
}

/* 图标脉动效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

#imagePreview {
    max-width: 96%;
    max-height: 380px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    display: block !important;
    margin: 0 auto;
    border: 1px solid #e1e1e6;
    margin-bottom: 20px; /* 确保图片下方有足够空间显示按钮 */
}

.result-image {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* 鼠标悬浮时的抖动效果 - 只抖动一次 */
.result-image:hover {
    animation: shake 0.5s ease 1; /* 将infinite改为1，表示只执行一次动画 */
}

/* 抖动动画关键帧 */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px) rotate(-1deg); }
    50% { transform: translateX(3px) rotate(1deg); }
    75% { transform: translateX(-2px) rotate(0deg); }
    100% { transform: translateX(0); }
}

/* 文本输入区域样式 */
.tip {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    height: 120px; /* 减小高度以适应第二语言输入框 */
    padding: 15px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#secondarySubtitleText {
    height: 100px; /* 第二语言输入框稍小 */
}

textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* 生成按钮样式 */
.generate-button {
    background-color: var(--current-accent);
    color: var(--font-color);
    border:1px #efefef;
    padding: 10px 20px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.4);
}

.generate-button:hover {
    /* background-color: #0077ed; */
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.generate-button:disabled {
    background-color: #e9e9e9;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* 结果展示区域样式 */
.result-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 下载按钮样式 */
.download-btn {
    margin: 20px auto;
    display: none; /* 默认隐藏，生成图片后显示 */
    position: absolute;
    top: 94%;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
    background-color: var(--current-accent);
    color: var(--font-color);
    border:1px #efefef;
    padding: 10px 20px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 auto;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.4);
}

.download-btn:hover {
    /* background-color: #0077ed; */
    /* transform: translateY(-1px); */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 字幕设置区域样式 */
.subtitle-settings-section {
    background-color: #f9f9fb;
}

.settings-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 15px;
    margin-bottom:inherit;
}

.settings-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    box-shadow: 1px 2px 6px 3px rgb(193 187 241 / 10%);
    border-radius:0.8rem;
    padding: 6px;
}

.setting-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.setting-group:has(.color-picker) {
    flex-direction: row;
    align-items: center;
}

.setting-group label {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 500;
}

.setting-control {
    padding: 8px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background-color: #fff;
}

.setting-control:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

select.setting-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0h12L6 6z" fill="%23666"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    height: 36px;
}

.range-with-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-range {
    flex: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    background: #d2d2d7;
    border-radius: 2px;
    outline: none;
}

.setting-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #0071e3;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.setting-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.color-picker {
    height: 36px;
    width: 36px;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.color-picker::-moz-color-swatch {
    border: none;
    border-radius: 50%;
}

.setting-group label + .color-picker {
    margin-top: 8px;
}

.color-with-code {
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.color-code {
    width: 80px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    font-family: monospace;
    font-size: 14px;
    text-transform: uppercase;
}

/* 图片放大相关样式 */
.zoomable-image {
    cursor: pointer;
    transition: transform 0.2s;
}

.zoomable-image:hover {
    transform: scale(1.02);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 50px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.checkbox-container input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #d2d2d7;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: #0071e3;
    border-color: #0071e3;
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 合并图片容器样式 */
.merged-image-container {
    width: 100%;
    max-width: 800px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* 合并图片样式 */
.merged-image {
    width: 100%;
    display: block;
    border-radius: 5px;
}

/* 最终结果图片样式 */
.final-result-image {
    width: 100%;
    display: block;
    max-width: 800px;
}

/* 保存按钮样式 */
.save-button {
    background-color: #0071e3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 140px;
}

.save-button:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 40px;
    color: #86868b;
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .left-panel, .right-panel {
        max-width: 100%;
    }
    
    .result-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .settings-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .result-gallery {
        grid-template-columns: 1fr;
    }
    
    .settings-row {
        flex-direction: column;
    }
    
    .setting-group {
        width: 100%;
        margin-bottom: 15px;
    }
}
.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center; /* 这会使子元素在水平方向居中 */
    justify-content: center; /* 这会使子元素在垂直方向居中 */
    width: 100%;
}
/* .file-upload {
    flex-direction: column;
    align-items: flex-start;
} */
    
.upload-button {
    margin-bottom: 10px;
}
