/* 订单管理页面样式 */

/* 操作栏 */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-bar .left {
    display: flex;
    gap: 12px;
}

.action-bar .right {
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.btn-primary:hover {
    background: #40a9ff;
    border-color: #40a9ff;
    color: #fff;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 0 12px;
}

.search-box i {
    font-size: 16px;
    color: #999;
}

.search-box input {
    width: 240px;
    height: 32px;
    border: none;
    background: none;
    margin-left: 8px;
    outline: none;
    font-size: 14px;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.select {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s;
    background: #fff;
}

.select:hover {
    border-color: #40a9ff;
}

.select:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.input {
    width: 120px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s;
}

.input:hover {
    border-color: #40a9ff;
}

.input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 数据表格 */
.data-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

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

th, td {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background: #fafafa;
    color: #333;
    font-weight: 500;
}

td {
    color: #666;
}

.checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    cursor: pointer;
}

.customer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-info .name {
    color: #333;
}

.customer-info .phone {
    color: #999;
    font-size: 12px;
}

.status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.status.success {
    background: #f6ffed;
    color: #52c41a;
}

.status.warning {
    background: #fffbe6;
    color: #faad14;
}

.status.info {
    background: #e6f7ff;
    color: #1890ff;
}

.status.error {
    background: #fff2f0;
    color: #f5222d;
}

.actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #666;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-icon:hover {
    color: #1890ff;
    border-color: #1890ff;
}

/* 改进的分页样式 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pagination-size {
    height: 32px;
    min-width: 100px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-size:hover,
.pagination-size:focus {
    border-color: #1890ff;
}

.pagination-text {
    color: #666;
    font-size: 14px;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    min-width: 32px;
    height: 32px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0 8px;
}

.pagination-btn:hover:not(:disabled) {
    color: #1890ff;
    border-color: #1890ff;
    z-index: 1;
}

.pagination-btn.active {
    background-color: #1890ff;
    border-color: #1890ff;
    color: #fff;
    font-weight: 500;
}

.pagination-btn:disabled {
    cursor: not-allowed;
    color: #d9d9d9;
    background-color: #f5f5f5;
}

.pagination-ellipsis {
    color: #999;
    font-size: 14px;
    padding: 0 4px;
}

.pagination-jumper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.pagination-jumper-input {
    width: 50px;
    height: 32px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    text-align: center;
    padding: 0 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination-jumper-input:hover,
.pagination-jumper-input:focus {
    border-color: #1890ff;
}

.pagination-jumper-button {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-jumper-button:hover {
    color: #1890ff;
    border-color: #1890ff;
}

.first,
.prev,
.next,
.last {
    padding: 0;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .pagination {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .pagination-info,
    .pagination-buttons,
    .pagination-jumper {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .pagination-pages {
        display: none;
    }
    
    .pagination-text {
        font-size: 12px;
    }
    
    .pagination-jumper span {
        display: none;
    }
}

/* 改进的模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    width: 680px;
    max-width: 90%;
    max-height: 85vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.modal-header .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-header .btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(85vh - 130px);
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
}

/* 订单详情样式优化 */
.detail-section {
    margin-bottom: 28px;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.detail-section h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #1890ff;
    margin-right: 8px;
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.info-item.full {
    grid-column: 1 / -1;
}

.info-item label {
    color: #888;
    white-space: nowrap;
    min-width: 80px;
}

.info-item span {
    color: #333;
    word-break: break-word;
}

/* 商品信息表格优化 */
.detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.detail-table th {
    background-color: #fafafa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

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

.product-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 费用信息优化 */
.fee-list {
    margin-top: 16px;
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.fee-item.total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #333;
    font-weight: 600;
}

.fee-item.total span:last-child {
    color: #f5222d;
    font-size: 18px;
}

/* 订单发货表单优化 */
#shipForm {
    max-width: 100%;
}

#shipForm .form-group {
    margin-bottom: 24px;
}

#shipForm .form-group:last-child {
    margin-bottom: 0;
}

#shipForm label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

#shipForm .input,
#shipForm .select {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

#shipForm .input:focus,
#shipForm .select:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: none;
}

#shipForm .input:hover,
#shipForm .select:hover {
    border-color: #40a9ff;
}

#shipForm .input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #888;
}

#shipForm textarea.input {
    min-height: 80px;
    resize: vertical;
}

/* 物流追踪样式优化 */
.logistics-info {
    padding: 0;
}

.logistics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.company {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f9fe;
    padding: 8px 16px;
    border-radius: 30px;
}

.company i {
    font-size: 24px;
    color: #1890ff;
}

.company span {
    font-weight: 500;
    color: #333;
}

.tracking-number {
    color: #666;
    font-size: 14px;
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 4px;
}

.logistics-timeline {
    padding-left: 16px;
    margin-left: 8px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
    border-left: 1px solid #e8e8e8;
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left: 1px solid transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e8e8e8;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e8e8e8;
}

