﻿/* 基础响应式设置 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
   font-size:12px;
}
 
/* 响应式容器，控制显示宽度，太长后可以进行左右滑动 */
.responsive-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}
 /* 容器内超链接基础样式（可选重置默认样式） */
.responsive-container a {
    /* 可选：去掉超链接默认下划线，根据设计需求决定是否保留 */
    text-decoration: none;
    /* 确保过渡效果平滑，提升交互体验 */
    transition: color 0.2s ease;
}

/* 鼠标滑过超链接的样式 */
.responsive-container a:hover {
    /* 字体变为红色 */
    color: red;
    /* 鼠标指针变为手指样式 */
    cursor: pointer;
}
/*----------标准table表格样式开始---------------------*/
/* 根变量定义 - 必须前置，否则输入框/下拉框的变量引用全部失效 */
:root {
  --border-color: #ddd;
  --border-radius: 4px;
  --text-color: #333;
  --bg-color: #ffffff;
  --transition: all 0.3s ease;
  --primary-color: #4a90e2;
  --shadow-focus: 0 0 0 2px rgba(74, 144, 226, 0.2);
  --disabled-bg: #f5f5f5;
  --error-color: #ff4757;
  --success-color: #2ecc71;
  --text-light: #999;
}


/*----------标准table表格样式开始---------------------*/
/* 响应式表格样式 */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color:black;
}
 
/* 表格表头样式 */
.responsive-table thead th {
    background-color: #4a4a4a;
    color: black;
    padding: 0 15px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ddd;
    vertical-align: middle;
    height: 32px;
    line-height: 32px;
}
 
/* 表格单元格样式 */
.responsive-table tbody td {
    padding: 0 15px;
    border: 1px solid #ddd;
    vertical-align: middle;
    text-align: center;
    height: 32px;
    line-height: 32px;
    color:black;
}
 /* 新增：td1 右对齐样式（覆盖默认居中） */
.responsive-table tbody td.td1 {
    text-align: right !important;
}
/* 新增：td2 左对齐样式（覆盖默认居中） */
.responsive-table tbody td.td2 {
    text-align: left !important;
}

/* 奇偶行颜色 */
.responsive-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}
.responsive-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* 鼠标悬停效果-保留注释，按需开启 */
/*.responsive-table tbody tr:hover {
    background-color: #f1f1f1;
}*/
 

/* ========== 核心需求：表格内所有表单控件样式 开始 ========== */
/* 标准输入框样式 - input[type=text]/TextBox */
.responsive-table input[type="text"],
.input-field,
.textarea-field {
 width: 100%;
  max-width: 300px; /* 电脑端默认最大宽度 */
  min-width: 50px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
}
 
/* 文本域特定样式 */
.responsive-table textarea,
.textarea-field {
  min-height: 30px;
  resize: vertical;
  line-height: 1.5;
}
 
/* 输入框悬停状态 */
.responsive-table input[type="text"]:hover,
.responsive-table textarea:hover,
.input-field:hover,
.textarea-field:hover {
  border-color: #bbb;
}
 
/* 输入框聚焦状态 */
.responsive-table input[type="text"]:focus,
.responsive-table textarea:focus,
.input-field:focus,
.textarea-field:focus {
  outline: none;
  border-color: var(--primary-color);
	box-shadow: var(--shadow-focus);
}
 
/* 禁用状态 */
.responsive-table input[type="text"]:disabled,
.responsive-table textarea:disabled,
.input-field:disabled,
.textarea-field:disabled {
  background-color: var(--disabled-bg);
  color: #999;
  cursor: not-allowed;
}
 
/* 错误状态 */
.responsive-table input[type="text"].error,  
.responsive-table textarea.error,
.input-field.error,  
.textarea-field.error   {
  border-color: var(--error-color);
}
.responsive-table input[type="text"].error:focus,  
.responsive-table textarea.error:focus,
.input-field.error:focus,  
.textarea-field.error:focus   {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}
.error-message {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}
 
/* 成功状态 */
.responsive-table input[type="text"].success,  
.responsive-table textarea.success,
.input-field.success,  
.textarea-field.success   {
  border-color: var(--success-color);
}
.responsive-table input[type="text"].success:focus,  
.responsive-table textarea.success:focus,
.input-field.success:focus,  
.textarea-field.success:focus   {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}
 
/* 带有图标的输入框 */
.input-with-icon {
  position: relative;
}
.input-with-icon .input-field,
.input-with-icon input[type="text"] {
  padding-left: 2.5rem;
}
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
/* ========== 修复：表格内 Button + FileUpload 样式重置【必须加，解决核心问题】 ========== */
/* 1. 表格内 所有按钮 样式重置 (包含<button>标签 + input类型按钮) */
.responsive-table button,
.responsive-table input[type="button"],
.responsive-table input[type="submit"],

.responsive-table input[type="reset"] {
    /* 重置被污染的核心属性，恢复按钮默认行为 */
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 0.4rem 0.8rem !important; /* 按钮合适的内边距，可自行调整 */
    font-size: 0.8rem !important;
    border: none !important; /* 取消继承的边框，可自定义 */
    border-radius: var(--border-radius) !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    cursor: pointer;
    transition: var(--transition) !important;
    box-sizing: border-box !important;
}

