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

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes scaleIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

:root {
    /* 颜色系统 */
    --blue-primary: #2A6EF0;
    --orange-accent: #FF6B35;
    --orange-light: #FF9047;
    --green-special: #00C48C;
    --gray-bg: linear-gradient(to bottom, #F5F7FA, #E8EBF0);
    --gray-text: #5C5C5C;
    --gray-dark: #2D3436;
    --gray-border: #E0E0E0;
    --white: #FFFFFF;
    --gray-100: #f5f5f5;
    --gray-200: #e6e6e6;
    --gray-300: #d2d2d2;
    --gray-400: #a1a1a1;
    --gray-500: #666666;
    --gray-600: #333333;
    --gray-700: #1a1a1a;

    /* 间距系统 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;

    /* 圆角系统 */
    --radius-sm: 4px;
    --radius-md: 5px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* 投影系统 */
    --shadow-sm: 0px 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0px 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0px 8px 24px rgba(0,0,0,0.2);

    /* 字体系统 */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;

    /* 过渡时间 */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--gray-dark);


    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.5;
    overflow: hidden; /* 防止body滚动 */
}

/* 动画模块 */
.module {
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.module:nth-child(1) { animation-delay: 0.1s; }
.module:nth-child(2) { animation-delay: 0.2s; }
.module:nth-child(3) { animation-delay: 0.3s; }
.module:nth-child(4) { animation-delay: 0.4s; }

/* 页面容器 */
.page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--gray-bg);
    overflow: hidden; /* 防止容器滚动 */
    position: relative; /* 添加相对定位 */
    padding-bottom: 56px; /* 为底部菜单留出空间 */
}

/* 顶部标题 */
.header {
    flex-shrink: 0; /* 防止压缩 */
    height: 45px;
    padding: 10px;
    text-align: center;
    background: linear-gradient(194deg, #c43f0e, #fe8900, #ff7a00, #c43f0e);
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    z-index: 100;
}

/* 选项卡 */
.tabs {
    flex-shrink: 0;
    display: flex;
    background: #fff6f6;
    border-bottom: 1px solid var(--gray-border);
    z-index: 99;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: 0 0 80px;
    padding: var(--space-md) 0;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--gray-text);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
    scroll-snap-align: center;
    z-index: 9999;
}

.tab-icon {

}
.tab-icon img{
    width: 35px;
    height: 35px;
    background: var(--gray-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.tab > div:last-child {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tab.active {
    color: var(--orange-accent);
    position: relative;
    font-weight: 600;
}

.tab.active .tab-icon {
    background: #dddddd;
    color: var(--white);
    border-radius: 30px;
}

.tab.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--orange-accent);
    border-radius: var(--radius-sm);
}

/* 添加滚动提示 */
.tabs::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, transparent, var(--white));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.tabs.scrollable::after {
    opacity: 1;
}

/* 主体内容区 */
.content-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden; /* 防止内容区域滚动 */
    height: calc(100vh - 98px - 56px); /* 减去头部和底部的高度 */
}

/* 二级菜单 */
.platforms {
    flex-shrink: 0;
    width: 100px;
    background: #ffffff;
    padding: 8px;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: none;

    /* WebKit (Chrome, Safari) */
    -ms-overflow-style: none;  /* IE and Edge */
}

.platforms::-webkit-scrollbar {
    display: none;  /* Chrome/Safari hide scrollbar */
}

.platforms::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.platforms::-webkit-scrollbar-track {
    background-color: transparent;
}

.platform {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

/* 添加选中状态的三角形指针 */
.platform.active::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #ffe0d5;
    z-index: 101;
}

/* 添加悬停效果 */
.platform:hover {
    background: #fff7f7;
}

.platform-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    background: var(--gray-100);
}

.platform.active {
    background: #ffe0d5;
    border-color: #ffd2c2;
    border-radius: var(--radius-sm);
}

.platform-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 30px;
}

.platform.active .platform-icon {
    background: var(--white);
}

.platform-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
    width: 100%;
}

.platform-name {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-top: var(--space-xs);
    transition: all var(--transition-normal);
}

.platform.active .platform-name {
    color: var(--orange-accent);
    font-weight: 600;
}

/* 右侧内容区 */
.right-content {
    flex: 1;
    padding: 10px;
    overflow-y: auto; /* 允许垂直滚动 */
    scrollbar-width: thin;
}

/* 右侧内容区滚动条样式 */
.right-content::-webkit-scrollbar {
    width: 4px;
}

.right-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.right-content::-webkit-scrollbar-track {
    background-color: transparent;
}

/* 恢复其他元素的样式 */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 15px;
    margin-bottom: var(--space-md);
    color: var(--gray-text);
    font-weight: normal;
}