.timeline-item.active::before {
    background: #1890ff;
    border: 2px solid #e6f7ff;
    box-shadow: 0 0 0 1px #1890ff;
}

.timeline-item.active .status {
    color: #1890ff;
    font-weight: 500;
}

.timeline-item .time {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.timeline-item .status {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.timeline-item .detail {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 按钮样式优化 */
.modal-footer .btn {
    min-width: 90px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.modal-footer .btn-primary {
    background: #1890ff;
    color: #fff;
    border: none;
}

.modal-footer .btn-primary:hover {
    background: #40a9ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.25);
}

.modal-footer .btn-default {
    background: #fff;
    color: #333;
    border: 1px solid #d9d9d9;
}

.modal-footer .btn-default:hover {
    color: #40a9ff;
    border-color: #40a9ff;
}

/* 订单状态标签样式 */
.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.status.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.status.paid {
    background: #e6f7ff;
    color: #1890ff;
}

.status.shipped {
    background: #f6ffed;
    color: #52c41a;
}

.status.completed {
    background: #e6f7ff;
    color: #1890ff;
}

.status.cancelled {
    background: #fff1f0;
    color: #f5222d;
}

.status.refunding {
    background: #fff1f0;
    color: #fa541c;
}

.status.refunded {
    background: #f9f0ff;
    color: #722ed1;
}

/* 物流状态标签样式 */
.logistics {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.logistics.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.logistics.shipping {
    background: #e6f7ff;
    color: #1890ff;
}

.logistics.delivered {
    background: #f6ffed;
    color: #52c41a;
}

.logistics.returned {
    background: #fff1f0;
    color: #f5222d;
}

/* 功能按钮区样式 */
.left-actions, .right-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 筛选条件样式 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    color: #666;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.filter-group input[type="date"],
.filter-group input[type="number"] {
    width: 130px;
}

/* 订单列表表格样式 */
.data-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

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

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-info {
    color: #666;
}

.total {
    color: #999;
    font-size: 14px;
}

/* 订单详情样式 */
.order-detail {
    max-width: 900px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.order-section {
    margin-bottom: 25px;
}

.order-section h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.info-item span {
    color: #333;
}

.order-products {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.order-products th,
.order-products td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.order-products th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.order-products img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.fee-info {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.fee-item.total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    font-weight: bold;
    color: #f5222d;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 物流信息样式 */
.logistics-info {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
}

.logistics-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.logistics-timeline {
    position: relative;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #eee;
}

.timeline-item:last-child:before {
    bottom: auto;
    height: 20px;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
}

.timeline-item.active .timeline-dot {
    background-color: #1890ff;
}

.timeline-content {
    padding-left: 10px;
}

.timeline-time {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.timeline-text {
    color: #333;
}

/* 物流跟踪样式 */
.logistics-track-info {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.logistics-basic {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.logistics-status {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.shipping {
    background: #e6f7ff;
    color: #1890ff;
}

.status-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.status-desc {
    color: #666;
}

/* 物流管理样式 */
.logistics-companies {
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.logistics-company {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.company-actions {
    display: flex;
    gap: 10px;
}

.logistics-api {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
}

/* 商品信息样式 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.product-sku {
    font-size: 13px;
    color: #999;
}

.product-img-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.required {
    color: #f5222d;
    margin-left: 2px;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 144, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(24, 144, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(24, 144, 255, 0);
    }
}

.modal-footer .btn-primary {
    animation: pulse 2s infinite;
}

.modal-footer .btn-primary:hover {
    animation: none;
}

/* 表格交互效果增强 */
.data-table tbody tr {
    transition: all 0.3s;
}

.data-table tbody tr:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1;
    position: relative;
}

.data-table tbody tr td {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px;
    transition: all 0.3s;
}

.data-table tbody tr:hover td {
    border-bottom-color: #e6f7ff;
}

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

.data-table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #333;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 0 #f0f0f0;
}

.data-table .checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    margin: 0;
    background-color: #fff;
}

.data-table .checkbox:checked {
    background-color: #1890ff;
    border-color: #1890ff;
}

.data-table .checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

.data-table .checkbox:hover {
    border-color: #1890ff;
}

.actions {
    opacity: 0.7;
    transition: opacity 0.3s;
}

tr:hover .actions {
    opacity: 1;
}

/* 美化状态标签 */
.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    font-weight: 500;
    min-width: 70px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

.status.success {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status.warning {
    background-color: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}

.status.info {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.status.error {
    background-color: #fff2f0;
    color: #f5222d;
    border: 1px solid #ffccc7;
}

.status.refunding {
    background-color: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.status.refunded {
    background-color: #f9f0ff;
    color: #722ed1;
    border: 1px solid #d3adf7;
}

.status.returned {
    background-color: #fff0f6;
    color: #eb2f96;
    border: 1px solid #ffadd2;
} 