.responsive-table input[type="radio"] 
{
  all: unset;
  all: initial;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.responsive-table input[type="checkbox"] 
{
  all: unset;
  all: initial;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}
/* 按钮悬停/禁用状态 */
.responsive-table button:hover,
.responsive-table input[type="button"]:hover,
.responsive-table input[type="submit"]:hover {
    opacity: 0.9;
}
.responsive-table button:disabled,
.responsive-table input[type="button"]:disabled,

.responsive-table input[type="submit"]:disabled {
    background-color: var(--disabled-bg) !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 1;
}
.responsive-table input[type="radio"]:disabled{
      cursor: not-allowed;
}
.responsive-table input[type="checkbox"]:disabled{
      cursor: not-allowed;
}
/* 2. 表格内 文件上传控件(FileUpload) 样式重置 */
.responsive-table input[type="file"] {
    /* 重置被污染的核心属性，恢复文件框默认行为 */
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    padding: initial !important; /* 恢复浏览器默认内边距 */
    font-size: 0.75rem !important;
    border: none !important; /* 文件框取消边框，原生样式更合适 */
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    appearance: auto !important;
}

/* 3. 响应式媒体查询中 补充按钮/文件框的重置 (防止手机端再次被污染) */
@media screen and (max-width: 768px) {
    .responsive-table button,
    .responsive-table input[type="button"],
    .responsive-table input[type="submit"],
   .responsive-table input[type="radio"],
    .responsive-table input[type="checkbox"],
    .responsive-table input[type="file"] {
        width: auto !important;
        max-width: none !important;
        padding: 0.5rem 0.7rem !important;
        font-size: 0.85rem !important;
    }
}
@media screen and (max-width: 480px) {
    .responsive-table button,
    .responsive-table input[type="button"],
    .responsive-table input[type="submit"],
    .responsive-table input[type="radio"],
    .responsive-table input[type="checkbox"],
    .responsive-table input[type="file"] {
        width: auto !important;
        max-width: none !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
}
/* 表格内 DropDownList 样式 (对应原生select标签) */
.responsive-table select,
.adaptive-dropdown {
   /* 基础样式 */
    width: 100%;
    font-size: 12px;
    padding: 0.5rem 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    
    /* 默认电脑端宽度设置 */
/*    width: auto;*/
    max-width: 300px;
    min-width: 100px;
    
    /* 箭头样式 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg'   viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px;
    
    /* 过渡效果 */
    transition: border-color 0.3s, box-shadow 0.3s;
    
    /* 确保padding和border不影响总宽度 */
    box-sizing: border-box;
}
/* 下拉框悬停状态 */
.responsive-table select:hover,
.adaptive-dropdown:hover {
    border-color: #999;
}
/* 下拉框聚焦状态 */
.responsive-table select:focus,
.adaptive-dropdown:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}
/* 下拉框禁用状态 */
.responsive-table select:disabled,
.adaptive-dropdown:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
/* ========== 核心需求：表格内所有表单控件样式 结束 ========== */

/* ECharts 容器样式 */
.echarts-container {
    width: 100%;
    height: 400px;
    margin: 20px 0;
}
 
/* 响应式媒体查询 */
@media screen and (max-width: 768px) {
    .responsive-table thead th,
    .responsive-table tbody td {
        padding: 8px 10px;
        font-size: 14px;
    }
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pdf-column {
        min-width: 300px !important;
        width: 300px !important;
    }
    .echarts-container {
        height: 300px;
    }
    /* 平板端表单控件适配 */
    .responsive-table input[type="text"],
    .responsive-table select,
    .input-field,
    .textarea-field,
    .adaptive-dropdown {
        width:100px;
        max-width: 100px;
        padding: 0.65rem 0.9rem;
        font-size: 0.9rem;
    }
    .input-icon {
        left: 0.8rem;
    }
    .input-with-icon .input-field,
    .input-with-icon input[type="text"] {
        padding-left: 2.2rem;
    }
}
 
@media screen and (max-width: 480px) {
    .responsive-table thead th,
    .responsive-table tbody td {
        padding: 6px 8px;
        font-size: 13px;
    }
    .pdf-column {
        min-width: 300px !important;
        width: 300px !important;
    }
    .echarts-container {
        height: 250px;
    }
    /* 手机端表单控件适配 */
    .responsive-table input[type="text"],
    .responsive-table select,
    .input-field,
    .textarea-field,
    .adaptive-dropdown {
        width:100px;
        max-width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}/*----------标准table表格样式结束---------------------*/






/*----------table表格无边框和线条样式开始，用于查询---------------------*/
 
/* 根变量定义 - 必须前置！缺失则表单样式全部失效，完整补全 */
:root {
  --border-color: #ddd;
  --border-radius: 4px;
  --text-color: #333;
  --bg-color: #ffffff;
  --transition: all 0.3s ease;
  --primary-color: #4a90e2;
  --shadow-focus: 0 0 0 2px rgba(74, 144, 226, 0.2);
  --disabled-bg: #f5f5f5;
  --error-color: #ff4757;
  --success-color: #2ecc71;
  --text-light: #999;
}

/*----------table表格无边框和线条样式开始---------------------*/
.responsive-table-noborder {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: none;
  background-color: #f9f9f9;
  color: black;
}
 
/* Default table styles (desktop) */
.responsive-table-noborder thead th {
  color: black;
  padding: 0 15px;
  text-align: center;
  font-weight: bold;
  border: none;
  vertical-align: middle;
  height: 35px;
  line-height: 35px;
  background-color: #f9f9f9;
}
 
.responsive-table-noborder tbody td {
  padding: 0 15px;
  border: none;
  vertical-align: middle;
  text-align: center;
  height: 35px;
  line-height: 35px;
  color: black;
  background-color: #f9f9f9;
}
/* 新增：td1 右对齐样式（覆盖默认居中） */
.responsive-table-noborder tbody td.td1 {
    text-align: right !important;
}
/* 新增：td2 左对齐样式（覆盖默认居中） */
.responsive-table-noborder tbody td.td2 {
    text-align: left !important;
}

/* Mobile responsiveness */
@media screen and (max-width: 1024px) {
  .responsive-table-noborder {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    background-color: #f9f9f9;
    padding-top:20px;
  }
  
  .responsive-table-noborder thead {
    display: table-header-group;
    background-color: #f9f9f9;
  }
  
  .responsive-table-noborder tbody {
    display: table-row-group;
    background-color: #f9f9f9;
  }
  
  .responsive-table-noborder tr {
    display: table-row;
    background-color: #f9f9f9;
  }
  
  .responsive-table-noborder th,
  .responsive-table-noborder td {
    display: table-cell;
    min-width: 100px;
    white-space: normal;
    word-wrap: break-word;
    background-color: #f9f9f9;
  }
  
  /* For very small screens (phones) */
  @media screen and (max-width: 480px) {
    .responsive-table-noborder th,
    .responsive-table-noborder td {
      padding: 8px 10px;
      font-size: 0.9em;
    }
  }
}
/*----------table表格无边框和线条样式结束---------------------*/

/* ============= 核心需求：无边框表格内 所有表单控件样式 开始 ============= */
/* 标准输入框样式 - 表格内TextBox(input[type=text])、独立.input-field、textarea通用 */
.responsive-table-noborder input[type="text"],
.input-field,
.textarea-field,
.responsive-table-noborder textarea {
  width: 100%;
  max-width: 300px; /* 电脑端默认最大宽度 */
  min-width: 50px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
}
 
/* 文本域特定样式 - 表格内textarea + 独立textarea-field */
.responsive-table-noborder textarea,
.textarea-field {
  min-height: 30px;
  resize: vertical;
  line-height: 1.5;
}
 
/* 输入框悬停状态 */
.responsive-table-noborder input[type="text"]:hover,
.responsive-table-noborder textarea:hover,
.input-field:hover,
.textarea-field:hover {
  border-color: #bbb;
}
 
/* 输入框聚焦状态 - 高亮边框+聚焦阴影 */
.responsive-table-noborder input[type="text"]:focus,
.responsive-table-noborder textarea:focus,
.input-field:focus,
.textarea-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-focus);
}
 
/* 输入框禁用状态 - 灰化不可点击 */
.responsive-table-noborder input[type="text"]:disabled,
.responsive-table-noborder textarea:disabled,
.input-field:disabled,
.textarea-field:disabled {
  background-color: var(--disabled-bg);
	color: #999;
	cursor: not-allowed;
}
 
/* 输入框错误状态 */
.responsive-table-noborder input[type="text"].error,  
.responsive-table-noborder textarea.error,
.input-field.error,  
.textarea-field.error   {
  border-color: var(--error-color);
}
.responsive-table-noborder input[type="text"].error:focus,  
.responsive-table-noborder textarea.error:focus,
.input-field.error:focus,  
.textarea-field.error:focus   {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}
/* 错误提示文本样式 */
.error-message {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}
 
