* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    background: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.login-box, .main-box {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

input, select, button {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0056b3;
}

button.delete-btn {
    background: #dc3545;
}

button.delete-btn:hover {
    background: #c82333;
}

.file-list {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-meta {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.hidden {
    display: none;
}

.msg {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.msg.success {
    background: #d4edda;
    color: #155724;
}

.msg.error {
    background: #f8d7da;
    color: #721c24;
}