/* 按产品原型设计稿还原的管理端样式 */
body.inside-header,
body.inside-aside {
    background: #f5f7fa;
}

.proto-page {
    padding: 22px 26px 10px;
}

.proto-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 18px;
}

.proto-page-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2329;
    margin: 0;
}

.proto-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
    padding: 20px 22px;
    margin-bottom: 18px;
}

.proto-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.proto-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2329;
    margin: 0 0 4px;
}

.proto-card-sub {
    font-size: 13px;
    color: #8f959e;
    margin: 0 0 16px;
}

.proto-card-head .proto-card-sub {
    margin-bottom: 0;
}

.proto-card-extra {
    font-size: 13px;
    color: #8f959e;
    white-space: nowrap;
}

.proto-card-extra .proto-link {
    margin-right: 0;
}

.proto-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    gap: 22px;
    border-bottom: 1px solid #f0f1f3;
}

.proto-tabs > li > a {
    display: block;
    padding: 8px 0 12px;
    color: #646a73;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.proto-tabs > li.active > a {
    color: #1677ff;
    font-weight: 600;
    border-bottom-color: #1677ff;
}

.proto-search {
    display: flex;
    align-items: center;
    border: 1px solid #e5e6eb;
    border-radius: 8px;
    padding: 0 12px;
    height: 36px;
    width: 280px;
    background: #fff;
}

.proto-search .fa {
    color: #8f959e;
    margin-right: 8px;
}

.proto-search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 13px;
    color: #1f2329;
    background: transparent;
}

.proto-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    margin: 0;
    vertical-align: middle;
}

.proto-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.proto-switch .slider {
    position: absolute;
    inset: 0;
    background: #dcdfe3;
    border-radius: 24px;
    transition: .2s;
    cursor: pointer;
}

.proto-switch .slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.proto-switch input:checked + .slider {
    background: #1677ff;
}

.proto-switch input:checked + .slider:before {
    transform: translateX(22px);
}

.status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 20px;
}

.status-pending {
    background: #fff3e6;
    color: #f59a23;
}

.status-approved,
.status-dispatched {
    background: #e8f3ff;
    color: #1677ff;
}

.status-finished {
    background: #e7f8ee;
    color: #12a150;
}

.status-canceled {
    background: #f2f3f5;
    color: #8f959e;
}

.proto-card .bootstrap-table .fixed-table-container {
    border: none;
}

.proto-card .bootstrap-table .table {
    border: none;
    margin-bottom: 0;
}

.proto-card .bootstrap-table .table > thead > tr > th {
    background: #f3f5f8;
    border: none;
    color: #646a73;
    font-weight: 500;
    padding: 12px;
}

.proto-card .bootstrap-table .table > tbody > tr > td {
    border-top: none;
    border-bottom: 1px solid #f0f1f3;
    padding: 13px 12px;
    vertical-align: middle;
    color: #1f2329;
}

.proto-card .fixed-table-toolbar .bs-bars,
.proto-card .fixed-table-toolbar .search,
.proto-card .fixed-table-toolbar .columns {
    margin-top: 0;
}

.proto-card .btn-toolbar {
    margin-bottom: 14px;
}

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

.proto-table th {
    background: #f3f5f8;
    color: #646a73;
    font-weight: 500;
    padding: 12px;
    text-align: left;
}

.proto-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #f0f1f3;
    color: #1f2329;
    vertical-align: middle;
}

.proto-table tr:last-child td {
    border-bottom: none;
}

.proto-link {
    color: #1677ff;
    margin-right: 12px;
    cursor: pointer;
    text-decoration: none;
}

.proto-link:hover {
    color: #0e5fd8;
    text-decoration: none;
}

.proto-muted {
    color: #8f959e;
}

.proto-empty {
    text-align: center;
    color: #8f959e;
    padding: 32px 0;
}

/* 弹窗：详情 / 修改记录 / 更换司机车辆 */
.record-detail {
    padding: 24px 26px 8px;
}

.record-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f3f5;
}

.record-no {
    color: #1677ff;
    font-weight: 600;
    font-size: 15px;
}

.record-row {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #f2f3f5;
    font-size: 14px;
}

.record-row:last-child {
    border-bottom: none;
}

.record-row .label {
    color: #8f959e;
}

.record-row .value {
    color: #1f2329;
    text-align: right;
}

.record-tip {
    margin-top: 16px;
    background: #eaf9f1;
    color: #12a150;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
}

.record-tip.tip-blue {
    background: #eef5ff;
    color: #1677ff;
}

.record-field {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f2f3f5;
    font-size: 14px;
}

.record-field:last-child {
    border-bottom: none;
}

.record-field .label {
    width: 96px;
    color: #8f959e;
    flex-shrink: 0;
}

.record-field .control {
    flex: 1;
    min-width: 0;
}

.record-field .control .form-control {
    height: 36px;
    border-radius: 8px;
    border-color: #e5e6eb;
    box-shadow: none;
}

.layer-footer.record-footer {
    padding: 16px 26px 20px;
    margin: 0;
    border-top: 1px solid #f2f3f5;
    text-align: right;
    background: #fff;
}

.layer-footer.record-footer .btn {
    min-width: 96px;
    height: 36px;
    border-radius: 8px;
    margin-left: 12px;
}

.layer-footer.record-footer .btn-default {
    border-color: #e5e6eb;
    color: #1f2329;
}

.layer-footer.record-footer .btn-primary {
    background: #1677ff;
    border-color: #1677ff;
}

/* 弹窗内不显示默认背景 */
body.is-dialog {
    background: #fff;
}

/* 排班与派车月份切换 */
.proto-month {
    height: 36px;
    border: 1px solid #e5e6eb;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1f2329;
    background: #fff;
}

/* 页面右上操作链接 */
.proto-page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proto-btn-plain {
    display: inline-block;
    height: 36px;
    line-height: 34px;
    padding: 0 16px;
    border: 1px solid #1677ff;
    border-radius: 8px;
    color: #1677ff;
    background: #fff;
    font-size: 14px;
    text-decoration: none;
}

.proto-btn-plain:hover {
    color: #0e5fd8;
    border-color: #0e5fd8;
    text-decoration: none;
}
