body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 350px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 登录按钮样式 */
.login-btn {
    padding: 0.75rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    width: 100%;
    margin: 1rem auto;
    max-width: 200px;
    text-align: center;
}

.login-btn:hover {
    background-color: #45a049;
}

/* 文件管理页面样式 */
.dashboard {
    padding: 2rem;
}

.file-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#uploadForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

#fileInput {
    padding: 0.75rem;
    border: 2px dashed #667eea;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.05);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#fileInput:hover {
    background: rgba(102, 126, 234, 0.1);
}

.upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.status-message {
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.status-message.show {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 1rem;
}

.status-success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.status-error {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border-left: 4px solid #c62828;
}

.file-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.file-list li {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.file-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.file-name {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    word-wrap: break-word;
    white-space: normal;
    padding-right: 20px;
}

.action-btn {
    padding: 0.5rem 0.8rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
    margin-left: auto;
}

.action-btn:hover {
    background: #5a6fd1;
    transform: translateY(-1px);
}

.file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.file-header h2 {
    margin: 0;
    flex: 1;
    min-width: 100px;
}

.file-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.file-actions button {
    min-width: 100px;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-actions button:hover {
    background: #5a6fd1;
    transform: translateY(-1px);
}

.file-actions button#clearFiles {
    background: #f44336;
}

.file-actions button#clearFiles:hover {
    background: #d32f2f;
}

.file-actions button#openUploads {
    background: #4CAF50;
}

.file-actions button#openUploads:hover {
    background: #45a049;
}

/* 备案信息样式 - 固定在页面底部 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 1rem 0;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

/* 为页面内容添加底部内边距，防止被备案信息遮挡 */
body {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .footer-content {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}
