body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fc;
}

.container {
    display: flex;
}


/* 隐藏默认的下拉箭头 */
select {
    appearance: none; /* 适用于大多数浏览器 */
    -webkit-appearance: none; /* Safari 和 Chrome */
    -moz-appearance: none; /* Firefox */
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* 使用伪元素添加自定义下拉箭头 */
select::after {
    content: '\25BC'; /* Unicode 下拉箭头符号 */
    font-size: 12px;
    color: #333;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* 样式化每个选项 */
.site-option {
    padding: 10px;
    text-align: center;
    color: #fff;
}

/* 站点1的背景色 */
.site1 {
    background-color: #FFCCCB;
}

/* 站点2的背景色 */
.site2 {
    background-color: #FFFF99;
}

/* 站点3的背景色 */
.site3 {
    background-color: #99FF99;
}

/* 如果需要，可以为每个选项设置 hover 效果 */
select option:hover {
    opacity: 0.8;
}














.sidebar {
    width: 200px;
    background-color: #343a40;
    color: #fff;
    padding: 20px;
}

.sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.content {
    flex-grow: 1;
    padding: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f7fc;
}

.delete-btn {
    color: red;
    text-decoration: none;
    font-size: 14px;
}

.delete-btn:hover {
    text-decoration: underline;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 400px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
