body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: white; /*f4f4f4*/

    margin: 0;
    padding-top: 40px; /* 调整顶部栏的高度，以防止遮挡内容 */
    font-size: 16px;
}


label {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

#hiddenForm {
    width: 100%;
}

.top_bar {
    position: fixed;
    top: 1px;
    left: 50%;
    width: 100%;
    height: 46px;
    background-color: white;
    padding: 2px;
    color: #333;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    margin: auto;
    transition: background-color 0.3s ease; /* 添加过渡效果 */
}

.top_bar:hover {
    font-size: 36px;
    background-color: green; /* 鼠标经过时的背景颜色 */
    color: white;
}

.top_bar.a:hover {
    font-size: 36px;
    background-color: green; /* 鼠标经过时的背景颜色 */
    color: white;
}


form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 330px;
    margin: auto;
    margin-top: 20px; /* 添加上间距 */
}


label[for^="option"] {
    font-size: 1.2em;
    cursor: pointer; /* 将鼠标指针设置为手型，以表示可点击 */
    display: inline-block;
    margin-bottom: 5px;
}

label {
    vertical-align: middle;
    font-weight: bold;
    /*color: #0066cc; !* 蓝色 *!*/

}

label[for^="optionA"] {
    color: #009900; /* 绿色 */
}

label[for^="optionB"] {
    color: #9933cc; /* 紫色 */
}

input[type="radio"] {
    cursor: pointer; /* 将鼠标指针设置为手型，以表示可点击 */
    padding: 15px 15px;
    vertical-align: middle;
    margin-right: 5px;
    /* display: none;*/ /* 隐藏原始的radio按钮 */
}

label {
    padding: 15px 20px;
    vertical-align: middle;
    margin-bottom: 10px;
    margin-right: 20px; /* 增加radio之间的间距 */
}

label:hover:is([id^="lblopt"]) {
    font-size: 26px; /* 1.2 倍放大 */
    font-weight: bold;
    color: blue;
}

label:hover:is([id^="question"]) {
    font-size: 22px;
    font-weight: bold;
    color: green;
}


label:not([for^="question"]), input[type="radio"] {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0px; /* 调整radio与label之间的间距 */

}

#submit {
    width: 90%;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

label:hover {
    text-decoration: none; /* 移除悬停时的下划线效果 */
}

h3 {
    /* text-align: center; */
    text-align: left;
}


#Reporthtml { /* 定义一个名为 #Reporthtml 的选择器 */
    position: fixed; /* 元素固定在页面上，不会随着滚动而移动 */
    top: 50%; /* 元素垂直居中 */
    left: 50%; /* 元素水平居中 */
    transform: translate(-50%, -50%); /* 元素相对于自身中心进行平移，使其在页面中心位置 */
    background-color: lightskyblue; /* 元素背景颜色为白色 */
    padding: 20px; /* 元素内边距为 20px */
    border-radius: 5px; /* 元素边框半径为 5px */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 元素添加阴影效果 */
    display: none; /* 元素初始时隐藏 */
    z-index: 999; /* 元素的堆叠顺序，确保其在其他元素上方显示 */
    opacity: 0.80; /* 元素的透明度，取值范围为 0（完全透明）到 1（完全不透明） */
    flex-direction: column; /* 元素的子元素排列方式为垂直排列 */
    align-items: center; /* 元素的子元素在垂直方向上居中对齐 */
    justify-content: center; /* 元素的子元素在水平方向上居中对齐 */
}

/* 链接样式 */
#Reporthtml a {
    color: #4c78a8; /* 蓝色链接 */
    text-decoration: none;
    transition: color 0.3s; /* 过渡效果 */
}

#Reporthtml a:hover {
    color: #29537a; /* 鼠标经过时颜色变深 */
}

/* 复制内容容器样式 */
#loadingMessage {
    padding: 10px;
    border: 1px solid #ddd; /* 灰色边框 */
    border-radius: 5px;
    margin-bottom: 10px;
    min-height: 50px; /* 根据需要调整 */
}


/* 复制内容容器样式 */
#copyContent {
    padding: 10px;
    border: 1px solid #ddd; /* 灰色边框 */
    border-radius: 5px;
    margin-bottom: 10px;
    min-height: 50px; /* 根据需要调整 */
}

/* 复制按钮样式 */
.copyButton {
    background-color: #5cb85c; /* 绿色按钮 */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s; /* 过渡效果 */
}

.copyButton:hover {
    background-color: #4cae4c; /* 鼠标经过时颜色变深 */
}

/* 复制按钮样式 */
#close-button {
    background-color: #5cb85c; /* 绿色按钮 */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s; /* 过渡效果 */
    margin-left: 10px; /* 增加左边距 */
}

#close-button:hover {
    background-color: #4cae4c; /* 鼠标经过时颜色变深 */
}

/* 其他可能的响应式布局样式，例如媒体查询 */
@media (max-width: 600px) {
    #Reporthtml {
        width: 90%; /* 小屏幕时调整宽度 */
    }

    input[id="submit"] {
        margin: 0px 0;
        width: 50%;
    }
}

