/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding: 20px;
}

/* 主要容器 */
.container {
    max-width: 90%;
    width:90%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
h1, h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

/* 导航菜单 */
.navbar {
    text-align: center;
    margin-bottom: 20px;
}

.navbar a {
    text-decoration: none;
    color: #4CAF50;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 6px;
    transition: 0.3s;
}

.navbar a:hover {
    background: #4CAF50;
    color: white;
}

/* 表单样式 */
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 20px auto;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* 按钮样式 */
.button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #388E3C;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background: #f2f2f2;
}

/* "表示区分" 单选按钮的整体布局 */
.radio-group {
    display: flex;
    flex-direction: row;
    gap: 15px; /* 让每个选项之间有一点间距 */
    align-items: center;
}

/* 单选按钮 + 文本保持水平对齐 */
.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px; /* 单选框和文本之间的间距 */
    white-space: nowrap;
}

/* 美化单选按钮 */
.radio-group input[type="radio"] {
    accent-color: #4CAF50; /* 让选中的单选按钮变成绿色 */
    cursor: pointer;
}