/* ===== 订单进度前端样式 - Flatsome主题适配 ===== */

/* ========== 全局变量定义 ========== */
:root {
    --primary-color: #446084;
    --primary-hover: #2c415c;
    --secondary-color: #89C442;
    --success-color: #5cb85c;
    --warning-color: #f0ad4e;
    --error-color: #d9534f;
    --text-primary: #333;
    --text-secondary: #777;
    --text-light: #999;
    --border-color: #ddd;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --radius-sm: 3px;
    --radius-md: 6px;
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
}

/* ========== 基础重置和通用样式 ========== */
.order-progress-search-wrapper,
.order-progress-wrapper,
.search-result-container {
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
    color: var(--text-primary);
}

.order-progress-search-wrapper *,
.order-progress-wrapper *,
.search-result-container * {
    box-sizing: border-box;
}

/* ========== 主容器样式 ========== */
.order-progress-search-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: calc(100vh - 200px);
}

/* ========== 搜索表单美化 ========== */
.order-progress-search-form {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.search-form-title {
    margin: 0 0 var(--spacing-lg) 0;
    font-size: 24px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

/* ========== 标签页美化 ========== */
.search-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: var(--spacing-lg);
    background: var(--bg-light);
    padding: 6px;
    border-radius: var(--radius-md);
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}

.tab-btn {
    position: relative;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
    flex: 1;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(68, 96, 132, 0.1);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.tab-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ========== 输入表单美化 ========== */
.search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.input-group {
    position: relative;
}

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

.input-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.input-label .dashicons {
    color: var(--primary-color);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.required-mark {
    color: var(--error-color);
    font-weight: 700;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.2s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(68, 96, 132, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

/* ========== 提交按钮美化 ========== */
.search-submit-btn {
    width: 100%;
    position: relative;
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-md);
}

.search-submit-btn:active {
    transform: translateY(1px);
}

.search-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== 提示信息美化 ========== */
.search-tips {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
    margin-top: var(--spacing-md);
}

.search-tips p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.search-tips .dashicons {
    color: var(--primary-color);
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========== 结果容器美化 ========== */
.search-result-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: slideInUp 0.3s ease-out;
}

.result-header {
    background: var(--primary-color);
    padding: var(--spacing-md);
    color: white;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.back-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ========== 错误消息美化 ========== */
.search-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-left: 3px solid var(--error-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.search-error p {
    margin: 0;
    color: #721c24;
    font-weight: 500;
}

/* ========== 进度详情美化 ========== */
.order-progress-detail-wrapper {
    padding: var(--spacing-lg);
    max-width: 100%;
}

.progress-detail-header h2 {
    margin: 0 0 var(--spacing-lg) 0;
    font-size: 22px;
    color: var(--text-primary);
    font-weight: 700;
}

.progress-meta {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
}

.meta-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

/* 状态颜色 */
.meta-value.status-pending {
    color: var(--warning-color);
}

.meta-value.status-processing {
    color: var(--primary-color);
}

.meta-value.status-completed {
    color: var(--success-color);
}

.meta-value.status-cancelled,
.meta-value.status-failed {
    color: var(--error-color);
}

/* ========== 时间线美化 ========== */
.progress-timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.timeline-content {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    line-height: 1.5;
}

.timeline-content p {
    margin: 0 0 var(--spacing-sm) 0;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* ========== 图片展示美化 ========== */
.row-slider.slider-nav-simple {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--spacing-md) !important;
    margin: var(--spacing-lg) 0 !important;
}

.gallery-col {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    flex: none !important;
}

.gallery-col .box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.gallery-col .box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-col .box-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: var(--bg-light);
}

.gallery-col .box-image .progress-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.gallery-col .box-image .progress-image-wrapper.ratio-16-9 {
    padding-bottom: 0;
    height: 100%;
}

.progress-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lightbox-link:hover .progress-image-wrapper img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.lightbox-link:hover .image-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

/* ========== 无进度状态美化 ========== */
.no-progress {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.no-progress-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
    filter: grayscale(1);
}

.no-progress p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* ========== 页脚美化 ========== */
.progress-detail-footer {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.footer-text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

/* ========== 移动端响应式优化 ========== */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 6px;
        --spacing-sm: 10px;
        --spacing-md: 12px;
        --spacing-lg: 16px;
        --spacing-xl: 20px;
    }

    .order-progress-search-wrapper {
        padding: var(--spacing-sm);
        margin: 0;
        min-height: 100vh;
    }

    .order-progress-search-form {
        padding: var(--spacing-lg);
        border-radius: var(--radius-sm);
        margin: 0;
        box-shadow: var(--shadow-sm);
    }

    .search-form-title {
        font-size: 18px;
        margin-bottom: var(--spacing-md);
    }

    .search-tabs {
        gap: 4px;
        padding: 4px;
    }

    .tab-btn {
        padding: 10px 8px;
        font-size: 10px;
        gap: 4px;
        flex-direction: column;
        min-height: 45px;
    }

    .tab-btn .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }

    .input-label {
        font-size: 13px;
    }

    .search-input {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 10px 12px;
    }

    .search-submit-btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }

    .meta-value {
        font-size: 14px;
        font-weight: 700;
    }

    .progress-timeline {
        padding-left: var(--spacing-md);
    }

    .timeline-item::before {
        left: -14px;
        width: 8px;
        height: 8px;
        top: 6px;
    }

    .timeline-date {
        font-size: 10px;
        padding: 3px 6px;
    }

    .row-slider.slider-nav-simple {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md) !important;
    }

    .gallery-col .box-image {
        padding-top: 70%;
    }
}

@media (max-width: 480px) {
    .order-progress-search-form {
        padding: var(--spacing-md);
        border-radius: var(--radius-sm);
    }

    .search-form-title {
        font-size: 16px;
        margin-bottom: var(--spacing-sm);
    }

    .search-tabs {
        gap: 2px;
        padding: 3px;
    }

    .tab-btn {
        padding: 8px 6px;
        font-size: 9px;
        gap: 2px;
        min-height: 40px;
    }

    .tab-btn .dashicons {
        font-size: 12px;
        width: 12px;
        height: 12px;
    }

    .input-label {
        font-size: 12px;
    }

    .search-input {
        padding: 8px 10px;
        font-size: 16px;
    }

    .search-submit-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 42px;
    }

    .search-input-wrapper {
        gap: var(--spacing-sm);
    }

    .progress-meta {
        padding: var(--spacing-sm);
    }

    .timeline-content {
        padding: var(--spacing-sm);
        font-size: 13px;
    }
}

