/* ==================== 退货代寄功能样式 ==================== */

/* 状态徽章样式 */
.status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* 费用显示样式 */
.price-display {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-item:last-child {
    margin-bottom: 0;
    border-top: 1px solid #90caf9;
    padding-top: 8px;
    font-weight: bold;
}

/* 表单分组样式 */
.form-section {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: #6c757d;
}

/* 文件上传区域样式 */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.file-upload-area.dragover {
    border-color: #28a745;
    background: #d4edda;
}

/* 进度步骤样式 */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step.active {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

.step.completed {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.step-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
}

.step.active .step-label {
    color: #007bff;
    font-weight: bold;
}

.step.completed .step-label {
    color: #28a745;
    font-weight: bold;
}

/* 历史记录样式 */
.history-item {
    border-left: 3px solid #007bff;
    padding-left: 15px;
    margin-bottom: 15px;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 9px;
    height: 9px;
    background: #007bff;
    border-radius: 50%;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-time {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.history-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
}

/* ==================== 开发中提示消息样式 ==================== */

/* SweetAlert2 开发中提示消息样式 */
.swal2-dev-message {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.swal2-dev-message .swal2-title {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.swal2-dev-message .swal2-html-container {
    margin: 1rem 0 !important;
    text-align: left !important;
}

.swal2-dev-message .swal2-html-container p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #495057 !important;
    margin-bottom: 1rem !important;
}

.swal2-dev-message .alert {
    border-radius: 8px !important;
    border: none !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    font-size: 0.9rem !important;
}

.swal2-dev-message .alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    color: #0c5460 !important;
    border-left: 4px solid #2196f3 !important;
}

.swal2-dev-message .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

.swal2-dev-message .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

.swal2-dev-message .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.swal2-dev-message .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
}

/* 动画效果 */
@keyframes devMessagePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.swal2-dev-message {
    animation: devMessagePulse 0.3s ease-out !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step-label {
        position: static;
        transform: none;
        margin-top: 5px;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    /* 移动端开发中提示样式调整 */
    .swal2-dev-message {
        margin: 10px !important;
        width: calc(100% - 20px) !important;
    }
    
    .swal2-dev-message .swal2-title {
        font-size: 1.3rem !important;
    }
    
    .swal2-dev-message .swal2-html-container p {
        font-size: 0.9rem !important;
    }
    
    .swal2-dev-message .alert {
        font-size: 0.8rem !important;
        padding: 10px 12px !important;
    }
}