/* 输入框成功状态 */
.responsive-table-noborder input[type="text"].success,  
.responsive-table-noborder textarea.success,
.input-field.success,  
.textarea-field.success   {
  border-color: var(--success-color);
}
.responsive-table-noborder input[type="text"].success:focus,  
.responsive-table-noborder textarea.success:focus,
.input-field.success:focus,  
.textarea-field.success:focus   {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}
 
/* 带有图标的输入框容器样式 */
.input-with-icon {
  position: relative;
}
.input-with-icon .input-field,
.input-with-icon input[type="text"] {
  padding-left: 2.5rem;
}
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* ========= 表格内DropDownList样式 (原生select标签) + 独立.adaptive-dropdown 通用 ========= */
.responsive-table-noborder select,
.adaptive-dropdown {
     /* 基础样式 */
    font-size: 12px;
    padding: 0.5rem 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    
    /* 默认电脑端宽度设置 */
  /*  width: auto;*/
     width: 100%;
    max-width: 300px;
    min-width: 100px;
    
    /* 箭头样式 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg'   viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px;
    
    /* 过渡效果 */
    transition: border-color 0.3s, box-shadow 0.3s;
    
    /* 确保padding和border不影响总宽度 */
    box-sizing: border-box;
}
/* 下拉框悬停状态 */
.responsive-table-noborder select:hover,
.adaptive-dropdown:hover {
    border-color: #999;
}
/* 下拉框聚焦状态 */
.responsive-table-noborder select:focus,
.adaptive-dropdown:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}
/* 下拉框禁用状态 */
.responsive-table-noborder select:disabled,
.adaptive-dropdown:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
/* ============= 核心需求：无边框表格内 所有表单控件样式 结束 ============= */

/* ============= 表单控件 全局响应式适配 (和表格响应式联动) ============= */
/* 平板设备响应式调整 - 1024px 以下 */
@media (max-width: 1024px) {
  .responsive-table-noborder input[type="text"],
  .responsive-table-noborder textarea,
  .responsive-table-noborder select,
  .input-field,
  .textarea-field,
  .adaptive-dropdown {
      width: 100px;
      max-width: 100px;
      padding: 0.65rem 0.9rem;
      font-size: 0.9rem;
  }
  .input-icon {
      left: 0.8rem;
  }
  .input-with-icon .input-field,
  .input-with-icon input[type="text"] {
      padding-left: 2.2rem;
  }
}

/* 手机设备响应式调整 - 768px 以下 */
@media (max-width: 768px) {
  .responsive-table-noborder input[type="text"],
  .responsive-table-noborder textarea,
  .responsive-table-noborder select,
  .adaptive-dropdown {
      width: 100px;
      max-width: 100px;
      padding: 12px 15px; /* 增加触摸区域，适配手机点击 */
      font-size: 0.9rem;  /* 增加字体大小便于查看 */
  }
}

/* 手机小屏响应式调整 - 480px 以下 */
@media (max-width: 480px) {
  .responsive-table-noborder input[type="text"],
  .responsive-table-noborder textarea,
  .input-field,
  .textarea-field {
   width:100px;
    max-width: 100%; /* 手机端占满容器宽度，适配性更强 */
  }
}
}
/*----------table表格无边框和线条样式结束---------------------*/
 

 
/*----------gridview样式开始---------------------*/

/* GridView 容器 - 响应式设计 */
.gridview-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    font-size:12px;
    text-align:center;
   
}
/* 表格基础样式 - 添加淡灰色边框 */
.gridview-elegant {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    table-layout: auto;
    border: 1px solid #e0e0e0; /* 添加淡灰色外边框 */
    border-radius: 4px; /* 可选：轻微圆角使边框更柔和 */
    overflow: hidden; /* 确保圆角效果正常显示 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* 可选：轻微阴影增强立体感 */
    color:black;/*字体颜色*/
}
 

/* 表头样式 - 纯色背景 */
.gridview-elegant th {
    background: #075f79;
    color: white;
    padding: 14px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
    border: none;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1); /* 表头单元格间淡色分隔线 */
}
 
/* 移除最后一列表头的右边框 */
.gridview-elegant th:last-child {
    border-right: none;
}
 
/* 单元格基础样式 - 添加淡灰色内边框 */
.gridview-elegant td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0; /* 行间淡灰色分隔线 */
    border-right: 1px solid #e0e0e0; /* 单元格间淡灰色分隔线 */
    color: black;
    font-size: 12px;
    transition: all 0.2s ease;
    text-align: center;
}
 
/* 移除最后一列单元格的右边框 */
.gridview-elegant td:last-child {
    border-right: none;
}
 
/* 移除最后一行单元格的下边框 */
.gridview-elegant tr:last-child td {
    border-bottom: none;
}
 
/* 最后一列操作按钮样式 */
.gridview-elegant td:last-child {
    text-align: center;
}

/* 分页控件样式 */
.gridview-elegant .pager table {
    width: 100%;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}
 
.gridview-elegant .pager td {
    padding: 8px;
    text-align: center;
    border: none;
}
   /* 上下翻页按钮 */
.gridview-elegant .pager a {
    color: black;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;

}
  /* 上下翻页按钮 */
.gridview-elegant .pager a:hover {
    background-color: #075f79;
     color: white;
}
  /* 数字 */
.gridview-elegant .pager span {
    display: inline-block;
    padding: 3px 6px;
    color: black;
    border-radius: 4px;
}



