/* 保函格式库维护列表页补充样式（布局主体复用 calculator-config.css） */

/* 必填星号 */
.gl-req {
  color: #f5222d;
  margin-right: 4px;
}

/* 导入弹窗比平台弹窗窄 */
.platform-dialog.gl-dialog {
  width: 640px;
}

/* .platform-mask 是 display:flex，需提升特异性才能被 .hidden 关掉 */
.platform-mask.hidden {
  display: none;
}

/* 导入弹窗内的上传区 */
.gl-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 20px;
  text-align: center;
  border: 1.6px dashed #91caff;
  border-radius: 10px;
  background: #fafcff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gl-upload:hover,
.gl-upload.dragover {
  background: #f0f7ff;
  border-color: #1677ff;
}

.gl-upload svg {
  width: 30px;
  height: 30px;
  color: #1677ff;
}

.gl-upload-main {
  margin: 0;
  font-size: 14px;
  color: #262626;
}

.gl-upload-sub {
  margin: 0;
  font-size: 13px;
  color: #8c8c8c;
}

/* 已选文件 */
.gl-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  background: #fafafa;
  font-size: 13px;
}

.gl-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #262626;
}

.gl-file-size {
  color: #8c8c8c;
}

.gl-file-remove {
  border: none;
  background: none;
  cursor: pointer;
  color: #8c8c8c;
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
}

.gl-file-remove:hover {
  color: #f5222d;
}

/* 表格空态 */
.gl-empty {
  padding: 48px 0 !important;
  text-align: center;
  color: #8c8c8c;
  white-space: normal !important;
}

/* 问题格式说明 */
.gl-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #fa8c16;
  white-space: normal;
  max-width: 260px;
}

/* 操作列 */
.gl-op-col {
  width: 120px;
  white-space: nowrap;
}

.gl-ops {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gl-op-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  color: #1677ff;
  cursor: pointer;
}

.gl-op-btn:hover {
  color: #0958d9;
  text-decoration: underline;
}

/* 详情弹窗字段表 */
.gl-detail {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px 16px;
  margin: 0;
  font-size: 13px;
}

.gl-detail dt {
  color: #8c8c8c;
  text-align: right;
}

.gl-detail dd {
  margin: 0;
  color: #262626;
  word-break: break-all;
}
