.title h2 {
    text-align: center;
    margin-top: 80px;
}

table {
    width: 60%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 150px auto;
    margin-top: 0px;
    z-index: 1000;
}

table,
th,
td {
    border: 1px solid #ddd;
}

th,
td {
    padding: 8px;
    text-align: left;
}

td {
    color: #ffffff;
}

th {
    background-color: #f2f2f2;
}

tr a {
    color: #ffffff;
}

#uploadStatus {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3e50;
}

#uploadMessage {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#selectFileBtn {
    padding: 8px 16px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

#selectedFileName {
    margin-left: 10px;
    color: #666;
}

#submitBtn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#submitBtn:hover {
    background-color: #45a049;
}

#submitBtn-modal {
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#submitBtn-modal:hover {
    background-color: #45a049;
}

.catalog-delete-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ================================================
   响应式布局
   ================================================ */
@media screen and (max-width: 1199px) {
    table { width: 85%; }
    .title h2 { margin-top: 140px; }
    .modal-content { width: 60%; }
    .catalog-wrapper { margin-bottom: 150px; }
}
@media screen and (max-width: 991px) {
    table { width: 85%; }
    .title h2 { margin-top: 140px; }
    .modal-content { width: 60%; }
    .catalog-wrapper { margin-bottom: 120px; }
}
@media screen and (max-width: 767px) {
    table { width: 95%; font-size: 13px; }
    th, td { padding: 6px; }
    .title h2 { margin-top: 120px; font-size: 20px; }
    .modal-content { width: 90%; }
    .catalog-wrapper { margin-bottom: 100px; }
}
@media screen and (max-width: 480px) {
    table { width: 98%; font-size: 12px; }
    th, td { padding: 4px; }
    .title h2 { font-size: 18px; }
    .catalog-wrapper { margin-bottom: 80px; }
}