/* ===== ny-right 整体美化 ===== */

/* 搜索卡片 - 居中布局 */
div.ny-right > div:nth-of-type(2) form {
  padding: 20px 30px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  font-size: 14px;
  color: #333;}

/* 标签文本 */
div.ny-right > div:nth-of-type(2) form span.ai-label {
  font-weight: 500;
  color: #444;
  white-space: nowrap;}

/* 省份下拉框 */
div.ny-right > div:nth-of-type(2) form select#sf {
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  color: #333;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  min-width: 160px;
  height: 40px;
  line-height: 1;
  transition: border-color 0.2s, box-shadow 0.2s;}

div.ny-right > div:nth-of-type(2) form select#sf:hover {
  border-color: #0849a3;}

div.ny-right > div:nth-of-type(2) form select#sf:focus {
  border-color: #0849a3;
  box-shadow: 0 0 0 3px rgba(8, 73, 163, 0.1);
  outline: none;}

/* 年份输入框 */
div.ny-right > div:nth-of-type(2) form input.zs_input {
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  height: 40px;
  line-height: 1;
  width: 150px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;}

div.ny-right > div:nth-of-type(2) form input.zs_input:hover {
  border-color: #0849a3;}

div.ny-right > div:nth-of-type(2) form input.zs_input:focus {
  border-color: #0849a3;
  box-shadow: 0 0 0 3px rgba(8, 73, 163, 0.1);
  outline: none;}

/* 查询按钮 */
div.ny-right > div:nth-of-type(2) form input.zs_btn {
  background: #0849a3;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 32px;
  font-size: 14px;
  height: 40px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 500;
  letter-spacing: 1px;}

div.ny-right > div:nth-of-type(2) form input.zs_btn:hover {
  background: #063580;}

div.ny-right > div:nth-of-type(2) form input.zs_btn:active {
  background: #052a66;}

/* 表格样式 */
div.ny-right > div:nth-of-type(3) table.zs_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #333;
  background: #fff;
  border: 1px solid #e4e8ee;
  table-layout: auto;}

div.ny-right > div:nth-of-type(3) table.zs_table td {
  padding: 9px 10px;
  border: 1px solid #e8ecf1;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;}

div.ny-right > div:nth-of-type(3) table.zs_table td.zs_title {
  background: #0849a3;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-color: #073d8a;
  white-space: nowrap;
  word-break: normal;}

/* 斑马纹 */
div.ny-right > div:nth-of-type(3) table.zs_table tbody tr:nth-child(even) {
  background: #f7f9fc;}

div.ny-right > div:nth-of-type(3) table.zs_table tbody tr:hover {
  background: #edf2fa;}

/* 省控线、录取人数 - 数据行加粗主题色 */
div.ny-right > div:nth-of-type(3) table.zs_table td:nth-child(7),
div.ny-right > div:nth-of-type(3) table.zs_table td:nth-child(8) {
  font-weight: 600;
  color: #0849a3;}

/* 表头中的省控线/录取人数保持白色 */
div.ny-right > div:nth-of-type(3) table.zs_table td.zs_title:nth-child(7),
div.ny-right > div:nth-of-type(3) table.zs_table td.zs_title:nth-child(8) {
  color: #fff;
  font-weight: 600;}

/* 分数列使用等宽数字 */
div.ny-right > div:nth-of-type(3) table.zs_table td:nth-child(5),
div.ny-right > div:nth-of-type(3) table.zs_table td:nth-child(6) {
  font-variant-numeric: tabular-nums;
  font-family: "Consolas", "Microsoft YaHei", monospace;
  font-size: 12.5px;}
