
/* 通用样式重置，去除默认的外边距、内边距等，设置盒模型为 border-box */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9; /* 页面整体背景色 */
}

/* 头部样式 */
.header {
    background-color: #2c3e50; /* 头部背景色 */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.info.profile {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    z-index: 100;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

.dropdown:hover.dropdown-menu {
    display: block;
}

.btn.dropdown-toggle {
    cursor: pointer;
}

/* 主体内容布局 */
.content {
    display: flex;
    margin-top: 20px;
}

/* 侧边栏样式 */
.aside {
    width: 220px;
    background-color: #ecf0f1; /* 侧边栏背景色 */
    padding: 20px;
}

.aside ul {
    list-style: none;
}

.aside ul li {
    margin-bottom: 15px;
}

.aside ul li a {
    display: block;
    text-decoration: none;
    color: #555;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.aside ul li a.active {
    background-color: #3498db; /* 激活状态的侧边栏菜单项背景色 */
    color: white;
}

.aside ul li a:hover {
    background-color: #d5dbdb; /* 鼠标悬停侧边栏菜单项背景色 */
}

.cprt {
    margin-top: 30px;
    font-size: 12px;
    color: #888;
}

/* 主要内容区域样式 */
.main {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title h4 {
    font-size: 20px;
}

.title a {
    text-decoration: none;
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pagination li a:hover {
    background-color: #f5f5f5;
}

/* 模态框（删除确认弹出框）样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-dialog {
    width: 500px;
    margin: 10% auto;
}

.modal-content {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ccc;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    border-top: 1px solid #ccc;
}

.modal-footer button {
    margin-left: 10px;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}