/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2 {
    color: #444;
    font-size: 1.8em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

table td {
    font-size: 0.9em;
}

h2 {
    margin-top: 30px;
    font-size: 1.6em;
}

h1 {
    text-align: center;
    font-size: 2em;
    color: #333;
}

/* For device status */
.status {
    padding: 5px 10px;
    border-radius: 4px;
}

.status-active {
    background-color: #4CAF50;
    color: white;
}

.status-inactive {
    background-color: #f44336;
    color: white;
}

.status-unknown {
    background-color: #ff9800;
    color: white;
}

/* 配置匹配时的状态 */
.status-matched {
    color: rgb(0, 0, 0);  /* 黑色表示匹配 */
    font-weight: bold;
}

/* 配置不匹配时的状态 */
.status-mismatched {
    color: red;  /* 红色表示不匹配 */
    font-weight: bold;
}

.button {
    padding: 5px 10px;
    margin: 2px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.button:hover {
    background-color: #0056b3;
}