/* 样式重置和全局设置 */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

/* 页面头部样式 */
header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
header h1 {
    margin: 0;
}

/* 容器样式，用于包裹内容 */
.container {
    padding: 10px;
}

/* 区块样式，用于分隔不同内容区域 */
.section {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* 防止内容溢出 */
}

/* 区块标题样式 */
.section-title {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    font-size: 18px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* 区块内容样式 */
.section-content {
    padding: 15px;
}

/* 输入组样式，用于包裹输入框和标签 */
.input-group {
    margin-bottom: 15px;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.input-group button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* 添加过渡效果 */
}
.input-group button:hover {
    background-color: #0056b3; /* 鼠标悬停时改变背景色 */
}

/* 最近一次巡检记录和当前巡检人员样式 */
.last-inspection,
.personnel {
    text-align: center;
    padding: 15px;
}
.last-inspection p,
.personnel p {
    margin: 5px 0;
    font-size: 16px;
}
.personnel img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* 响应式设计，确保在小屏幕上也能良好显示 */
@media (max-width: 600px) {
    .section-title {
        font-size: 16px;
    }
    .input-group input,
    .input-group select,
    .input-group button {
        font-size: 14px;
        padding: 8px;
    }
    .last-inspection p,
    .personnel p {
        font-size: 14px;
    }
}