/* 输入框 */
.input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    margin-top: var(--space-sm);
    transition: all var(--transition-fast);
}

.input-field:focus {
    border-color: var(--blue-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(42, 110, 240, 0.2);
}

/* 会员类型 */
.option-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1px;
}

.option-type {
    border: 1px solid #c5c5c5;
    border-radius: 5px;
    color: #7f7f7f;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    padding: 10px;
    line-height: 1.1;
    flex: 1;
    min-width: 80px;
    max-width: 120px;
}

.option-type.active {
    background-color: #ff7200;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.option-type .price {
    font-size: 16px;
    font-weight: bold;
    color: #111;
    margin-bottom: 1px;
}

.option-type .original-price {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
    transform: scale(0.95);
    display: inline-block;
}

/* 价格列表 */
.price-list {
    margin-top: var(--space-md);
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-border);
    align-items: center;
}

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

.price {
    font-family: 'DIN Alternate', Arial, sans-serif;
    font-weight: bold;
    color: var(--orange-accent);
    font-size: 18px;
}

.original-price {
    font-family: 'DIN Alternate', Arial, sans-serif;
    text-decoration: line-through;
    color: var(--gray-text);
    font-size: 12px;
    margin-left: 4px;
}

/* 底部按钮 */
.footer-btn {
    position: static;              /* 取消固定定位 */
    width: 100%;
    margin-top: 18px;
    margin-bottom: 0;
    padding: 9px 0;
    background: linear-gradient(to right, #FF6B35, #FF9047);
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255,107,53,0.08);
    z-index: 1;
    transition: all 0.2s;
    letter-spacing: 2px;
    border: none;
    outline: none;
    display: block;
}
.footer-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* 说明文字 */
.note {
    font-size: 12px;
    color: var(--gray-text);
    margin-top: var(--space-md);
}

.price-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.price-option {
    min-width: 100px;
    min-height: 63px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   /* transition: all var(--transition-fast);*/
    cursor: pointer;
    box-sizing: border-box;
    padding: 7px 7px;
    line-height: 1.2;
    position: relative; /* 添加相对定位 */
}

/* 卡券标签样式 */
.card-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--orange-accent);
    color: var(--white);
    font-size: var(--font-size-xs);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    transform: scale(0.9);
    z-index: 1;
}

.price-option.active .card-tag {
    background: var(--white);
    color: var(--orange-accent);
}

.price-option.active {
    border: 1px solid #ff4400;
    background: url(/homestyle/style1/images/payinfo-selected-icon.png) no-repeat;
    background-position: right -0.5px bottom -0.1px;
    background-color: #FFF0F0;

}

.price-option .label {
    font-size: 13px;
    margin-bottom: 2px;
}

.price-option .price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 1px;
    color: #FF6B35;
}

.price-option.active .price {
    color: #ff0000;
}

.price-option .original-price {
    font-size: 10px;
    color: #fff;
    opacity: 0.7;
    text-decoration: line-through;
    display: inline-block;
}

.price-option:not(.active) .original-price {
    color: #FF6B35;
    opacity: 0.7;
}
/*库存*/
.price-option .original-stock {
    font-size: 12px;
    color: #0014ff;
    opacity: 0.7;

}
.card-index {
    color: #ffffff;
    margin-right: 8px;
    font-weight: 500;
    background-color: #848484;
    border: 1px solid #ffffff;
    padding: 0px 5px 0px 5px;
    border-radius: 5px;
}

.card-code-text {
    font-size: 14px;
    color: #333;
    word-break: break-all;
    margin-right: 10px;
    display: flex;
    align-items: center;
}



/* 底部快捷菜单 */
.quick-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid #f0f0f0;
}

.quick-menu .menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 0;
    transition: all 0.3s;
    position: relative;
}

.quick-menu .menu-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all 0.3s;
}

.quick-menu .menu-item span {
    font-size: 12px;
    transform: scale(0.95);
    transition: all 0.3s;
}

/* 激活状态 */
.quick-menu .menu-item.active {
    color: #FF6B35;
}

.quick-menu .menu-item.active i {
    transform: scale(1.1);
}

.quick-menu .menu-item.active span {
    font-weight: 500;
}

/* 悬停效果 */
.quick-menu .menu-item:hover {
    color: #FF6B35;
}

.quick-menu .menu-item:hover i {
    transform: scale(1.1);
}

/* 点击效果 */
.quick-menu .menu-item:active {
    opacity: 0.8;
}

/* 添加当前页面指示器 */
.quick-menu .menu-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #FF6B35;
    border-radius: 3px;
}

.account-field-item {
    margin-bottom: 15px;
}

.account-field-item:last-child {
    margin-bottom: 18px;
}