/* ========== 深色模式支持 ========== */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --border-color: #374151;
        --bg-light: #1f2937;
        --bg-card: #111827;
    }

    .search-tabs {
        background: #374151;
    }

    .tab-btn.active {
        background: var(--bg-card);
        color: var(--primary-color);
    }

    .search-input {
        background: #374151;
        border-color: #4b5563;
        color: var(--text-primary);
    }

    .search-input:focus {
        border-color: var(--primary-color);
        background: var(--bg-card);
    }

    .timeline-content,
    .gallery-col .box {
        background: #374151;
        border-color: #4b5563;
    }
}

/* ========== 打印样式优化 ========== */
@media print {
    .order-progress-search-wrapper {
        background: white !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .search-tabs,
    .search-submit-btn,
    .back-btn,
    .image-overlay {
        display: none !important;
    }

    .order-progress-search-form,
    .search-result-container,
    .timeline-content {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    .progress-timeline::before,
    .timeline-item::before {
        background: #333 !important;
    }
}

/* ========== 可访问性优化 ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --border-color: #000;
        --text-primary: #000;
        --text-secondary: #333;
        --bg-card: #fff;
    }
}

/* 焦点可见性 */
.search-input:focus,
.tab-btn:focus,
.search-submit-btn:focus,
.back-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========== 性能优化 ========== */
.order-progress-search-wrapper,
.search-result-container {
    contain: layout style paint;
}

.gallery-col .box-image {
    contain: layout;
}

.progress-image-wrapper img {
    will-change: transform;
}

.search-submit-btn:hover,
.gallery-col .box:hover {
    will-change: transform;
}

/* ========== 原有样式兼容（为向后兼容保留） ========== */

/* 进度查看页面容器 */
.order-progress-wrapper {
    max-width: 900px;
    margin: var(--spacing-lg) auto;
    padding: 0 var(--spacing-md);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 密码表单 */
.order-progress-password-form {
    max-width: 400px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.order-progress-password-form h2 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

.order-progress-password-form p {
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
}

.order-progress-password-form .form-group {
    margin-bottom: var(--spacing-md);
}

.order-progress-password-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.order-progress-password-form input[type="password"] {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.order-progress-password-form input[type="password"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.order-progress-password-form button {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-progress-password-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.order-progress-password-form .error {
    color: var(--error-color);
    font-size: 14px;
    margin-top: var(--spacing-sm);
    text-align: center;
    font-weight: 500;
}

/* 进度内容 */
.order-progress-content {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.order-progress-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.order-progress-header h1 {
    margin: 0 0 var(--spacing-md) 0;
    font-size: clamp(24px, 4vw, 32px);
    color: var(--text-primary);
    font-weight: 700;
}

.order-progress-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 14px;
}

.order-progress-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.order-progress-meta-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 时间线兼容样式 */
.order-progress-timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.order-progress-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.order-progress-timeline .timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding-left: 0;
}

.order-progress-timeline .timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.order-progress-timeline .timeline-date {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.order-progress-timeline .timeline-content {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.order-progress-timeline .timeline-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.order-progress-timeline .timeline-content p {
    margin: 0 0 var(--spacing-sm) 0;
}

.order-progress-timeline .timeline-content p:last-child {
    margin-bottom: 0;
}

.order-progress-timeline .timeline-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.order-progress-timeline .timeline-content a:hover {
    text-decoration: underline;
}

/* 页脚 */
.order-progress-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

/* 空状态 */
.order-progress-empty {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
}

.order-progress-empty-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
    filter: grayscale(1);
}

/* 加载动画 */
.order-progress-loading {
    text-align: center;
    padding: var(--spacing-xl);
}

.order-progress-loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 主题兼容 */
body.flatsome .order-progress-wrapper {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

body.flatsome .order-progress-content {
    border: 1px solid var(--border-color);
}