/* 响应式调整 */
@media screen and (max-width: 768px) {
    .gridview-elegant th {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .gridview-elegant td {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* 小屏幕隐藏非必要列 */
    .mobile-hide {
        display: none;
    }
}
 
/* 特殊状态行 */
.gridview-elegant .highlight-row td {
    background-color: #fff8e1 !important;
    border-left: 1px solid #ffc107;
}
 
.gridview-elegant .warning-row td {
    background-color: #ffebee !important;
    border-left: 1px solid #f44336;
}
 
/* 排序指示器 */
.gridview-elegant .sorted-asc:after {
    content: " ↑";
    font-size: 12px;
}
 
.gridview-elegant .sorted-desc:after {
    content: " ↓";
    font-size: 12px;
}

/* ======================================== */
/* ========== 新增：GridView 内部 文本框(TextBox/Input/Textarea) 专属样式 ========== */
/* ======================================== */
:root {
  --primary-color: #075f79;
  --primary-hover: #075f79;
  --primary-active: #075f79;
  --error-color: #ff4757;
  --success-color: #2ecc71;
  --text-color: #333;
  --text-light: #666;
  --border-color: #ddd;
  --border-focus: #b3c6ff;
  --bg-color: #fff;
  --disabled-bg: #f5f5f5;
  --shadow-focus: 0 0 0 3px rgba(74, 107, 255, 0.2);
  --transition: all 0.3s ease;
  --border-radius: 6px;
}
/* GridView内所有文本框、输入框、文本域 统一样式（强制覆盖，优先级最高） */
.gridview-elegant input[type="text"],
.gridview-elegant input[type="password"],
.gridview-elegant input[type="number"],
.gridview-elegant textarea,
.gridview-elegant .input-field,
.gridview-elegant .textarea-field {
  width: 100%;
  max-width: 180px; /* Grid单元格内适配宽度，不撑大单元格 */
  min-width: 60px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
  margin: 2px 0;
  font-family: inherit;
}
/* GridView内文本域专属样式 */
.gridview-elegant textarea,
.gridview-elegant .textarea-field {
  min-height: 30px;
  resize: vertical;
  line-height: 1.5;
}
/* 悬停状态 */
.gridview-elegant input[type="text"]:hover,
.gridview-elegant input[type="password"]:hover,
.gridview-elegant input[type="number"]:hover,
.gridview-elegant textarea:hover {
  border-color: #bbb;
}
/* 聚焦高亮状态 */
.gridview-elegant input[type="text"]:focus,
.gridview-elegant input[type="password"]:focus,
.gridview-elegant input[type="number"]:focus,
.gridview-elegant textarea:focus {
  outline: none;
	border-color: var(--primary-color);
	box-shadow: var(--shadow-focus);
}
/* 禁用状态 */
.gridview-elegant input[type="text"]:disabled,
.gridview-elegant input[type="password"]:disabled,
.gridview-elegant input[type="number"]:disabled,
.gridview-elegant textarea:disabled {
  background-color: var(--disabled-bg);
  color: #999;
  cursor: not-allowed;
}
/* 错误状态 */
.gridview-elegant input[type="text"].error,
.gridview-elegant textarea.error {
  border-color: var(--error-color);
}
.gridview-elegant input[type="text"].error:focus,
.gridview-elegant textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}
/* 成功状态 */
.gridview-elegant input[type="text"].success,
.gridview-elegant textarea.success {
  border-color: var(--success-color);
}
.gridview-elegant input[type="text"].success:focus,
.gridview-elegant textarea.success:focus {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}
/* Grid内文本框响应式适配 */
@media (max-width: 1024px) {
  .gridview-elegant input[type="text"],
  .gridview-elegant input[type="password"],
  .gridview-elegant input[type="number"],
  .gridview-elegant textarea {
    width: 100px;
    max-width: 100px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .gridview-elegant input[type="text"],
  .gridview-elegant input[type="password"],
  .gridview-elegant input[type="number"],
  .gridview-elegant textarea {
    width: 100%;
    max-width: 100%;
  }
}
/* ======================================== */
/* ========== GridView 内部 DropDownList(下拉框) 专属完整样式 ✅ 核心新增 ========== */
/* ======================================== */
.gridview-elegant select {
    /* 基础样式 完全沿用指定的adaptive-dropdown */
    font-size: 12px;
    padding: 0.5rem 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    
    /* Grid单元格适配宽度，和文本框统一，不撑大表格 */
    width: auto;
    max-width: 180px;
    min-width: 60px;
    
    /* 自定义下拉箭头 完全复用 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg'   viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px;
    
    /* 过渡效果 */
    transition: border-color 0.3s, box-shadow 0.3s;
    
    /* 确保padding和border不影响总宽度，表格布局不紊乱 */
    box-sizing: border-box;
    margin: 2px 0;
    font-family: inherit;
}
/* 下拉框悬停状态 */
.gridview-elegant select:hover {
    border-color: #999;
}
/* 下拉框聚焦高亮状态 */
.gridview-elegant select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}
/* 下拉框禁用状态 */
.gridview-elegant select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
/* 平板设备响应式调整 */
@media (max-width: 1024px) {
    .gridview-elegant select {
        width: 100px;
        max-width: 100px;
    }
}
/* 手机设备响应式调整 */
@media (max-width: 768px) {
    .gridview-elegant select {
        width: 100px;
        max-width: 100px;
        padding: 12px 15px; /* 增加触摸区域 */
        font-size: 0.9rem;  /* 增加字体大小便于触摸 */
    }
}

/* ======================================== */
/* ========== 新增：GridView 内部 LinkButton 专属样式（核心，完全套用btn-action） ========== */
/* ======================================== */
/* GridView内所有LinkButton(渲染为a标签) 统一按钮样式 | 排除分页的a标签，避免样式冲突 */
/*.gridview-elegant td a:not(.pager a) {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px 3px;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
    background-color:#075f79;
    color:white;
    border: none;
    cursor: pointer;
}*/
/* GridView内LinkButton悬浮效果 */
/*.gridview-elegant td a:not(.pager a):hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color:#075f79;
    color:white;
    text-decoration: none;
}*/
/* Grid内按钮 手机端响应式 */
@media (max-width: 768px) {
    .gridview-elegant td a:not(.pager a) {
        display: block;
        margin: 5px 0;
    }
}
/* Grid内按钮 平板端响应式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .gridview-elegant td a:not(.pager a) {
        display: block;
        margin: 5px 0;
    }
}

/*----------gridview样式结束---------------------*/
/*----------gridview样式结束---------------------*/









/*----------单个button样式开始---------------------*/
/* 操作按钮样式 */
.btn-action {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px 3px;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
    background-color:#075f79;
    color:white;
}
 
 
.btn-action:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color:#075f79;
    color:white;
}

/* 手机：≤768px */
@media (max-width: 768px) {
    .btn-action {
        display: block;
        margin: 5px 0;
    }
}
 
/* 平板：769px~1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .btn-action {
        display: block;
        margin: 5px 0;
    }
}

 


 /* 公共基础按钮样式 */
.btn {
    display: inline-block;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    margin: 5px;
}
/* 主按钮 - 蓝色 */
.btn-primary {
    background-color: #4285f4;
    color: white;
}

 

/* 主按钮 -深绿色 */
.btn-darkgreen {
    background-color: #075f79;
    color: white;
} 


