/* 引入Google字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

body {
    font-family: 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 80%;
    max-height: 90vh;
    overflow: hidden;
}

.title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.file-input {
    display: block;
    margin: 0 auto 20px;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    width: 80%;
    background: #fff;
    text-align: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.file-input:hover {
    border-color: #333;
}

.button-group {
    text-align: center;
    margin-bottom: 20px;
}

.btn {
    background: #ff7675;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: #e74c3c;
}

.table-container {
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    background: #fff;
}

.table th {
    background: #f7f7f7;
}

.table tbody tr:hover {
    background-color: #f1f1f1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 响应式设计 */
@media screen and (max-width: 600px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .file-input {
        width: 100%;
        font-size: 14px;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
    }
}
