.ynjy-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.ynjy-map-wrapper {
  position: relative;
  width: 50%;
  height: 100%;
}
.ynjy-map-wrapper .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.ynjy-map-wrapper .bg img {
  width: 100%;
  height: auto;
  object-fit: fill;
}
.ynjy-map-wrapper .ynjy-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 650px;
  z-index: 2;
}

.ynjy-popup {
  display: none;
  position: absolute;
  top: 40%;
  left: 0;
  width: 298px;
  padding: 40px 30px;
  z-index: 3;
  background: url("/template/1/default/images/home/bk/popup-bg.png") no-repeat
    left top;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ynjy-popup .close {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 3;
}
.ynjy-popup .close img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.ynjy-popup .popup-content {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ynjy-popup .popup-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.ynjy-popup .popup-content .content {
  width: 100%;
  font-size: 14px;
  color: #555;
  line-height: 2;
  text-indent: 2em;
  text-align: left;
}

.ynjy-popup .popup-content .content p {
  text-align: left;
  line-height: 24px;
}

.bold {
  color: #000;
  font-weight: 500;
}
.brown {
  color: #8b4513;
}
.red {
  color: #f2494c;
}
.green {
  color: #4caf50;
}

.ynjy-map-wrapper .ynjy-map .item {
  position: absolute;
  top: 0;
  left: 0;
  width: fit-content;
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  z-index: 2;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding-left: 25px;
  cursor: pointer;
}

.ynjy-map-wrapper .ynjy-map .item::before {
  /* 城市名称前面的小点 */
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #5055d0;
  background: rgba(80, 85, 208, 0.2);
  border-radius: 50%;
}
.ynjy-map-wrapper .ynjy-map .item::after {
  /* 城市名称前面的小点 */
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #5055d0;
  border-radius: 50%;
}

.ynjy-map-wrapper .ynjy-map .item.active::before {
  border: 2px solid #f2494c;
  background: rgba(242, 73, 76, 0.2);
}

.ynjy-map-wrapper .ynjy-map .item.active::after {
  background: #f2494c;
}

.ynjy-table-wrapper {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  box-sizing: border-box;
}

/* 表格容器 */
.ynjy-table-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
}

/* 表格标题栏 */
.table-header {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  padding: 15px 20px;
  position: relative;
}

.table-title {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.table-title::after {
  /* 添加按钮 */
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("/template/1/default/images/jia.png") no-repeat center center;
  background-size: 100% 100%;
  cursor: pointer;
}

/* 表格样式 */
.ynjy-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.ynjy-table thead {
  background: #f8f9fa;
}

.ynjy-table th {
  padding: 12px 15px;
  text-align: center;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e9ecef;
  font-size: 14px;
}

.ynjy-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
  color: #666;
  transition: background-color 0.2s ease;
}

.ynjy-table tbody tr:hover {
  background-color: #f8f9fa;
}

.ynjy-table tbody tr:last-child td {
  border-bottom: none;
}

/* 表格列宽调整 */
.ynjy-table th:nth-child(1),
.ynjy-table td:nth-child(1) {
  width: 25%;
}

.ynjy-table th:nth-child(2),
.ynjy-table td:nth-child(2) {
  width: 25%;
}

.ynjy-table th:nth-child(3),
.ynjy-table td:nth-child(3) {
  width: 25%;
}

.ynjy-table th:nth-child(4),
.ynjy-table td:nth-child(4) {
  width: 25%;
}