.field-label {
    position: relative; /* 关键：为伪元素定位提供参考 */
    padding-left: 10px; /* 为 ::before 留空间 */
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center; /* 确保文字与 ::before 垂直居中对齐 */
}
.field-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #FF6B35;
    border-radius: 2px;
}

.account-field-item .input-field {
    margin-top: 0;
}

/* 价格选项样式 */
.price-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.price-option .label {
    font-size: 13px;
    margin-bottom: 4px;
    text-align: center;
}

.price-option .price {
    font-size: 16px;
    font-weight: bold;
    color: #FF6B35;
    margin-bottom: 2px;
}

.price-option.active .price {
    color: #FF6B35;
}

.price-option .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.price-option.active .original-price {
    color: rgb(107 107 107 / 80%);
}

/* 支付方式选择样式 */
.payment-options {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.payment-option {
    height: 41px;
    width: 123px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    /*transition: all 0.2s;*/
    background: #fff;
}

.payment-option img {
    width: 24px;
    height: 24px;
    margin-right: -4px;
    vertical-align: middle;
}

.payment-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.payment-option span {
    font-size: 14px;
    color: #333;
}

.payment-option.active {
    border-color: #ff4400;
    background: url(/homestyle/style1/images/payinfo-selected-icon.png) no-repeat;
    background-position: right -0.5px bottom -0.1px;
    background-color: #FFF0F0;
}

.payment-option.active span {
    color: #FF6B35;
}

.payment-option:hover {
    border-color: #FF6B35;
}

/* 订单查询页面样式 */
.orders-page {
    height: calc(100vh - 45px - 56px); /* 减去头部和底部的高度 */
    overflow-y: auto;
    background: var(--gray-bg);
    padding-bottom: 10px;
}

/* 订单查询页面滚动条样式 */
.orders-page::-webkit-scrollbar {
    width: 4px;
}

.orders-page::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.orders-page::-webkit-scrollbar-track {
    background-color: transparent;
}

.orders-page .content-wrapper {
    margin-left: 0;
    height: auto;
    overflow: visible;
}

.orders-page .right-content {
    padding: 0;
    overflow: visible;
}

.orders-page .orders-list {
    padding: 3px;
}

.orders-page .order-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.orders-page .order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--gray-200);
}

.orders-page .order-number {
    position: relative;
    padding-left: 31px;
    color: var(--orange-accent);
}

.orders-page .order-number::before {
    content: attr(data-index);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--orange-accent);
    color: var(--white);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    min-width: 13px;
    text-align: center;
}

.orders-page .order-time {
    color: var(--gray-400);
}

.orders-page .order-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
}

.orders-page .status-text {
    color: var(--orange-accent);
}

