.translation-div {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    min-height: 500px;
}

.translation-div.show {
    opacity: 1;
    display: flex;
}

.select-style {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.hidden {
    display: none;
}

.file-list {
    overflow-y: auto;
    max-height: 300px;
}

.file-list a {
    display: block;
    padding: 8px;
    margin: 4px 0;
    background-color: #e2e8f0;
    color: #1a202c;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.file-list a:hover {
    background-color: #cbd5e0;
}

#loginStatus {
    position: absolute;
    top: 16px;
    right: 16px;
    font-weight: bold;
    color: green;
}

#loginButton {
    position: absolute;
    top: 16px;
    right: 80px;
}

#progress {
    display: none;
    width: 200px; /* 设置宽度 */
    height: 40px; /* 设置高度，匹配按钮高度 */
    background-color: #e2e8f0; /* 背景颜色与按钮一致 */
    border-radius: 5px; /* 圆角 */
    overflow: hidden; /* 隐藏溢出部分 */
    position: relative; /* 绝对定位 */
    margin-left: 10px; /* 与按钮间距 */
}

#progress-bar {
    height: 100%; /* 高度100%以填充父元素 */
    background-color: #4f46e5; /* 进度条颜色 */
    width: 0%; /* 初始宽度 */
    transition: width 0.4s ease; /* 过渡效果 */
    text-align: center; /* 文本居中 */
    line-height: 40px; /* 行高与外层高度相同，以垂直居中文本 */
    color: white; /* 字体颜色 */
}