
/* 全局样式 - 移动端优先 - 橙色主题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
body {
    background-color: #f5f5f5;
    padding-bottom: 70px;
    min-height: 100vh;
    position: relative;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.bottom-nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-nav a.active {
    color: #ff6b00;
}
.bottom-nav i {
    font-size: 20px;
    margin-bottom: 2px;
}
.top-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    gap: 10px;
}
.lang-select {
    flex-shrink: 0;
}
.lang-select select {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 14px;
    background-color: white;
    height: 40px;
}
.search-box {
    flex-grow: 1;
}
.search-box form {
    display: flex;
    gap: 5px;
}
.search-box input[type="text"] {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    height: 40px;
}
.search-box button {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background-color: #ff6b00;
    color: white;
    font-size: 14px;
    cursor: pointer;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-box button:hover {
    background-color: #e65c00;
}
.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    background-color: #fff;
    padding: 15px 0;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}
.carousel-item {
    flex: 0 0 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}
.type-tabs {
    display: flex;
    padding: 15px 15px 5px;
    gap: 15px;
    border-bottom: 1px solid #eee;
}
.type-tabs .tab {
    padding: 8px 0;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.type-tabs .tab.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
}
.product-list {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image {
    width: 100%;
    height: 150px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #aaa;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    font-size: 32px;
    color: #888;
}
.product-info {
    padding: 10px;
    flex-grow: 1;
}
.product-info h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b00;
    margin-bottom: 4px;
}
.group-price {
    font-size: 12px;
    color: #28a745;
    margin-bottom: 4px;
}
.tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    background-color: #ffc107;
    color: #333;
    margin-right: 4px;
}
.container {
    padding: 15px;
}
.card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}
.btn-primary {
    background-color: #ff6b00;
    color: white;
}
.btn-primary:hover {
    background-color: #e65c00;
}
.btn-success {
    background-color: #28a745;
    color: white;
}
.btn-warning {
    background-color: #ffc107;
    color: #333;
}
.btn-danger {
    background-color: #dc3545;
    color: white;
}
.btn-block {
    width: 100%;
}
.btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}
input[type="text"], input[type="password"], input[type="tel"], input[type="number"], textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}
.merchant-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.merchant-table th, .merchant-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.merchant-table th {
    background-color: #f8f9fa;
}
.merchant-table .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    margin-right: 5px;
}
body.rtl {
    direction: rtl;
    text-align: right;
}
.rtl .top-bar {
    flex-direction: row-reverse;
}
.back-home {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #ff6b00;
}
.back-home:hover {
    text-decoration: underline;
}
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin: 5px 0;
}
.progress-fill {
    height: 100%;
    background-color: #ff6b00;
    transition: width 0.3s;
}
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    background-color: #6c757d;
    color: white;
}
.product-detail-top-nav {
    position: sticky;
    top: 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    z-index: 10;
}
.product-detail-top-nav a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
}
.product-detail-top-nav .right-icons {
    display: flex;
    gap: 15px;
}
.product-gallery {
    position: relative;
}
.gallery-images {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.gallery-images img {
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
    height: 300px;
}
.gallery-pagination {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}
.price-section {
    margin: 15px 0;
}
.price-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}
.single-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
}
.group-price {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 4px;
}
.presale-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
}
.group-tip, .presale-tip {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}
.spec-section {
    margin: 20px 0;
}
.spec-group {
    margin-bottom: 15px;
}
.spec-label {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}
.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.spec-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 14px;
}
.spec-option.selected {
    border-color: #ff6b00;
    background: #fff3e0;
    color: #ff6b00;
}
.selected-spec {
    margin-top: 10px;
    font-size: 14px;
    color: #ff6b00;
}
.progress-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.progress-text {
    font-size: 14px;
    font-weight: bold;
    color: #28a745;
    min-width: 45px;
}
.bottom-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.bottom-fixed-bar .left {
    display: flex;
    gap: 15px;
    margin-right: 15px;
}
.bottom-fixed-bar .left a {
    text-decoration: none;
    color: #666;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-fixed-bar .right {
    flex: 1;
    display: flex;
    gap: 5px;
}
.bottom-fixed-bar .right .btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    white-space: nowrap;
}
.bottom-fixed-bar .right .btn-warning {
    background-color: #ff6b00;
    color: white;
}
.btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.cart-header {
    background: white;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.cart-header .back {
    margin-right: 15px;
    font-size: 20px;
    text-decoration: none;
    color: #333;
}
.cart-shop {
    background: white;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
}
.cart-shop-header {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.cart-shop-header input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}
.cart-item-wrapper {
    position: relative;
    overflow: hidden;
}
.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    transition: transform 0.2s;
    position: relative;
    z-index: 2;
}
.cart-item.unavailable {
    opacity: 0.5;
    background: #f8f9fa;
}
.cart-item.swiping {
    transform: translateX(-60px);
}
.cart-item-select {
    margin-right: 10px;
}
.cart-item-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10px;
}
.cart-item-info {
    flex: 1;
}
.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}
.cart-item-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b00;
}
.cart-item-spec {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    height: 36px;  /* 统一高度确保对齐 */
}
.quantity-control button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-control button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.quantity-control input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    font-size: 14px;
    height: 30px;
}
.delete-swipe-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background-color: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 1;
    border: none;
    outline: none;
}
.shop-savings {
    padding: 10px 15px;
    background-color: #f8f9fa;
    font-size: 14px;
    color: #28a745;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
}
.cart-footer {
    position: sticky;
    bottom: 70px;
    background: white;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
.cart-footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-footer-left input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
.cart-footer-total {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b00;
}
.cart-footer .btn {
    padding: 10px 20px;
    border-radius: 20px;
}
.cart-summary {
    background: white;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 14px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.summary-row.total-save {
    font-weight: bold;
    color: #28a745;
}
.search-history {
    background: white;
    padding: 10px 15px;
    margin-top: 5px;
    border-bottom: 1px solid #eee;
}
.search-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}
.search-history-header a {
    color: #ff6b00;
    text-decoration: none;
}
.search-history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-history-tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}
.search-history-tag:hover {
    background: #e0e0e0;
}
.chat-page {
    padding-bottom: 0;
}
.chat-page .bottom-nav {
    display: none;
}
.chat-container-full {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}
.chat-header {
    background: white;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.chat-header .back {
    margin-right: 15px;
    font-size: 20px;
    text-decoration: none;
    color: #333;
}
.chat-header h3 {
    font-size: 18px;
    font-weight: 500;
}
.chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}
.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
.message.sent {
    align-items: flex-end;
}
.message.received {
    align-items: flex-start;
}
.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    background-color: #e9ecef;
    word-wrap: break-word;
    font-size: 14px;
}
.message.sent .message-bubble {
    background-color: #ff6b00;
    color: white;
}
.message small {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}
.chat-input-area {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
    align-items: flex-start;
}
.chat-input-area textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
    resize: none;
    min-height: 40px;
    max-height: 120px;
    line-height: 1.4;
    overflow-y: auto;
}
.chat-input-area button {
    padding: 10px 15px;
    border-radius: 20px;
    background-color: #ff6b00;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.message-history-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.message-history-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.message-history-header .left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.unread-badge {
    background-color: #dc3545;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
}
.message-history-content {
    padding: 0 15px 15px;
}
.message-history-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.message-history-item:last-child {
    border-bottom: none;
}
.message-history-item .avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
}
.message-history-item .info {
    flex: 1;
}
.message-history-item .merchant-name {
    font-weight: 500;
    margin-bottom: 2px;
}
.message-history-item .last-msg {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.message-history-item .time {
    font-size: 10px;
    color: #999;
}
.message-history-item .delete-swipe {
    position: absolute;
    right: -60px;
    top: 0;
    width: 60px;
    height: 100%;
    background-color: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: right 0.2s;
}
.message-history-item.swiping .delete-swipe {
    right: 0;
}
.stats-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.stat-card {
    flex: 1 1 180px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}
.stat-card .value {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
    margin: 5px 0;
}
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    align-items: center;
}
.filter-bar select, .filter-bar input {
    width: auto;
    min-width: 120px;
    margin-bottom: 0;
}
.chart-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.coupon-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.coupon-card.available {
    border-color: #ff6b00;
    background: #fff9f0;
}
.coupon-card.unavailable {
    opacity: 0.6;
    background: #f5f5f5;
}
.coupon-amount {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b00;
}
.coupon-condition {
    font-size: 12px;
    color: #999;
}
.coupon-expire {
    font-size: 12px;
    color: #999;
}
.coupon-checkbox {
    margin-right: 10px;
}
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.confirm-card {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.confirm-card p {
    margin: 20px 0;
    font-size: 16px;
}
.confirm-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.confirm-buttons .btn {
    flex: 1;
}
.order-card {
    border: 1px solid #ff6b00;
    border-radius: 8px;
    padding: 10px;
    background: #fff9f0;
    margin: 5px 0;
}
.order-card .info-row {
    display: flex;
    margin-bottom: 5px;
    font-size: 13px;
}
.order-card .label {
    width: 80px;
    color: #666;
}
.order-card .value {
    flex: 1;
}
.order-card .btn-small {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 12px;
}
.checkout-summary {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}
.final-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff6b00;
}
.order-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.order-tabs .tab {
    padding: 8px 12px;
    text-decoration: none;
    color: #666;
    border-radius: 4px 4px 0 0;
}
.order-tabs .tab.active {
    color: #ff6b00;
    border-bottom: 2px solid #ff6b00;
}
.date-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.date-filter input[type="date"] {
    width: auto;
    margin-bottom: 0;
}
.presale-summary-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.presale-summary-card .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.presale-summary-card .batch-count {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
}
.presale-summary-card .progress-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.presale-summary-card .percentage {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
    min-width: 45px;
}
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
    align-items: center;
    gap: 5px;
}
.toast.show {
    display: flex;
}
.toast .check {
    font-size: 20px;
}
.address-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}
.address-card.default {
    border-color: #ff6b00;
    background: #fff9f0;
}
.address-card input[type="radio"] {
    margin-right: 10px;
}
.address-detail {
    font-size: 14px;
    margin: 5px 0;
}
.address-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.address-actions .btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}
.upload-area.dragover {
    border-color: #ff6b00;
    background: #fff3e0;
}
.upload-area .hint {
    color: #999;
    font-size: 12px;
}
.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}
.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.preview-item .remove {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
}
.review-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.review-item:last-child {
    border-bottom: none;
}
.review-user {
    font-weight: 500;
    margin-bottom: 5px;
}
.review-content {
    font-size: 14px;
    color: #333;
}
.review-time {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}
.order-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.order-card-actions .btn-sm {
    flex: 1;
    padding: 8px 0;
    font-size: 12px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.message-history-item {
    position: relative;
    overflow: hidden;
}
.message-history-item .delete-swipe-btn {
    position: absolute;
    right: -60px;
    top: 0;
    width: 60px;
    height: 100%;
    background-color: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: right 0.2s;
    z-index: 3;
}
.message-history-item.swiping .delete-swipe-btn {
    right: 0;
}
/* 导出按钮样式 */
.export-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}
.export-bar .btn-export {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