.btn-darkgreen:hover {
    background-color: #054558;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 
/* 成功按钮 - 绿色 */
.btn-success {
    background-color: #34a853;
    color: white;
}
 
.btn-success:hover {
    background-color: #2d9248;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 
/* 危险按钮 - 红色 */
.btn-danger {
    background-color: #ea4335;
    color: white;
}
 
.btn-danger:hover {
    background-color: #d33426;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 
/* 警告按钮 - 橙色 */
.btn-warning {
    background-color: #fbbc05;
    color: #333;
}
 
.btn-warning:hover {
    background-color: #e8ac04;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 
/* 幽灵按钮 - 透明边框 */
.btn-ghost {
    background-color: transparent;
    color: #4285f4;
    border: 2px solid #4285f4;
}
 
.btn-ghost:hover {
    background-color: #4285f4;
    color: white;
}
 
/* 禁用状态 */
.btn:disabled,
.btn.disabled  {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}
/*----------单个button样式结束---------------------*/


/*----------多个button一起样式开始---------------------*/
/* 响应式按钮组居中 - 手机端一行显示 */
.responsive-button-group {
    display: flex;
    flex-wrap: nowrap;
    justify-content:center; /* 改为左对齐，更适合移动端 */
    align-items: center;
    gap: 6px;
    background-color: #f1f3f5;
    padding: 8px;
    margin: 8px 0;
    border-radius: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* 隐藏滚动条 */
    -ms-overflow-style: none; /* IE隐藏滚动条 */
}
 
.responsive-button-group::-webkit-scrollbar {
    display: none; /* Chrome/Safari隐藏滚动条 */
}
 
/* 按钮样式 */
.responsive-button-group .btn {
    flex: 0 0 auto;
    min-width: 90px; /* 更小的最小宽度 */
    padding: 6px 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px; /* 固定高度 */
    line-height: normal;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.2s ease;
}
 
/* 小手机设备 (<= 375px) */
@media (max-width: 375px) {
    .responsive-button-group {
        gap: 4px;
        padding: 6px;
    }
    
    .responsive-button-group .btn {
        min-width: 80px;
        padding: 5px 6px;
        font-size: 12px;
        height: 32px;
    }
}
 
/* 平板设备 (768px+) */
@media (min-width: 768px) {
    .responsive-button-group {
        flex-wrap: wrap;
        justify-content: center; /* 平板以上居中 */
        gap: 10px;
        padding: 12px;
        overflow-x: visible;
    }
    
    .responsive-button-group .btn {
        min-width: 110px;
        padding: 8px 12px;
        font-size: 14px;
        height: 40px;
    }
}
 
/* 桌面设备 (992px+) */
@media (min-width: 992px) {
    .responsive-button-group {
        gap: 12px;
        padding: 16px;
    }
    
    .responsive-button-group .btn {
        min-width: 120px;
        padding: 10px 16px;
        font-size: 15px;
    }
}
 
/* 大桌面设备 (1200px+) */
@media (min-width: 1200px) {
    .responsive-button-group .btn {
        min-width: 140px;
    }
}
/*----------多个button一起样式结束---------------------*/


/*-----------dropdown 样式开始---------------------*/
/* 下拉选择比赛和年份的div */
.adaptive-div {
     /* 自适应尺寸 */
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    
    /* 弹性布局 - 允许换行并整体右对齐 */
    display: flex;
    flex-wrap: wrap;          /* 允许子元素换行 */
    justify-content: flex-end; /* 整体右对齐 */
    align-items: center;      /* 单行垂直居中 */
    align-content: center;    /* 多行整体垂直居中 */
    
    /* 间距和边框 */
    gap: 8px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    
    /* 文本处理 */
    word-break: break-word;
}
 
/* 嵌套的子 DIV 样式 */
.adaptive-container > div {
    /* 子元素基本样式 */
    padding: 6px 12px;
    background: #e3f2fd;
    border-radius: 4px;
    white-space: nowrap;
    text-align: right; /* 子元素内容右对齐 */
    
    /* 当空间不足时允许文本换行 */
    @media (max-width: 768px) {
        white-space:normal;
    }
}
 
/* 响应式调整 */
@media (max-width: 768px) {
    .adaptive-container {
        gap: 6px;
    }
    .adaptive-container > div {
        max-width: 100%; /* 小屏幕下允许子元素宽度扩展 */
    }
}
/* 下拉选择比赛和年份的div */
/*
 

/* dropdown基础下拉列表样式 */
.adaptive-dropdown {
    /* 基础样式 */
    font-size: 12px;
    padding: 0.5rem 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    
    /* 默认电脑端宽度设置 */
    width: auto;
    max-width: 300px;
    min-width: 100px;
    
    /* 箭头样式 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg'   viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px;
    
    /* 过渡效果 */
    transition: border-color 0.3s, box-shadow 0.3s;
    
    /* 确保padding和border不影响总宽度 */
    box-sizing: border-box;
}
 
/* 悬停状态 */
.adaptive-dropdown:hover {
    border-color: #999;
}
 
/* 聚焦状态 */
.adaptive-dropdown:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}
 
/* 禁用状态 */
.adaptive-dropdown:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
 
/* 平板设备响应式调整 */
@media (max-width: 1024px) {
    .adaptive-dropdown {
        width: 100px;
        max-width: 100px;
    }
}
/* 手机设备响应式调整 */
@media (max-width: 768px) {
    .adaptive-dropdown {
        width: 100px;
        max-width: 100px;
        padding: 12px 15px; /* 增加触摸区域 */
        font-size: 0.9rem;  /* 增加字体大小便于触摸 */
    }
}

/*-----------dropdown 样式结束----------------------*/

 
/*-----------text、input、textarea文本框格式样式开始----------------------*/

/*文本框格式*/
/* 基础样式重置 */
:root {
  --primary-color: #075f79;
  --primary-hover: #075f79;
  --primary-active: #075f79;
  --error-color: #ff4757;
  --success-color: #2ecc71;
  --text-color: #333;
  --text-light: #666;
  --border-color: #ddd;
  --border-focus: #b3c6ff;
  --bg-color: #fff;
  --disabled-bg: #f5f5f5;
  --shadow-focus: 0 0 0 3px rgba(74, 107, 255, 0.2);
  --transition: all 0.3s ease;
  --border-radius: 6px;
}
 
/* 输入框基础样式 */
.input-container {
  margin-bottom: 1.5rem;
  position: relative;
}
 
.input-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
}
 
.input-helper {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-light);
}


/* 超链接公共样式 (合并原重复的2处a标签样式，同时作用于容器+表格内的a) */
.responsive-container a,
.responsive-table a {
  text-decoration: none;
  transition: color 0.2s ease;
}
.responsive-container a:hover,
.responsive-table a:hover {
  color: red;
  cursor: pointer;
}

/*----------标准table表格样式开始---------------------*/
/* 响应式表格样式 */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  color:black;/*字体颜色*/
}

/* 表格表头样式 */
.responsive-table thead th {
  background-color: #4a4a4a;
  color: black;
  padding: 0 15px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #ddd;
  vertical-align: middle;
  height: 32px; /* Fixed height */
  line-height: 32px; /* 垂直居中保障 */
}

/* 表格单元格样式 */
.responsive-table tbody td {
  padding: 0 15px;
  border: 1px solid #ddd;
  vertical-align: middle;
  text-align: center;
  height: 32px;
  line-height: 32px;
  color:black;
}

/* 单元格对齐样式覆盖 */
.responsive-table tbody td.td1 {
  text-align: right !important;
}
.responsive-table tbody td.td2 {
  text-align: left !important;
}

/* 奇偶行颜色 */
.responsive-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}
.responsive-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

