/* === 公共样式 === */
body {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
}

/* 按钮组布局 */
.button-group {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    gap: 0.5rem; /* 按钮之间保持 0.5rem 的间距 */
}
/* 模态框样式 */
.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);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 表格样式 */
table {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table th {
    background-color: #f8f9fa;
}

table tr:hover {
    background-color: #f1f3f5;
}

/* 按钮动效 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

/* === 底部样式 === */
.footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}