body {
    font-family: math;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    overflow-x: hidden;
}

.container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.drop-zone {
    border: 2px dashed #4CAF50;
    border-radius: 10px;
    padding: 2px;
    color: #4CAF50;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.drop-zone.dragover {
    background-color: #f0fff0;
}

.status {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

button {
    padding: 1px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Tooltip样式 */
.tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -60px; /* 调整tooltip位置 */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

/* Tooltip箭头 */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* 按钮的样式 */
button {
    position: relative; /* 使tooltip相对于按钮定位 */
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #098a0e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 当鼠标悬停在按钮时显示tooltip */
button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.table-container {
    width: 100%;
    max-width: 420px;
    margin-top: 400px;
    padding: 20px;
    text-align: center;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 强制表格使用固定宽度 */
}

th, td {
    font-size: 1em;
    padding: 5px;
    border: 1px solid #ddd;
    text-align: left;
}

/* 设置 Time 列宽度并强制换行 */
td:nth-child(1), th:nth-child(1) {
    width: 72px; /* 固定宽度 */
    word-wrap: break-word; /* 强制长单词自动换行 */
    overflow-wrap: break-word; /* 兼容一些浏览器 */
    white-space: normal; /* 允许换行 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/* 设置 Files 列宽度并自动换行 */
td:nth-child(2), th:nth-child(2) {
    max-width: 280px; /* 设置最大宽度 */
    word-wrap: break-word; /* 强制长单词自动换行 */
    overflow-wrap: break-word; /* 兼容一些浏览器 */
    white-space: normal; /* 允许文本换行 */
}

td:nth-child(3), th:nth-child(3) {
    width: 50px; /* 固定宽度 */
}

td:nth-child(4), th:nth-child(4) {
    width: 60px; /* 固定宽度 */
}

th {
    background-color: #f4f7fc;
}

.logo {
    width: 350px;
    height: auto;
    margin-right: 0;
}

#uploadButton{
    height: 90px ; 
    color: #4CAF50;
    background-color:white;
}

/* Progress Bar */
#uploadProgress {
    width: 100%;
    height: 10px;
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
    overflow: hidden;
}

#uploadProgress::-webkit-progress-bar {
    background-color: #f0f0f0;
}

#uploadProgress::-webkit-progress-value {
    background-color: #4CAF50;
}

#uploadProgress::-moz-progress-bar {
    background-color: #4CAF50;
}