/* ✅ 核心需求：表格内 所有input/textarea/TextBox 强制应用指定标准样式 【优先级拉满】 */
.responsive-table input,
.responsive-table textarea {
  width: 100%;
  max-width: 300px; /* 电脑端默认最大宽度 */
  min-width: 50px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
  /* 适配表格行高，防止输入框撑高单元格 */
  margin: 2px 0;
}
/* 表格内文本域textarea专属样式 */
.responsive-table textarea {
  min-height: 30px;
  resize: vertical;
  line-height: 1.5;
}
/* 表格内输入框悬停状态 */
.responsive-table input:hover,
.responsive-table textarea:hover {
  border-color: #bbb;
}
/* 表格内输入框聚焦状态 */
.responsive-table input:focus,
.responsive-table textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-focus);
}
/* 表格内输入框禁用状态 */
.responsive-table input:disabled,
.responsive-table textarea:disabled {
  background-color: var(--disabled-bg);
  color: #999;
  cursor: not-allowed;
}
/* 表格内输入框错误状态 */
.responsive-table input.error,
.responsive-table textarea.error {
  border-color: var(--error-color);
}
.responsive-table input.error:focus,
.responsive-table textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}
/* 表格内输入框成功状态 */
.responsive-table input.success,
.responsive-table textarea.success {
  border-color: var(--success-color);
}
.responsive-table input.success:focus,
.responsive-table textarea.success:focus {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

/* 错误提示文本样式 */
.error-message {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}

/* 带有图标的输入框容器样式 */
.input-with-icon {
  position: relative;
}
.input-with-icon input {
  padding-left: 2.5rem;
}
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* ECharts 容器样式 */
.echarts-container {
  width: 100%;
  height: 400px;
  margin: 20px 0;
}

/* 响应式媒体查询 */
@media screen and (max-width: 768px) {
  .responsive-table thead th,
  .responsive-table tbody td {
      padding: 8px 10px;
      font-size: 14px;
  }
  /* 表格水平滚动 */
  .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
  }
  .pdf-column {
    min-width: 300px !important;
    width: 300px !important;
  }
  /* ECharts 高度适配 */
  .echarts-container {
      height: 300px;
  }
  /* 平板端-表格内输入框宽度适配 */
  .responsive-table input,
  .responsive-table textarea {
    width:100px;
    max-width: 100px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }
  .input-icon {
    left: 0.8rem;
  }
  .input-with-icon input {
    padding-left: 2.2rem;
  }
}

@media screen and (max-width: 480px) {
  .responsive-table thead th, /* 修复：补全缺失的逗号 */
  .responsive-table tbody td {
      padding: 6px 8px;
      font-size: 13px;
  }
  .pdf-column {
    min-width: 300px !important;
    width: 300px !important;
  }
  /* 手机端-ECharts 高度适配 */
  .echarts-container {
      height: 250px;
  }
  /* 手机端-表格内输入框宽度适配 */
  .responsive-table input,
  .responsive-table textarea {
    width:100px;
    max-width: 100%; /* 手机端占满容器宽度 */
  }
}
/*----------标准table表格样式结束---------------------*/
 
/* 特殊输入框样式 */
.input-fieldTS,
.textarea-field {
  width: 100%;
  max-width: 100%; /* 电脑端默认最大宽度 */
  min-width: 50px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
}
 
/* 文本域特定样式 */
.textarea-field {
  min-height: 30px;
  resize: vertical;
  line-height: 1.5;

}
 
/* 输入框悬停状态 */
.input-fieldTS:hover,
.textarea-field:hover {
  border-color: #bbb;
}
 
/* 输入框聚焦状态 */
.input-fieldTS:focus,
.textarea-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-focus);
}
 
/* 禁用状态 */
.input-fieldTS:disabled,
.textarea-field:disabled {
  background-color: var(--disabled-bg);
  color: #999;
  cursor: not-allowed;
}
 
/* 错误状态 */
.input-fieldTS.error,  
.textarea-field.error   {
  border-color: var(--error-color);
}
 
.input-fieldTS.error:focus,  
.textarea-field.error:focus   {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}
 
.error-message {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}
 
/* 成功状态 */
.input-fieldTS.success,  
.textarea-field.success   {
  border-color: var(--success-color);
}
 
.input-fieldTS.success:focus,  
.textarea-field.success:focus   {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}
 
/* 带有图标的输入框 */
.input-with-icon {
  position: relative;
}
 
.input-with-icon .input-fieldTS {
  padding-left: 2.5rem;
}
 
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
 
/* 响应式调整 - 平板和手机 */
@media (max-width: 1024px) {
  .input-fieldTS,
  .textarea-field {
    width:100px;
    max-width: 100px; /* 平板和手机端默认宽度 */
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }
  
  .input-icon {
    left: 0.8rem;
  }
  
  .input-with-icon .input-fieldTS {
    padding-left: 2.2rem;
  }
}
 
/* 响应式调整 - 仅手机 */
@media (max-width: 480px) {
  .input-fieldTS,
  .textarea-field {
   width:100px;
    max-width: 100%; /* 手机端可以占满容器宽度 */
  }
}
/*-----------特殊text、input、textarea文本框格式样式结束----------------------*/

  
/*-------------------radio-button样式--------------------------------------------*/
 
/* 基础样式 */
.radio-button-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* 项与项之间的间距 */
  margin: 0;
  padding: 0;
  list-style: none;
}
 
/* 每个单选按钮项的样式 */
.radio-button-item {
  display: flex;
  align-items: center;
  margin: 0;
}
 
/* 单选按钮本身的样式 */
.radio-button-item input[type="radio"] {
  margin: 0 5px 0 0; /* 调整单选按钮与标签的间距 */
}
 
/* 响应式布局 - 在小屏幕上堆叠排列 */
@media (max-width: 480px) {
  .radio-button-list {
    flex-direction: column;
    gap: 8px; /* 手机上的垂直间距 */
  }
}
 
/* 平板及以上设备横排 */
@media (min-width: 481px) {
  .radio-button-list {
    flex-direction: row;
  }
}
 
/*-------------------radio-button样式结束--------------------------------------------*/

 
/*-----------text、input、textarea文本框格式样式开始----------------------*/

/*文本框格式*/
/* 基础样式重置 */
:root {
  --primary-color: #075f79;
  --primary-hover: #075f79;
  --primary-active: #075f79;
  --error-color: #ff4757;
  --success-color: #2ecc71;
  --text-color: #333;
  --text-light: #666;
  --border-color: #ddd;
  --border-focus: #b3c6ff;
  --bg-color: #fff;
  --disabled-bg: #f5f5f5;
  --shadow-focus: 0 0 0 3px rgba(74, 107, 255, 0.2);
  --transition: all 0.3s ease;
  --border-radius: 6px;
}
 
/* 输入框基础样式 */
.input-container {
  margin-bottom: 1.5rem;
  position: relative;
}
 
.input-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
}
 
.input-helper {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-light);
}
 
/* 标准输入框样式 */
.input-field,
.textarea-field {
  width: 100%;
  max-width: 300px; /* 电脑端默认最大宽度 */
  min-width: 50px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
}
 
/* 文本域特定样式 */
.textarea-field {
  min-height: 30px;
  resize: vertical;
  line-height: 1.5;
}
 
/* 输入框悬停状态 */
.input-field:hover,
.textarea-field:hover {
  border-color: #bbb;
}
 
/* 输入框聚焦状态 */
.input-field:focus,
.textarea-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-focus);
}
 
/* 禁用状态 */
.input-field:disabled,
.textarea-field:disabled {
  background-color: var(--disabled-bg);
  color: #999;
  cursor: not-allowed;
}
 