.orders-page .status-text .blo1, .blo2, .blo3, .blo4,.blo5{
    border-radius: 4px;
    padding: 5px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.orders-page .status-text .blo1{
    background-color: #f5f5f5;
    border: 1px solid #a1a1a1;
    color: #000000;
}
.orders-page .status-text .blo2{
    background-color: #eaf4ff;
    border: 1px solid #2d93ca;
    color: #000000;
}
.orders-page .status-text .blo3{
    background-color: #ffecf1;
    border: 1px solid #ec024b;
    color: #000000;
}
.orders-page .status-text .blo4{
    background-color: #eefff0;
    border: 1px solid #00a21c;
    color: #000000;
}
.orders-page .status-text .blo5{
    background-color: #f7eaff;
    border: 1px solid #b03eff;
    color: #000000;
}




.orders-page .order-money {
    color: #6c6c6c;
}

.orders-page .no-orders {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

/* substation 订单相关样式，原本在 template1.html 内联 */
.substation-orders-list {
    padding: 10px 0;
}
.substation-order-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.substation-order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.substation-order-number {
    color: #333;
    font-weight: 500;
}
.substation-order-time {
    color: #999;
}
.substation-order-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.substation-status-text {
    color: #FF6B35;
}
.substation-order-money {
    color: #333;
    font-weight: 500;
}
.substation-no-orders {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-size: 14px;
}
.substation-order-actions {
    margin-top: 10px;
    text-align: right;
}
.substation-check-status-btn {
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.substation-check-status-btn:hover {
    background: #ff4400;
}
.substation-check-status-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.substation-card-codes {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}
.substation-card-code-item {
    background: #f8f8f8;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-family: monospace;
    font-size: 13px;
    color: #333;
    word-break: break-all;
}
.substation-no-cards {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 10px 0;
}

/* 按钮样式 */
.check-status-btn {
    background: #fbf3e3;
    color: #f17900;
    border: none;
    padding: 4px 4px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.check-status-btn:hover {
    background: #ff4400;
}

.check-status-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.card-codes {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.card-codes-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #16baaa;
}

.card-code-item {
    background: #f8f8f8;
    padding: 3px 15px;
    border-radius: 6px;
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.card-code-text {
    font-size: 14px;
    color: #333;
    word-break: break-all;
    margin-right: 10px;
}

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

.card-action-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.card-action-btn i {
    font-size: 16px;
    color: #666;
}

.copy-btn i {
    color: #2d93ca;
}

.qrcode-btn i {
    color: #00a21c;
}

.card-qrcode-modal {
    text-align: center;
    padding: 20px;
}

.card-qrcode-modal .qrcode-container {
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: inline-block;
}

.card-qrcode-modal .qrcode-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.order-details {

}

.good-name, .ac {
    display: block;
    font-size: 14px;
    color: #808080;
    margin-bottom: 5px;
}

.good-name {

}

.ac {
    color: #666;
}

.layui-layer {

    border-radius: 10px!important;

}
.layui-layer-btn {
     text-align: center!important;
 }

.layui-layer-btn a {
    height: 31px!important;
}

/* 订单查询搜索框样式 */
.search-box {
    background: var(--white);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.search-input-group {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.search-type {
    height: 38px;
    padding: 0 var(--space-md);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    background-color: var(--white);
    cursor: pointer;
    min-width: 100px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.search-type:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,107,53,0.1);
}

.search-input {
    flex: 1;
    height: 38px;
    padding: 0 var(--space-md);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    transition: all var(--transition-normal);
    -webkit-appearance: none;
    appearance: none;
}

.search-input:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,107,53,0.1);
}

.search-btn {
    height: 38px;
    padding: 0 var(--space-md);
    background: linear-gradient(to right, var(--orange-accent), var(--orange-light));
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.search-btn:active {
    opacity: 0.8;
    transform: scale(0.98);
}

/* 订单状态弹窗样式 */
.order-status-modal {
    padding: 15px;
}

.order-status-modal .status-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-all;
}

.order-status-modal .status-label {
    color: #666;
    margin-right: 10px;
    flex-shrink: 0;
}

.order-status-modal .status-value {
    color: #333;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.order-status-modal .status-value.success {
    color: #00C48C;
}

.order-status-modal .status-value.warning {
    color: #FF6B35;
}

.order-status-modal .status-value.error {
    color: #FF4D4F;
}

/* 订单状态弹窗中的卡券样式 */
.order-status-modal .card-codes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.order-status-modal .card-list {
    margin-top: 8px;
}

.order-status-modal .card-item {
    background: #f8f8f8;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-family: monospace;
    font-size: 13px;
    color: #333;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    padding-right: 80px; /* 为"点击复制"文字留出空间 */
}

.order-status-modal .card-item:active {
    background: #e8e8e8;
}

.order-status-modal .card-item::after {
    content: '点击复制';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: rgba(255, 255, 255, 0.9); /* 添加半透明背景 */
    padding: 2px 6px;
    border-radius: 3px;
}

.price-tip {
    margin-top: 12px;
    padding: 10px 12px;
    background-color: #fff8e6;
    border: 1px solid #ffe7ba;
    border-radius: 6px;
    font-size: 13px;
    color: #ff9500;
    line-height: 1.5;
    position: relative;
    padding-left: 28px;
}

.price-tip::before {
    content: '\e60b';
    font-family: 'layui-icon';
    position: absolute;
    left: 6px;
    top: 19px;
    transform: translateY(-50%);
    font-size: 16px;
}

.order-tip {
    margin-bottom: 12px;
    padding: 12px;
    background-color: #fff4e6;
    border: 1px solid #ffd8ba;
    border-radius: 6px;
    font-size: 13px;
    color: #ff8800;
    line-height: 1.5;
    position: relative;
    padding-left: 28px;
}

.order-tip::before {
    content: '\e60b';
    font-family: 'layui-icon';
    position: absolute;
    left: 7px;
    top: 21px;
    transform: translateY(-50%);
    font-size: 16px;
}

/* 添加三级菜单标题样式 */
.third-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    padding-left: 10px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

img {
    display: inline-block;
    border: none;
    vertical-align: middle;
}

.third-menu-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #FF6B35;
    border-radius: 2px;
}

.third-menu-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-btn.disabled {
    background: linear-gradient(to right, #9d9d9d, #c0c0c0)!important;
    cursor: not-allowed!important;
}
img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img.lazy-loaded {
    opacity: 1;
}

/* 分享弹窗样式 */
.share-modal {
    padding: 20px;
}

.share-options {
    display: flex;
    justify-content: space-around;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-option:hover {
    transform: scale(1.05);
}

.share-option i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #FF6B00;
}

.share-option span {
    font-size: 14px;
    color: #333;
}

#share-qrcode {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}