/*!
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * 项目自定义的公共CSS，可覆盖jeesite.css里的样式
 */
td.price-discount-alert,
span.price-discount-alert,
input.price-discount-alert.form-control {
  color: #d32f2f !important;
  font-weight: bold !important;
}

#jdSaleOrderDetailDataGrid td.sale-entry-cell input.form-control {
  background-color: #f6fbff !important;
  width: calc(100% - 8px);
  margin: 3px 4px;
  border: 1px solid #dce6ef;
  border-radius: 3px;
}

.highlight-input {
	background-color: #8080c0!important;
	color: #b55c00;
	font-weight: bold;
}

.th-oldlight-input {
    color: #5b4b9d;
}

.th-highlight-input {
    color: #b55c00;
}

.td-difflight-input {
    color: #d9534f;
    font-weight: bold;
	background-color: #fff3cd; /* 淡黄色背景 */
}

.changed-cell {
  background-color: #fff3cd !important; /* 淡黄色 */
}

.cell-error {
    background-color: #ffe6e6 !important;
}

.highlight {
    color: red;
    background: yellow !important;
	font-weight: bold;
}

/* 错误类型 1 */
.error-critical {
    color: #b71c1c;
    background: #f8b9b9 !important;
    font-weight: bold;
}

/* 错误类型 2 */
.error-warning {
    color: #a06000;
    background: #ffe0a8 !important;
    font-weight: bold;
}

/* 各状态对应颜色 */
.status {
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  font-size: 13px;
}

.status.draft {
  background-color: #f0f0f0;
  color: #6c757d;
}

.status.ordered {
  background-color: #e0f3ff;
  color: #007bff;
}

.status.unpaid {
  background-color: #d6eaff;
  color: #004085;
}

.status.paid {
  background-color: #d4edda;
  color: #155724;
}

.status.packed {
    background-color: #B2EBF2;
    color: #2e7d32;
}

.status.shipped {
	background-color: #AED581;
    color: #fff;
}

.status.pending {
  background-color: #BBDEFB;
  color: #0c5460;
}

.status.pending-approval {
  background-color: #f57c00;
  color: #fff;
}

.status.approval-rejected {
  background-color: #8b1e2d;
  color: #fff;
}

.status.partially-received {
  background-color: #E8F5E9;
  color: #6c757d;
}

.status.partially-allocated {
  background-color: #d8b4e2;
  color: #7d3c98;
}

.status.allocated {
  background-color: #9b59b6;
  color: white;
}

.status.ready-for-pickup {
  background-color: #fff3cd;
  color: #856404;
}

.status.received {
  background-color: #A5D6A7;
  color: #6c757d;
}

.status.cancelled {
  background-color: #495057;
  color: #fff;
}
