/* 通用样式 */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  align-items: center;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 16px;
}

p {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 10px 16px 10px;
}

.container {
  max-width: 390px;
  margin: 0 auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
}

/* 菜单样式 */
ul.menu {
  flex-direction: row;
  align-items: center;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style-type: none;
  display: flex;
  padding: 0;
  margin-top: 20px;
  margin-left: 20px;
}

.menu li {
  margin-right: 20px;
  text-align: center;
}

.menu li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
  margin-right: 10px;
}

.menu li a:hover {
  color: red;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-row label {
  flex: 1;
  font-weight: bold;
}

.form-row input,
select {
  text-align: left;
  width: 100%;
  flex: 1;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

input[type="number"],
input[type="text"] {
  border: 1px solid black;
  width: 180px;
  margin-left: 0;
}

.button-container {
  display: flex;
  justify-content: space-between;
}

.form-row.full-width {
  justify-content: space-between;
}

.form-row button {
  margin-right: 120px;
}

.form-row button:last-child {
  margin-right: 0;
}

.form-row button:first-child,
#showMoreButton {
  position: relative;
  left: 50px;
  margin-left: 80px;
}

/* 必填字段样式 */
.required {
  color: red;
}

/* 额外样式 */
hr {
  border-top: 1px solid #ccc;
  margin-bottom: 15px;
}

.red-text {
  color: red;
}

#iframe1,
#iframe2,
#iframe3,
#iframe4,
#iframe5,
#iframe6,
#iframe7,
#iframe8,
#iframe9,
#iframe10,
#iframe98,
#iframe99,
#iframe100 {
  min-height: 800px;
  width: 100%;
}

iframe {
    border-top: 3px solid #ccc; /* 设置上边框为灰色实线，宽度为 1 像素 */
    width: 100%;
    /*border: none;*/
    height: 100vh;
}

.vertical-type {
  font-weight: bold;
}

/* 定义tooltip的基本样式 */
.tooltip {
  display: none;
  position: fixed;
  background-color: #f0f0f0;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  font-size: 12px;
  color: #333;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-style: italic;
}

/* 当触发元素获得焦点或鼠标悬停时，显示tooltip */
.tooltip-toggle:focus .tooltip,
.tooltip-toggle:hover .tooltip {
  display: flex;
}

/* 征信授权二维码弹出框 */
.qrcode-popup {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

/* 专用计算器表头排列方式 */
.form-row.text-center {
  display: flex;
  flex-direction: row;
  align-items: center;
}