
/* 价格输入框样式 */
.price-input-container {
    position: relative;
    width: 100%;
}

.currency-symbol {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    pointer-events: none;
    z-index: 1;
    font-weight: 500;
}

.price-input-with-symbol {
    padding-left: 20px;
    width: 100%;
    font-size: inherit;
}

/* 隐藏支付方式行 */
.pay-method-row {
    display: none;
}

/* 随机图片/上传按钮 - 现代样式 */
.random-image-btn,
.avatar-btn,
.generate-order-btn {
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-700);
    white-space: nowrap;
}

.random-image-btn:hover,
.avatar-btn:hover,
.generate-order-btn:hover {
    background: var(--gray-200);
    color: var(--primary);
}

.form-link-container,
.random-image-container,
.avatar-upload-container,
.order-number-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.order-number-input {
    flex: 1;
}

/* 头像预览 */
.avatar-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gray-200);
}

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

/* 日期时间输入框 */
input[type="datetime-local"] {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    color: var(--gray-700);
    width: 100%;
    cursor: pointer;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    opacity: 0.6;
    cursor: pointer;
    color: var(--primary);
}
		
        /* 价格输入框样式 */
        .price-input-container {
            position: relative;
            width: 100%;
        }
        
        .currency-symbol {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            color: var(--color-text-light);
            pointer-events: none;
            z-index: 1;
        }
        
        .price-input-with-symbol {
            padding-left: 20px;
            width: 100%;
            font-size: inherit;
        }

        /* 隐藏支付方式行 */
        .pay-method-row {
            display: none;
        }
        
        
        /* 随机图片按钮样式 */
        .random-image-btn {
            display: inline-block;
            margin-left: 8px;
            padding: 4px 8px;
            background: #f0f0f0;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
        }
        
        .form-link-container {
            display: flex;
            align-items: center;
            width: 100%;
        }
        
        .random-image-container {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-grow: 1;
        }
        
        .random-image-container label {
            min-width: 6em;
        }
        
         .avatar-upload-container {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
        }
        
        .avatar-preview {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #e0e0e0;
        }
        
        .avatar-actions {
            display: flex;
            gap: 8px;
        }
        
        .avatar-btn {
            padding: 6px 12px;
            background: #f0f0f0;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
        }
        
        .order-number-container {
            display: flex;
            align-items: center;
            width: 100%;
        }
        
        .order-number-input {
            flex: 1;
        }
        
        .generate-order-btn {
            margin-left: 8px;
            padding: 6px 12px;
            background: #f0f0f0;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            white-space: nowrap;
        }
        /* 日期时间输入框样式 */
        input[type="datetime-local"] {
            border: none;
            background: transparent;
            font-family: inherit;
            font-size: inherit;
            color: var(--color-text-light);
            width: 100%;
        }
        
        /* 隐藏默认的日期选择器图标 */
        input[type="datetime-local"]::-webkit-calendar-picker-indicator {
            opacity: 0.5;
            cursor: pointer;
        }
        
        /* 新通知样式 - 从顶部进入 */
        .notification-container {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .new-user-toast {
            position: relative;
            background: #4caf50;
            border-radius: 8px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            box-shadow: 0 4px 12px rgba(0,0,0,.15);
            cursor: pointer;
            will-change: transform,opacity;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            max-width: calc(100% - 20px);
            margin-bottom: 10px;
            pointer-events: auto;
            min-width: 400px;
            max-width: 400px;
        }

        .toast-icon {
            width: 24px;
            height: 24px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
            font-size: 16px;
            color: #4caf50;
            font-weight: bold;
        }

        .toast-text {
            flex: 1;
            color: #fff;
            font-size: 15px;
            font-weight: 500;
            line-height: 1.4;
            word-break: break-word;
        }

        .toast-close {
            width: 24px;
            height: 24px;
            background: transparent;
            border: none;
            color: #fff;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: .8;
            flex-shrink: 0;
            transition: opacity .15s ease,transform .15s ease;
            padding: 0;
            margin-left: 8px;
        }

        .toast-close:hover {
            opacity: 1;
        }

        .toast-close:active {
            transform: scale(.85);
        }

        /* 通知进入和离开动画 - 从顶部进入 */
        .notification-enter-active {
            animation: notification-slide-in 0.3s ease-out;
        }

        .notification-leave-active {
            animation: notification-slide-out 0.3s ease-in forwards;
        }

        @keyframes notification-slide-in {
            0% {
                transform: translateY(-100px);
                opacity: 0;
            }
            100% {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes notification-slide-out {
            0% {
                transform: translateY(0);
                opacity: 1;
            }
            100% {
                transform: translateY(-100px);
                opacity: 0;
            }
        }

        /* 暗色模式支持 */
        @media (prefers-color-scheme: dark) {
            .new-user-toast {
                box-shadow: 0 4px 12px rgba(0,0,0,.3);
            }

            .toast-text {
                color: #ffffff;
            }
        }

        /* 多行文本支持 */
        .toast-text.multiline {
            line-height: 1.3;
            max-height: 60px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        /* 隐藏状态 */
        .toast-hidden {
            display: none;
        }

        /* 不同颜色的通知 */
        .new-user-toast.info {
            background: #2196f3;
        }

        .new-user-toast.info .toast-icon {
            color: #2196f3;
        }

        .new-user-toast.warning {
            background: #ff9800;
        }

        .new-user-toast.warning .toast-icon {
            color: #ff9800;
        }

        .new-user-toast.error {
            background: #f44336;
        }

        .new-user-toast.error .toast-icon {
            color: #f44336;
        }
        
        	    .XE-main {
            margin: 0;
            max-height: calc(100% + 1px);
            min-height: calc(100% + 1px);
            max-width: 100%;
            min-width: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .XE-container {
            display: flex;
            flex-direction: column;
            background: #f2f2f2;
            min-height: 100vh;
        }

        .XE-header {
            min-height: 51px;
            width: 100%;
            display: flex;
            align-items: center;
            color: #333;
            position: relative;
            flex-shrink: 0;
        }

        .XE-back-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: clamp(18px, 4.5vw, 23px);
            margin-left: 12px;
            z-index: 10;
        }

        .XE-title {
            font-size: clamp(18px, 5vw, 22px);
            font-weight: 700;
            margin-left: 40px;
            flex: 1;
            padding-right: 40px;
        }

        .XE-card {
            border-radius: 8px;
            background: #fff;
            margin: 12.5px;
            overflow: hidden;
        }

        .XE-badge {
            color: #f90;
            background-image: url(https://file.zhuyitai.com/info/pic/202506/24/b797f227ddfff535bb09ae2533f00a79.png);
            background-size: 100% auto;
            background-repeat: no-repeat;
            font-size: clamp(11px, 3vw, 12.2px);
            padding: 11px 12px;
            word-break: break-word;
        }

        .XE-card-content {
            padding: clamp(12px, 3vw, 16.6px) clamp(10px, 3vw, 12.5px);
        }

        .XE-section-title {
            font-size: clamp(13px, 3.5vw, 14.6px);
            color: #303133;
            font-weight: 700;
            margin-bottom: clamp(6px, 2vw, 9.36px);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }

        .XE-subtitle {
            font-size: clamp(11px, 3vw, 12.5px);
            font-weight: lighter;
            margin-left: 8px;
            color: #999;
        }

        .XE-progress-container {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin: 20px 0 15px;
        }

        .XE-progress-line {
            height: 1px;
            background: #ebebeb;
            position: absolute;
            top: 16px;
            left: 12.5%;
            right: 12.5%;
            z-index: 1;
        }

        .XE-progress-active {
            height: 2px;
            background: #f90;
            position: absolute;
            top: 16px;
            left: 12.5%;
            width: 0;
            z-index: 2;
        }

        .XE-step {
            width: 25%;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 3;
            position: relative;
        }

        .XE-step-icon {
            min-height: clamp(28px, 8vw, 32px);
            min-width: clamp(28px, 8vw, 32px);
            max-height: clamp(28px, 8vw, 32px);
            max-width: clamp(28px, 8vw, 32px);
            border-radius: 50%;
            padding: 6px;
            box-sizing: border-box;
            z-index: 4;
            background: #f6f6f6;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .XE-step-active .XE-step-icon {
            background: #f90;
        }

        .XE-step-active .XE-step-icon svg path {
            fill: #fff;
        }

        .XE-step-label {
            font-size: clamp(9px, 2.5vw, 11px);
            word-break: keep-all;
            color: #111;
            line-height: 1.3;
            margin-top: 4px;
            text-align: center;
        }

        .XE-info-section {
            padding: 0 clamp(10px, 3vw, 12.5px) clamp(10px, 3vw, 12.5px);
        }

        .XE-info-title {
            font-size: clamp(16px, 4.5vw, 18.73px);
            color: #111;
            font-family: roboto, PingFang SC, NotoSans SC;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 10px;
        }

        .XE-notice-container {
            margin: 12px 0;
            display: flex;
            gap: 15px;
        }

        .XE-notice-text {
            font-size: clamp(11px, 3vw, 12px);
            color: #999;
            line-height: 1.5;
            flex: 1;
        }

        .XE-primary-button {
            width: 100%;
            height: clamp(36px, 8vw, 40px);
            color: #fff;
            background-color: #f90;
            border-radius: 24px;
            line-height: clamp(36px, 8vw, 40px);
            text-align: center;
            margin-top: 20px;
            font-size: clamp(14px, 3.5vw, 16px);
            cursor: pointer;
        }

        .XE-card-compact {
            margin-top: 0;
            padding: clamp(8px, 2vw, 8.3px) clamp(10px, 3vw, 12.5px);
        }

        .XE-order-item {
            padding: clamp(6px, 2vw, 8.32px) 0;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .XE-product-image {
            min-height: clamp(70px, 20vw, 83.28px);
            min-width: clamp(70px, 20vw, 83.28px);
            height: clamp(70px, 20vw, 83.28px);
            width: clamp(70px, 20vw, 83.28px);
            overflow: hidden;
            border-radius: 8.32px;
            flex-shrink: 0;
            background: #f5f5f5;
        }

        .XE-product-info {
            display: flex;
            align-items: flex-start;
            width: 100%;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }

        .XE-product-title {
            line-height: 1.4;
            font-size: clamp(13px, 3.5vw, 14px);
            color: #303133;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
            min-width: 60%;
        }

        .XE-price-container {
            text-align: right;
            font-size: clamp(11px, 3vw, 12.5px);
            flex-shrink: 0;
        }

        .XE-price-amount {
            height: auto;
            color: #303133;
            font-family: AlibabaSans_102_Md;
            margin-bottom: 5px;
        }

        .XE-currency {
            display: flex;
            font-weight: 500;
            align-items: baseline;
            line-height: 1;
        }

        .XE-currency-symbol {
            font-size: clamp(9px, 2.5vw, 10.4px);
            padding: 0 1px;
        }

        .XE-price-integer {
            font-weight: 500;
            font-size: clamp(12px, 3.5vw, 14.5748px);
        }

        .XE-price-decimal {
            font-size: clamp(9px, 2.5vw, 10.41px);
        }

        .XE-quantity {
            color: #999;
            font-size: clamp(11px, 3vw, 12px);
        }

        .XE-summary-row {
            min-height: clamp(35px, 10vw, 41.64px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
        }

        .XE-summary-label {
            font-size: clamp(13px, 3.5vw, 14.5748px);
            font-weight: 600;
            color: #333;
        }

        .XE-total-amount {
            font-family: AlibabaSans_102_Md;
            color: #ff301a;
            font-weight: 700;
        }

        .XE-total-price .XE-currency-symbol {
            font-size: clamp(11px, 3vw, 12.4928px);
            margin-right: 2px;
        }

        .XE-total-price .XE-price-integer {
            font-size: clamp(18px, 5vw, 20.8212px);
        }

        .XE-total-price .XE-price-decimal {
            font-size: clamp(13px, 3.5vw, 14.5748px);
        }

        .XE-order-label {
            font-size: clamp(13px, 3.5vw, 14.5748px);
            color: #111;
        }

        .XE-order-number {
            color: #999;
            font-size: clamp(13px, 3.5vw, 14.5748px);
            word-break: break-all;
            text-align: right;
        }

        .XE-more-button {
            color: #999;
            justify-content: center;
            cursor: pointer;
            font-size: clamp(12px, 3vw, 14px);
        }

        .XE-step-icon svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .XE-user-info {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .XE-avatar {
            width: 40px;
            height: 40px;
            margin-right: 10px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .XE-username {
            font-size: 14px;
            font-weight: 600;
        }