/* 比 AntDesign 的 body:has(...) 规则优先，状态由实际遮罩节点同步。 */
html body.app-scroll-managed.app-scroll-unlocked {
    overflow: visible;
    padding-right: 0;
}

html body.app-scroll-managed.app-scroll-locked {
    overflow: hidden;
    padding-right: var(--ant-scrollbar-width, 0px);
}

.my-reconnect-modal > div{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}
.components-reconnect-hide > div
{
    display: none;
}

.components-reconnect-show > div
{
    display: none;
}
.components-reconnect-show > .show
{
    display: block;
}

.components-reconnect-failed > div
{
    display: none;
}
.components-reconnect-failed > .failed
{
    display: block;
}

.components-reconnect-rejected >div
{
    display: none;
}
.components-reconnect-rejected > .rejected
{
    display: block;
}

.app-header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 8px #e4e4e4;
    position: relative;
    z-index: 10;
    max-width: 100%;
    height: 46px;
    font-size: 23px;
    top: 5px;
    border-radius: 18px;
    margin:0 10px 5px 10px;
}

.app-header .trigger {
    font-size: 20px;
    line-height: 64px;
    padding: 0 24px;
    cursor: pointer;
    transition: color .3s;
}

.ant-modal-header {
    border-radius: 18px 18px 0 0;
}
.ant-modal-content {
    border-radius: 18px;
}
.ant-btn {
    border-radius: 8px !important;
}
.app-card {
    background-color: #fff;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 4px 6px #e4e4e4;
}

.obu-order-statistics {
    margin-bottom: 10px;
    padding: 8px 12px;
}

.obu-order-statistics-secondary-row {
    margin-top: 4px;
}

.obu-order-statistic-item {
    min-height: 46px;
    padding: 3px 10px;
    border-left: 3px solid #d9d9d9;
    border-radius: 0 8px 8px 0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.obu-order-statistic-label {
    color: rgba(0, 0, 0, .45);
    font-size: 11px;
    line-height: 13px;
    margin-bottom: 0;
    white-space: nowrap;
}

.obu-order-statistic-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 22px;
}

.obu-order-statistic-amount {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 20px;
    white-space: nowrap;
}

.obu-order-statistic-amount span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 3px;
}

.obu-order-statistic-count {
    color: rgba(0, 0, 0, .45);
    font-size: 11px;
    line-height: 13px;
    margin-top: 0;
}

.obu-order-statistic-item.is-total {
    background: #f7f7f7;
    border-left-color: rgba(0, 0, 0, .45);
}

.obu-order-statistic-item.is-total .obu-order-statistic-value {
    color: rgba(0, 0, 0, .85);
}

.obu-order-statistic-item.is-paid {
    border-left-color: #52c41a;
}

.obu-order-statistic-item.is-paid .obu-order-statistic-value {
    color: #52c41a;
}

.obu-order-statistic-item.is-paid .obu-order-statistic-amount {
    color: #389e0d;
}

.obu-order-statistic-item.is-unpaid {
    border-left-color: #13c2c2;
}

.obu-order-statistic-item.is-unpaid .obu-order-statistic-value {
    color: #13c2c2;
}

.obu-order-statistic-item.is-unpaid .obu-order-statistic-amount {
    color: #13c2c2;
}

.obu-order-statistic-item.is-refund {
    border-left-color: #ff4d4f;
}

.obu-order-statistic-item.is-refund .obu-order-statistic-value {
    color: #ff4d4f;
}

.obu-order-statistic-item.is-refund .obu-order-statistic-amount {
    color: #cf1322;
}

.obu-order-statistic-item.is-pending {
    border-left-color: #722ed1;
}

.obu-order-statistic-item.is-pending .obu-order-statistic-value {
    color: #722ed1;
}

.obu-order-statistic-item.is-activated {
    border-left-color: #faad14;
}

.obu-order-statistic-item.is-activated .obu-order-statistic-value {
    color: #faad14;
}

.obu-order-statistic-item.is-activated-refund {
    border-left-color: #cf1322;
}

.obu-order-statistic-item.is-activated-refund .obu-order-statistic-value {
    color: #cf1322;
}

.app-table-search .obu-order-search-form .ant-form-item {
    margin-bottom: 8px;
}

.app-table-search .obu-order-search-form .ant-input,
.app-table-search .obu-order-search-form .ant-picker,
.app-table-search .obu-order-search-form .ant-select {
    width: 100%;
}

.app-table-search .obu-order-search-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    min-height: 34px;
}

.app-table-search.obu-order-search {
    padding: 10px 12px;
}

.app-table-search.obu-order-search .ant-collapse .ant-collapse-content .ant-collapse-content-box {
    padding-top: 6px !important;
}

.app-table-search.obu-vehicle-verification {
    padding: 10px 12px;
}

.app-table-search {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 10px;
    padding: 16px;
    box-shadow: 0 4px 6px #e4e4e4;
}
.app-table-search .ant-collapse {
    background-color: #fff;
}
.app-table-search .ant-collapse .ant-collapse-item {
    border-bottom: 0px;
}
.app-table-search .ant-collapse .ant-collapse-item .ant-collapse-header {
    padding: 0;
}
.app-table-search .ant-collapse .ant-collapse-content .ant-collapse-content-box {
    padding: 0;
    padding-top: 10px !important;
}
.app-table-search .ant-form-item {
    margin-bottom: 10px;
}
.app-table-body {
    background: #fff;
    border-radius: 18px;
    margin: 10px 10px 10px 0;
    padding: 16px;
}

.ant-modal-header {
    border-radius: 18px 18px 0 0 !important;
}

.ant-modal-content {
    border-radius: 18px !important;
}

.app-order-form .ant-timeline-item-content {
    margin: 0 0 0 40px;
}

.app-order-form .ant-timeline-item-tail {
    left: 10px !important;
}

.app-order-form .ant-timeline-item-head {
    margin-left: 6px !important;
    left: initial !important;
}

.app-order-form .ant-timeline-item-label {
    width: initial !important;
    margin-left: 20px;
    font-size: 20px;
    font-weight: 600;
}