/* 错误状态 */
.input-field.error,  
.textarea-field.error   {
  border-color: var(--error-color);
}
 
.input-field.error:focus,  
.textarea-field.error:focus   {
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}
 
.error-message {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}
 
/* 成功状态 */
.input-field.success,  
.textarea-field.success   {
  border-color: var(--success-color);
}
 
.input-field.success:focus,  
.textarea-field.success:focus   {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}
 
/* 带有图标的输入框 */
.input-with-icon {
  position: relative;
}
 
.input-with-icon .input-field {
  padding-left: 2.5rem;
}
 
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
 
/* 响应式调整 - 平板和手机 */
@media (max-width: 1024px) {
  .input-field,
  .textarea-field {
    width:100px;
    max-width: 100px; /* 平板和手机端默认宽度 */
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }
  
  .input-icon {
    left: 0.8rem;
  }
  
  .input-with-icon .input-field {
    padding-left: 2.2rem;
  }
}
 
/* 响应式调整 - 仅手机 */
@media (max-width: 480px) {
  .input-field,
  .textarea-field {
   width:100px;
    max-width: 100%; /* 手机端可以占满容器宽度 */
  }
}
/*-----------text、input、textarea文本框格式样式结束----------------------*/

/*-------------------file-upload上传文件样式开始--------------------------------------------*/
 /* 基础样式 - 适用于 WebForm 的 FileUpload */
         /* 基础上传容器样式，配合你提供的样式使用，缺一不可 */
        .upload-wrapper {
            position: relative;
            border: 2px dashed #d1d5db;
            border-radius: 0.75rem;
            padding: 2rem;
            min-height: 10rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #ffffff;
            margin: 1rem 0;
            transition: all 0.2s ease;
            width: 100%;
            max-width: 650px;
        }
        .upload-icon {
            font-size: 2.5rem;
            color: #075f79;
            margin-bottom: 0.75rem;
            transition: all 0.2s ease;
        }
        .upload-text {
            font-size: 0.9375rem;
            color: #6b7280;
            margin-bottom: 1rem;
            text-align: center;
        }
        .upload-progress {
            width: 100%;
            height: 6px;
            background: #e5e7eb;
            border-radius: 3px;
            margin: 1rem 0;
            display: none;
            overflow: hidden;
        }
        .upload-progress-bar {
            height: 100%;
            background: #075f79;
            width: 0%;
            transition: width 0.1s linear;
        }
        .upload-tips {
            color: #16a34a;
            font-size: 0.875rem;
            margin-top: 0.5rem;
            display: none;
        }
        .upload-error {
            color: #dc2626;
            font-size: 0.875rem;
            margin-top: 0.5rem;
            display: none;
        }
        .form-item {
            margin: 1rem 0;
        }
        .form-item input {
            padding: 0.5rem;
            width: 300px;
            border: 1px solid #d1d5db;
            border-radius: 0.3rem;
        }
/* ===== 基础样式 ===== */
.upload-container {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --primary-active: #1d4ed8;
  --border-color: #d1d5db;
  --bg-color: #f8fafc;
  --hover-bg: #eff6ff;
  --text-color: #4b5563;
  --filename-color: #6b7280;
  
  position: relative;
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 1rem 0 1rem 0.4rem; /* 上 右 下 左 */
  box-sizing: border-box;
}
 
.upload-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px dashed var(--border-color);
  border-radius: 0.75rem;
  background-color: var(--bg-color);
  transition: all 0.25s ease;
  text-align: center;
  min-height: 10rem;
  box-sizing: border-box;
  cursor: pointer;
}
 
.upload-wrapper:hover {
  border-color: var(--primary-color);
  background-color: var(--hover-bg);
}
 
/* ===== 上传元素样式 ===== */
.upload-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  transition: transform 0.2s ease;
}
 
.upload-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.5;
  max-width: 100%;
  padding: 0 1rem;
}
 
.upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
 
/* ===== 自定义按钮 ===== */
.upload-label {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color:#075f79;
  color: white;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 8rem;
  text-align: center;
}
 
.upload-label:hover {
  background-color: #075f79;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
 
.upload-label:active {
  background-color: var(--primary-active);
  transform: translateY(1px);
}
 
/* ===== 文件名显示 ===== */
.upload-filename {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--filename-color);
  word-break: break-word;
  padding: 0 1rem;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
}
 
