/* ===== 价格维护（班型）页面样式 ===== */

.price-templates-wrap { padding-bottom: 24px; }

.price-templates-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 4px 0 14px;
}

.price-templates-hint { font-size: 12px; color: #94a3b8; line-height: 1.4; }

.price-templates-ro-tag {
  font-size: 12px; color: #0369a1; background: #f0f9ff;
  border: 1px solid #d6e4f0; border-radius: 16px; padding: 4px 12px;
}

.price-templates-scroll { max-height: calc(100vh - 260px); overflow-y: auto; }

.price-templates-table { width: 100%; border-collapse: collapse; }

.price-templates-table th,
.price-templates-table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef2f7; font-size: 14px;
}

.price-templates-table thead th {
  position: sticky; top: 0; background: #f8fafc; color: #475569;
  font-size: 12px; font-weight: 600; z-index: 1;
}

.price-templates-table .ptpl-num { text-align: right; font-variant-numeric: tabular-nums; }
.price-templates-table .ptpl-name { font-weight: 600; color: #0f172a; }

.ptpl-default-badge {
  display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600;
  color: #0369a1; background: #e0f2fe; border-radius: 10px; padding: 1px 8px;
}

.ptpl-status { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 12px; }
.ptpl-status-active { color: #15803d; background: #dcfce7; }
.ptpl-status-disabled { color: #94a3b8; background: #f1f5f9; }

.ptpl-sub { color: #94a3b8; font-weight: 400; }

.ptpl-note { color: #64748b; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ptpl-actions { white-space: nowrap; }

.ptpl-edit,
.ptpl-delete {
  border: 1px solid #cbd5e1; background: #fff; color: #475569;
  font-size: 13px; padding: 4px 12px; border-radius: 8px; cursor: pointer; margin-right: 6px;
}
.ptpl-edit:hover { border-color: #0369a1; color: #0369a1; }
.ptpl-delete:hover { border-color: #dc2626; color: #dc2626; }

/* 班型弹窗 */
.price-tpl-modal { max-width: 460px; }

.price-tpl-modal-head { display: flex; align-items: center; justify-content: space-between; }
.price-tpl-modal-head h3 { font-size: 17px; color: #0f172a; }

.price-tpl-modal-body { padding: 6px 2px 2px; }

.price-tpl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.price-tpl-field > span { font-size: 13px; font-weight: 600; color: #475569; }

.price-tpl-field input,
.price-tpl-field select {
  height: 38px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px;
  font-size: 15px; background: #fff; color: #0f172a;
}
.price-tpl-field input:focus,
.price-tpl-field select:focus { outline: none; border-color: #0369a1; box-shadow: 0 0 0 2px rgba(3,105,161,.15); }

.price-tpl-field-hint { font-size: 12px; color: #94a3b8; }
.price-tpl-modal-error { min-height: 18px; color: #dc2626; font-size: 13px; }
