﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

#container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#uploadSection {
    margin-bottom: 20px;
    text-align: center;
}

#openFileButton {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0088ff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

    #openFileButton:hover {
        background-color: #006bb3;
    }

#fileTable {
    width: 100%;
    border-collapse: collapse;
}

    #fileTable th, #fileTable td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
    }

    #fileTable th {
        background-color: #f2f2f2;
    }

    #fileTable tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    #fileTable tr:hover {
        background-color: #f1f1f1;
    }

    #fileTable button {
        padding: 5px 10px;
        font-size: 14px;
        margin: 0 5px;
        background-color: #0088ff;
        color: #fff;
        border: none;
        cursor: pointer;
        border-radius: 3px;
    }

        #fileTable button:hover {
            background-color: #006bb3;
        }


/* 模态窗口覆盖整个屏幕的背景 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明的黑色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 置于最顶层 */
}

/* 模态窗口内容 */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px; /* 圆角 */
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影 */
    animation: fadeIn 0.3s ease; /* 添加渐入动画 */
}

    /* 标题样式 */
    .modal-content h2 {
        margin-top: 0;
        font-size: 18px;
        color: #333;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

    /* 属性列表样式 */
    .modal-content ul {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

        .modal-content ul li {
            margin-bottom: 10px;
            font-size: 14px;
            color: #555;
        }

    /* 关闭按钮样式 */
    .modal-content button {
        padding: 8px 16px;
        background-color: #f44336; /* 红色背景 */
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .modal-content button:hover {
            background-color: #d32f2f; /* 鼠标悬停时背景变深 */
        }

/* 模态窗口渐入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