/* ===== 拖拽状态 ===== */
.drag-over {
  border-color: var(--primary-color) !important;
  background-color: var(--hover-bg) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
 
.upload-wrapper.drag-over  .upload-icon {
  transform: scale(1.1);
}
 
/* ===== 禁用状态 ===== */
.upload-disabled {
  opacity: 0.6;
  pointer-events: none;
}
 
/* ===== 响应式设计 ===== */
 
/* 平板设备 (768px以下) */
@media (max-width: 768px) {
  .upload-wrapper {
    padding: 1.5rem;
    min-height: 9rem;
  }
  
  .upload-icon {
    font-size: 2.25rem;
  }
  
  .upload-text {
    font-size: 0.9375rem;
  }
  
  .upload-label {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
}
 
/* 大屏手机 (480px以下) */
@media (max-width: 480px) {
  .upload-wrapper {
    padding: 1.25rem 1rem;
    min-height: 8rem;
    border-width: 1.5px;
  }
  
  .upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .upload-text {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }
  
  .upload-label {
    padding: 0.75rem;
    font-size: 0.875rem;
    min-width: 7rem;
  }
  
  .upload-filename {
    font-size: 0.8125rem;
  }
}
 
/* 小屏手机 (360px以下) */
@media (max-width: 360px) {
  .upload-wrapper {
    padding: 1rem 0.75rem;
    min-height: 7rem;
  }
  
  .upload-icon {
    font-size: 1.75rem;
  }
  
  .upload-text {
    font-size: 0.8125rem;
  }
  
  .upload-label {
    padding: 0.625rem;
    font-size: 0.8125rem;
  }
}
 
/* 横屏模式适配 */
@media (orientation: landscape) and (max-height: 480px) {
  .upload-wrapper {
    min-height: 6rem;
    padding: 0.75rem;
  }
  
  .upload-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .upload-text {
    margin-bottom: 0.5rem;
  }
  
  .upload-label {
    padding: 0.5rem 0.75rem;
  }
}
 
/* 高DPI设备适配 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .upload-wrapper {
    border-width: 1.5px;
  }
}
/*-------------------file-upload样式结束--------------------------------------------*/

/*-------------------iframe样式开始--------------------------------------------*/

/* 基础样式重置 */
iframe {
  border: none; /* 移除默认边框 */
  display: block; /* 确保 iframe 是块级元素 */
  background: transparent; /* 透明背景 */
}
 
/* 响应式 iframe 容器 */
.responsive-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 宽高比 (可以根据需要调整) */
}
 
/* 实际 iframe 元素 */
.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
 
/* 针对不同设备的额外调整 */
@media (max-width: 768px) {
  /* 平板和手机上的调整 */
  .responsive-iframe-container {
    padding-top: 75%; /* 调整为 4:3 比例 */
  }
}
 
@media (max-width: 480px) {
  /* 手机上的特殊调整 */
  .responsive-iframe-container {
    padding-top: 100%; /* 调整为 1:1 比例 */
  }
}

/*-------------------iframe样式结束--------------------------------------------*/

/*-------------------证书图片自适应样式开始----------------------------------------*/
/* 图片列样式 */
  .image-column {
    width: 60%;
  }
  
  /* 图片容器样式 - 设置默认尺寸 */
  .image-container {
    width: 500px;  /* 默认宽度 */
    height:800px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto; /* 居中 */
  }
  
  /* 图片自适应样式 */
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  /* 响应式设计 - 在电脑大屏幕上保持默认尺寸 */
  @media (min-width: 1200px) {
    .image-container {
      width: 800px;
      height:1000px;
    }
  }
  
  /* 中等屏幕(笔记本)适当缩小 */
  @media (max-width: 1199px) and (min-width: 992px) {
    .image-container {
      width: 400px;
      height:600px;
    }
  }
  
  /* 小屏幕(平板) */
  @media (max-width: 991px) and (min-width: 768px) {
    .image-container {
      width: 300px;
      height:500px;
    }
  }
  
  /* 手机端完全自适应 */
  @media (max-width: 767px) {
 
    .image-column {
      width: 100% !important;
    }
    
    .image-container {
      width: 100% !important;
      height: auto;
      max-height: 400px;
    }
  }
  /*-------------------证书图片自适应样式结束-------------------------------------*/

  
/*-------------------PDF自适应样式开始----------------------------------------*/
/* PDF列样式 */
  .pdf-column {
    width: 50%;
  }
  
  /* 图片容器样式 - 设置默认尺寸 */
  .pdf-container {
    width: 500px;  /* 默认宽度 */
    height:800px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto; /* 居中 */
  }
  
  /* 图片自适应样式 */
  .pdf-container pdf {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  /* 响应式设计 - 在电脑大屏幕上保持默认尺寸 */
  @media (min-width: 1200px) {
    .pdf-container {
      width: 800px;
      height:1000px;
    }
  }
  
  /* 中等屏幕(笔记本)适当缩小 */
  @media (max-width: 1199px) and (min-width: 992px) {
    .pdf-container {
      width: 300px;
      height:600px;
    }
  }
  
  /* 小屏幕(平板) */
  @media (max-width: 991px) and (min-width: 768px) {
    .pdf-container {
      width: 200px;
      height:500px;
    }
  }
  
  /* 手机端完全自适应 */
  @media (max-width: 767px) {
 
    .pdf-column {
      width: 100% !important;
    }
    
    .pdf-container {
      width: 100% !important;
      height: auto;
      max-height: 400px;
    }
  }
  /*-------------------证书图片自适应样式结束-------------------------------------*/

  /*-----------div提示样式开始----------------------*/

/* 提示div */
div.OkMsg, div.WarningMsg, div.ErrorMsg, div.Msg, div.Tips {
    padding: 12px 12px 12px 45px;
    background-repeat: no-repeat;
    background-position: 12px center;
    color: #333;
    min-height: 40px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    border-radius: 4px;
    margin: 8px 0;
    font-size: 14px;
    box-sizing: border-box;
    border-left: 4px solid;
    background-color: #f8f8f8; /* Base light gray */
}
 
/* Information Messages (Default) */
div.div.Tips {
    border-left-color: #3681b6;
    background-color: #e8f4fd;
    background-image: url(../images/msg/tips.png);  
}
 /* Information Messages (Default) */
div.Msg  {
    border-left-color: #3681b6;
    background-color: #e8f4fd;
 
}
/* Success Messages */
div.OkMsg {
    border-left-color: #2e7d32;
    background-color: #e8f5e9;
    background-image: url(../images/msg/OK.png);  
}
 
/* Warning Messages */
div.WarningMsg {
    border-left-color: #ff8f00;
    background-color: #fff8e1;
    background-image: url(../images/msg/warning.png);  
}
 
/* Error Messages */
div.ErrorMsg {
    border-left-color: #c62828;
    background-color: #ffebee;
    background-image: url(../images/msg/error.png);  
}
 
/* Additional Specific Styles */
div.Tips {
    font-weight: 500;
    background-color: #e3f2fd;
    border-left-color: #1565c0;
}
 
/* Responsive adjustments */
@media (max-width: 768px) {
    div.OkMsg, div.WarningMsg, div.ErrorMsg, div.Msg, div.Tips {
        padding: 12px 12px 12px 40px;
        background-position: 8px 12px;
        align-items: flex-start;
    }
}
 /*-----------div提示样式结束----------------------*/
/*-----------textbox文本框中提示词颜色和字体----------------------*/
 .txt-input {
            width: 98.5%;
            height: 35px;
            padding: 0 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        /* 提示文字样式（灰色） */
        .hint-text {
            color: #999;
        }
        /* 正常输入文字样式（黑色） */
        .normal-text {
            color: #333;
        }
/*-----------textbox文本框中提示词颜色和字体----------------------*/

/*--------------------基本宽度---------------------------------*/
 /*基本宽度css*/
.width-20{width:20%;}
.width-30{width:30%;}
.width-40{width:40%;}
.width-50{width:50%;}
.width-60{width:60%;}
.width-70{width:70%;}
.width-80{width:80%;}
.width-90{width:90%;}
.width-100{width:100%;}
.td-left{text-align:left;}
.td-right{text-align:right;}

.label{color:black;text-decoration: none;}
.label:hover{color:black;text-decoration: none;}
.label:after{color:black;text-decoration: none;}
.label:before{color:black;text-decoration: none;}
.no-border-radio table {border-collapse: collapse;}
.no-border-radio td {border: none !important; padding: 2px 5px;}
.no-border-radio input[type="radio"] {border: none; outline: none; /* 移除焦点时的高亮边框 */    }
.no-border-radio label {border: none;}

.td1{text-align:right;}
.td2{text-align:left;}
.td3{text-align:right;}
.td4{text-align:left;}
.tr1{background-color:#dad9d9;text-align:center; font-weight:bolder;}
.tr2{background-color:#f2f0f0;}
.tr3{text-align:center;  font-weight:bolder;}

 /* ========== 新增：表格内所有超链接基础样式 ========== */
.href {
    color: inherit; /* 继承父元素颜色，保持默认不变 */
    transition: color 0.2s ease; /* 颜色过渡更平滑 */
    text-decoration: underline; /* 添加下划线 */
}

/* ========== 新增：超链接hover样式 - 字体变红 ========== */
.href:hover {
    color: red !important; /* 强制设为红色，避免被其他样式覆盖 */
}

.tab_name {
	width: 100%;
	height: 32px;
	border-bottom: 1px solid #339cba;
}
.tab_name .tab_first {
	width: 100px;
	height: 30px;
	line-height: 30px;
	margin-right: 10px;
	border: 1px solid #339cba;
	border-bottom: 2px solid #FFF;
	float: left;
	text-align: center;
	background-image:url(../images/tab.gif);

}