:root {
    --mt-yellow: #FFD100;
    --mt-orange: #FF9900;
    --mt-red: #FF4D4F;
    --mt-green: #52C41A;
    --mt-bg: #F5F5F5;
    --mt-white: #FFFFFF;
    --mt-text: #333333;
    --mt-text-secondary: #999999;
    --mt-border: #E8E8E8;
    --mt-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --mt-radius: 12px;
    --mt-radius-sm: 8px;
    --header-height: 56px;
    --bottom-bar-height: 60px;
    --category-width: 90px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: var(--mt-bg);
    color: var(--mt-text);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 14px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    color: #fff;
    padding: 0 16px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(255,153,0,0.3);
}
.header-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.header-back {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%;
    background: rgb(0 102 255 / 58%);
    font-size: 18px; color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.header-title { font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-subtitle { font-size: 12px; opacity: 0.85; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-lang-btn {
    background: rgba(255,255,255,0.25);
    border: none; color: #fff;
    padding: 8px 16px; border-radius: 16px;
    font-size: 13px; cursor: pointer;
    font-weight: 500;
    min-height: 36px;
}
.header-order-btn {
    background: rgb(0 102 255 / 58%);
    border: none; color: #fff;
    padding: 8px 16px; border-radius: 16px;
    font-size: 14px; cursor: pointer;
    text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    min-height: 36px;
}

.page-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--mt-bg);
    position: relative;
}

@media (min-width: 769px) {
    .page-container {
        max-width: 1024px;
        box-shadow: var(--mt-shadow);
    }
    :root {
        --category-width: 140px;
        --header-height: 60px;
    }
    .header { padding: 0 24px; }
    .header-title { font-size: 20px; }
    .header-subtitle { font-size: 13px; }
    .food-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .food-card-name { font-size: 14px; }
    .food-card-price { font-size: 18px; }
    .food-card-img { font-size: 42px; }
    .category-item { font-size: 13px; padding: 16px 8px; }
    .bottom-bar { max-width: 1024px; padding: 0 24px; }
    .cart-submit-btn { padding: 12px 36px; font-size: 16px; }
    .stats-row { grid-template-columns: repeat(4, 1fr); }
    .table-grid { grid-template-columns: repeat(6, 1fr); }
    .modal-content { max-width: 600px; }
    .cart-popup { max-width: 600px; }
    .people-grid { grid-template-columns: repeat(7, 1fr); }
    .od-actions { gap: 12px; }
    .od-action-btn { font-size: 14px; padding: 14px; }
    .ordering-container {
        height: calc(100vh - var(--header-height) - var(--bottom-bar-height));
    }
    .dashboard-page { padding: 20px; padding-bottom: 80px; }
    .order-detail-page { padding: 20px; padding-bottom: 100px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .page-container {
        max-width: 100%;
    }
    :root {
        --category-width: 110px;
    }
    .food-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .bottom-bar {
        max-width: 100%;
    }
    .food-card-name { font-size: 13px; }
    .modal-content { max-width: 540px; }
    .cart-popup { max-width: 540px; }
    .stats-row { grid-template-columns: repeat(4, 1fr); }
    .table-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ========== People Selection ========== */
.people-select-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, var(--mt-yellow) 0%, var(--mt-bg) 35%);
}
.people-logo {
    font-size: 48px;
    margin-bottom: 16px;
}
.people-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.people-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}
.people-select-card {
    background: var(--mt-white);
    border-radius: var(--mt-radius);
    padding: 28px 24px;
    box-shadow: var(--mt-shadow);
    text-align: center;
    width: 100%;
    max-width: 360px;
}
.people-select-card h2 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--mt-text);
}
.people-select-card .table-info {
    font-size: 14px;
    color: var(--mt-text-secondary);
    margin-bottom: 24px;
}
.people-select-card .table-info strong {
    color: var(--mt-orange);
    font-size: 18px;
}
.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.people-btn {
    width: 100%;
    min-height: 56px;
    border: 2px solid var(--mt-border);
    border-radius: var(--mt-radius-sm);
    background: var(--mt-white);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--mt-text);
    display: flex; align-items: center; justify-content: center;
}
.people-btn:hover, .people-btn:active {
    border-color: var(--mt-yellow);
    background: #FFF8E1;
    color: var(--mt-orange);
}
.people-btn.selected {
    border-color: var(--mt-orange);
    background: var(--mt-yellow);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,153,0,0.3);
}
.confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.confirm-btn:not(:disabled):active {
    opacity: 0.85;
}

/* ========== Ordering Page ========== */
.ordering-container {
    display: flex;
    height: calc(100vh - var(--header-height) - 36px - var(--bottom-bar-height));
    overflow: hidden;
}

.category-sidebar {
    width: var(--category-width);
    background: #FAFAFA;
    overflow-y: auto;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
}
.category-item {
    padding: 16px 8px;
    text-align: center;
    font-size: 13px;
    color: var(--mt-text-secondary);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.category-item.active {
    background: var(--mt-white);
    border-left-color: var(--mt-yellow);
    color: var(--mt-orange);
    font-weight: 600;
}

.food-list-area {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
}
.food-list-area .cat-title {
    font-size: 15px;
    margin: 8px 0 12px;
    color: var(--mt-text);
    padding-left: 4px;
    font-weight: 600;
}
.food-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.food-card {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s;
    position: relative;
}
.food-card:active { transform: scale(0.97); }
.food-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #CCC;
}
.food-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.food-card-info { padding: 8px 10px 10px; }
.food-card-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.food-card-name-th {
    font-size: 11px;
    color: var(--mt-text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.food-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.food-card-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--mt-orange);
}
.food-card-price span { font-size: 11px; font-weight: 400; }
.food-card-add {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--mt-yellow);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255,153,0,0.3);
    transition: all 0.15s;
    line-height: 1;
}
.food-card-add:active { transform: scale(0.9); }
.food-card .cart-qty-ctrl {
    display: none !important;
    align-items: center;
    gap: 6px;
}
.food-card.in-cart .food-card-add { background: var(--mt-orange); }
.food-card.in-cart .cart-qty-ctrl { display: flex; }
.cart-qty-ctrl .qty-num {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.cart-qty-ctrl .qty-minus,
.cart-qty-ctrl .qty-plus {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--mt-border);
    background: var(--mt-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ========== Bottom Cart Bar ========== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: var(--bottom-bar-height);
    background: #2D2D2D;
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 100;
    gap: 12px;
}
@media (min-width: 769px) {
    .bottom-bar { max-width: 768px; }
}
.cart-icon-wrap {
    position: relative;
    width: 44px; height: 44px;
    flex-shrink: 0;
    margin-top: -20px;
}
.cart-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    border: 4px solid #444;
    transition: all 0.2s;
}
.cart-icon.has-items {
    background: var(--mt-yellow);
    color: #fff;
    border-color: var(--mt-orange);
}
.cart-badge {
    position: absolute;
    top: -2px; right: -2px;
    min-width: 20px; height: 20px;
    background: var(--mt-red);
    border-radius: 10px;
    font-size: 11px; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    padding: 0 4px;
}
.cart-total-text {
    flex: 1;
    color: #999;
    font-size: 13px;
}
.cart-total-text strong {
    color: #fff;
    font-size: 18px;
}
.cart-total-text span {
    color: #999;
    font-size: 13px;
}
.cart-submit-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    border: none; border-radius: 24px;
    color: #fff; font-size: 14px; font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.cart-submit-btn:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
}

/* ========== Food Detail Modal ========== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: flex;
    align-items: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-content {
    background: var(--mt-white);
    border-radius: 20px;
    width: 85%;
    max-width: 950px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}
.modal-close {
    position: absolute;
    top: 4px; right: 4px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff; font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-food-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #CCC;
    border-bottom: 1px solid var(--mt-border);
}
.modal-food-img img {
    width: 85%;
    height: 100%;
    object-fit: cover;
}
.modal-body {
    padding: 15px;
}
.modal-food-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.modal-food-name-th {
    font-size: 14px;
    color: var(--mt-text-secondary);
    margin-bottom: 12px;
}
.modal-food-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--mt-orange);
    margin-bottom: 20px;
}
.modal-food-price span { font-size: 14px; font-weight: 400; }

.spiciness-section { margin-bottom: 20px; }
.spiciness-section label {
    font-size: 13px;
    color: var(--mt-text-secondary);
    display: block;
    margin-bottom: 10px;
}
.spiciness-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.spiciness-option {
    padding: 5px 15px;
    border: 1px solid var(--mt-border);
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    background: var(--mt-white);
    transition: all 0.15s;
    min-height: 35px;
    display: flex; align-items: center;
}
.spiciness-option.active {
    border-color: var(--mt-orange);
    background: #FFF8E1;
    color: var(--mt-orange);
    font-weight: 500;
}

.quantity-section { margin-bottom: 24px; }
.quantity-section label {
    font-size: 13px;
    color: var(--mt-text-secondary);
    display: block;
    margin-bottom: 10px;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 16px;
}
.qty-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--mt-border);
    background: var(--mt-white);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mt-text);
    line-height: 1;
}
.qty-btn:active { background: #F0F0F0; }
.qty-value {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}
.modal-add-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== Cart Popup ========== */
.cart-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.cart-popup {
    background: var(--mt-white);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}
.cart-popup-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--mt-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}
.cart-clear-btn {
    background: none;
    border: none;
    color: var(--mt-text-secondary);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
}
.cart-popup-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px;
}
.cart-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F8F8F8;
    gap: 10px;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 500; }
.cart-item-spec { font-size: 11px; color: var(--mt-text-secondary); margin-top: 2px; }
.cart-item-price { font-size: 15px; font-weight: 600; color: var(--mt-orange); }
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.cart-qty-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--mt-border);
    background: var(--mt-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--mt-text);
}
.cart-qty-btn:active { background: #F0F0F0; }
.cart-qty-num {
    font-size: 15px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}
.cart-popup-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--mt-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========== Success Page ========== */
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    padding: 60px 20px;
    text-align: center;
}
.success-icon {
    width: 80px; height: 80px;
    background: var(--mt-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    margin-bottom: 24px;
}
.success-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.success-info { font-size: 14px; color: var(--mt-text-secondary); margin-bottom: 28px; line-height: 1.6; }
.success-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; }
.success-btn {
    padding: 12px 24px;
    border: 1px solid var(--mt-border);
    border-radius: 24px;
    background: var(--mt-white);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: var(--mt-text);
    text-align: center;
    display: block;
}
.success-btn.primary {
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    border: none;
    color: #fff;
    font-weight: 600;
}

/* ========== My Orders Page ========== */
.my-orders-page { padding: 16px; }
.my-orders-page .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.my-orders-page .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--mt-text-secondary);
}
.my-orders-page .empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.order-card {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.order-card-num { font-size: 14px; font-weight: 600; }
.order-card-status {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}
.order-card-status.paid { background: #F6FFED; color: var(--mt-green); }
.order-card-status.unpaid { background: #FFF7E6; color: var(--mt-orange); }
.order-card-body { font-size: 13px; color: var(--mt-text-secondary); }
.order-card-body span { margin-right: 16px; }
.order-card-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--mt-orange);
    text-align: right;
    margin-top: 10px;
}
.order-detail-list {
    border-top: 1px solid #F5F5F5;
    padding-top: 10px;
    margin-top: 10px;
}
.order-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}
.order-detail-item-name { flex: 1; }
.order-detail-item-qty { width: 40px; text-align: center; color: var(--mt-text-secondary); }
.order-detail-item-price { width: 70px; text-align: right; font-weight: 500; }
.order-detail-item-unit-price {
    width: 62px;
    text-align: center;
    color: var(--mt-text-secondary);
    font-size: 12px;
}

/* ========== Login Page ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
}
.login-card {
    background: var(--mt-white);
    border-radius: var(--mt-radius);
    padding: 40px 32px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.login-logo {
    font-size: 48px;
    margin-bottom: 12px;
}
.login-card h2 { font-size: 22px; margin-bottom: 4px; }
.login-card .subtitle { font-size: 13px; color: var(--mt-text-secondary); margin-bottom: 28px; }
.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mt-border);
    border-radius: var(--mt-radius-sm);
    font-size: 16px;
    outline: none;
    margin-bottom: 16px;
    text-align: center;
    transition: border-color 0.2s;
    letter-spacing: 2px;
}
.login-input:focus { border-color: var(--mt-yellow); }
.login-input.error { border-color: var(--mt-red); }
.login-error { color: var(--mt-red); font-size: 13px; margin-bottom: 8px; min-height: 20px; }
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== Cashier Dashboard ========== */
.dashboard-page { padding: 14px; padding-bottom: 80px; }
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.stat-card {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.stat-card .stat-icon {
    font-size: 16px;
    margin-bottom: 4px;
}
.stat-value {
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    color: var(--mt-orange);
}
.stat-value.green { color: var(--mt-green); }
.stat-value.blue { color: #1890FF; text-align: right;}
.stat-label { font-size: 12px; color: var(--mt-text-secondary); margin-top: 4px; }

.table-status-section {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.table-status-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.table-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (min-width: 500px) {
    .table-grid { grid-template-columns: repeat(6, 1fr); }
}
.table-chip {
    padding: 14px 8px;
    text-align: center;
    border-radius: var(--mt-radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 56px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.table-chip.occupied {
    background: #FFF7E6;
    color: var(--mt-orange);
    border: 1px solid #FFE58F;
}
.table-chip.empty {
    background: #F6F6F6;
    color: var(--mt-text-secondary);
    border: 1px solid var(--mt-border);
}
.table-chip .table-num {
    font-size: 16px;
    font-weight: 700;
    display: block;
}
.table-chip .table-label {
    font-size: 10px;
    margin-top: 2px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.filter-tab {
    padding: 7px 18px;
    border: 1px solid var(--mt-border);
    border-radius: 18px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    background: var(--mt-white);
    transition: all 0.15s;
    flex-shrink: 0;
}
.filter-tab.active {
    background: var(--mt-yellow);
    border-color: var(--mt-yellow);
    color: #fff;
    font-weight: 500;
}

.cashier-order-card {
    background: var(--mt-bg);
    border-radius: var(--mt-radius-sm);
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: transform 0.1s;
}
.cashier-order-card:active { transform: scale(0.99); }
.cashier-order-info { flex: 1; min-width: 0; }
.cashier-order-table {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2px;
}
.cashier-order-meta { font-size: 16px; color: var(--mt-text-secondary); }
.cashier-order-meta span { margin-right: 16px; }
.cashier-order-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--mt-orange);
    text-align: right;
    flex-shrink: 0;
}
.cashier-order-amount .discounted {
    font-size: 16px;
    text-decoration: line-through;
    color: var(--mt-text-secondary);
    display: block;
    font-weight: 400;
}
.cashier-order-amount .pay-status-tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 4px;
    font-weight: 500;
}
.pay-status-tag.paid { background: #F6FFED; color: var(--mt-green); }
.pay-status-tag.unpaid { background: #FFF7E6; color: var(--mt-orange); }

/* ========== Manual Order ========== */
.manual-order-page { padding: 16px; padding-bottom: 100px; }
.manual-form-group { margin-bottom: 14px; }
.manual-form-group label {
    display: block;
    font-size: 13px;
    color: var(--mt-text-secondary);
    margin-bottom: 6px;
}
.manual-form-group select,
.manual-form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius-sm);
    font-size: 15px;
    outline: none;
    background: var(--mt-white);
}
.manual-form-group select:focus,
.manual-form-group input:focus {
    border-color: var(--mt-yellow);
}

.manual-food-search {
    position: relative;
    margin-bottom: 14px;
}
.manual-food-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--mt-border);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background: var(--mt-white);
}
.manual-food-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mt-text-secondary);
}

.manual-cart-list {
    margin-bottom: 16px;
}
.manual-cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F5F5F5;
    gap: 10px;
}
.manual-cart-item-name { flex: 1; font-size: 14px; }

/* ========== Order Detail Page (Cashier) ========== */
.order-detail-page { padding: 16px; padding-bottom: 120px; }
.od-section {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.od-section-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.od-info-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 14px;
}
.od-info-row .label { color: var(--mt-text-secondary); }
.od-info-row .value { font-weight: 500; }

.od-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #F8F8F8;
    gap: 10px;
}
.od-detail-name { flex: 1; font-size: 16px; }
.od-detail-spec { font-size: 11px; color: var(--mt-text-secondary); }
.od-detail-unit-price {
    margin: 0px 10px;
    width: 62px;
    text-align: right;
    font-size: 18px;
    color: var(--mt-text-secondary);
}
.od-detail-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}
.od-qty-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid var(--mt-border);
    background: var(--mt-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--mt-text);
}
.od-detail-price {
    width: 70px;
    text-align: right;
    font-weight: 600;
    font-size: 16px;
}

.od-discount-section { margin-top: 8px; }
.od-discount-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.od-discount-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius-sm);
    font-size: 15px;
    outline: none;
    text-align: right;
}
.od-discount-input:focus { border-color: var(--mt-yellow); }
.od-discount-type {
    padding: 10px 14px;
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius-sm);
    font-size: 14px;
    background: var(--mt-white);
    cursor: pointer;
}

.od-percent-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.od-percent-btn {
    padding: 6px 14px;
    border: 1px solid var(--mt-border);
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    background: var(--mt-white);
    transition: all 0.15s;
}
.od-percent-btn.active {
    border-color: var(--mt-orange);
    background: #FFF8E1;
    color: var(--mt-orange);
}

.od-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
}
.od-total-row.grand {
    font-size: 20px;
    font-weight: 700;
    color: var(--mt-orange);
    border-top: 1px solid var(--mt-border);
    padding-top: 14px;
    margin-top: 4px;
}
.od-pay-qr {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--mt-border);
}
.od-pay-qr img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--mt-border);
    background: #fff;
}
.od-pay-qr div {
    margin-top: 4px;
    font-size: 12px;
    color: var(--mt-text-secondary);
}

.od-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.od-action-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 15px;
    border: 1px solid var(--mt-border);
    border-radius: 22px;
    background: var(--mt-white);
    cursor: pointer;
    font-weight: 500;
    min-height: 44px;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    transition: all 0.15s;
}
.od-action-btn.pay-btn {
    background: var(--mt-green);
    border-color: var(--mt-green);
    color: #fff;
    font-weight: 600;
}
.od-action-btn.print-btn {
    background: #1890FF;
    border-color: #1890FF;
    color: #fff;
}
.od-action-btn.delete-btn {
    background: var(--mt-red);
    border-color: var(--mt-red);
    color: #fff;
}
.od-action-btn:active { opacity: 0.85; }

.od-upload-section {
    margin-top: 12px;
}
.od-upload-label {
    font-size: 13px;
    color: var(--mt-text-secondary);
    margin-bottom: 8px;
    display: block;
}
.od-upload-input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--mt-border);
    border-radius: var(--mt-radius-sm);
    font-size: 13px;
    cursor: pointer;
}
.od-receipt-img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: var(--mt-radius-sm);
    margin-top: 8px;
}

/* ========== Print Styles ========== */
@page {
    /* size: 60mm auto; */
    margin: 2mm;
}
@media print {
    body { margin: 0; padding: 0; background: #fff; }
    body * { visibility: hidden; }
    .print-area, .print-area * { visibility: visible; }
    .print-area {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        font-size: 10px;
        color: #000;
        padding: 2mm;
    }
    .print-area .print-header {
        text-align: center;
        margin-bottom: 6px;
    }
    .print-area .print-header h2 { font-size: 18px; margin-bottom: 2px; }
    .print-area .print-header p { font-size: 14px; }
    .print-area .print-divider {
        font-size: 14px; 
        border-top: 1px dashed #000;
        margin: 5px 0;
    }
    .print-area table {
        width: 100%;
        border-collapse: collapse;
    }
    .print-area table td {
        padding: 1px 0;
        font-size: 14px;
    }
    .print-area .print-total {
        font-size: 16px;
        font-weight: 700;
        text-align: right;
    }
    .print-area p { font-size: 14px; margin: 2px 0; }
}

/* ========== Toast Notification ========== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 999;
    pointer-events: none;
    animation: toastIn 0.3s ease;
}
@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ========== Loading ========== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--mt-text-secondary);
    font-size: 14px;
}
.loading-spinner {
    width: 24px; height: 24px;
    border: 3px solid var(--mt-border);
    border-top-color: var(--mt-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ========== Cashier Nav Tabs ========== */
.cashier-nav {
    display: flex;
    background: #fff;
    border-bottom: 1px solid var(--mt-border);
    position: sticky;
    top: var(--header-height);
    z-index: 99;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cashier-nav-item {
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    min-height: 44px;
    display: flex; align-items: center;
    transition: all 0.2s;
}
.cashier-nav-item.active {
    color: var(--mt-orange);
    border-bottom-color: var(--mt-orange);
}
.cashier-nav-item .badge {
    display: inline-block;
    background: var(--mt-red);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
    min-width: 18px;
    text-align: center;
}

/* ========== Tab Content ========== */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========== Order Search ========== */
.search-filters {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.search-filters input {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
    border: 1px solid var(--mt-border);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}
.search-filters input:focus { border-color: var(--mt-yellow); }
.search-filters button {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--mt-yellow), var(--mt-orange));
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

/* ========== Search Order Table ========== */
.search-order-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    font-size: 13px;
}
.search-order-table th,
.search-order-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #F5F5F5;
}
.search-order-table th {
    background: #FAFAFA;
    font-weight: 600;
    color: var(--mt-text-secondary);
    font-size: 12px;
}
.search-order-table tr { cursor: pointer; transition: background 0.15s; }
.search-order-table tr:hover { background: #FFF8E1; }
.search-order-table .amount-col { text-align: right; font-weight: 600; color: var(--mt-orange); }
.search-order-table .status-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
}

/* ========== Chef Filters ========== */
.chef-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.chef-filter-tab {
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 16px;
    border: 1px solid var(--mt-border);
    background: var(--mt-white);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}
.chef-filter-tab.active {
    background: var(--mt-orange);
    color: #fff;
    border-color: var(--mt-orange);
}
.chef-table-search {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    padding: 5px 10px;
    font-size: 12px;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    outline: none;
}
.chef-table-search:focus { border-color: var(--mt-orange); }

/* ========== Chef Card Grid ========== */
.chef-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}
.chef-card {
    background: var(--mt-white);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.chef-card-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.chef-card-num { font-size: 15px; font-weight: 700; color: #333; }
.chef-card-table { font-size: 15px; color: #1890ff; margin-top: 1px; }
.chef-card-badge {
    font-size: 15px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    white-space: nowrap;
}
.chef-card-badge.done { background: #F6FFED; color: var(--mt-green); }
.chef-card-badge.todo { background: #FFF1F0; color: #FF4D4F; }
.chef-card-time { font-size: 14px; color: #999; }
.chef-card-body {
    border-top: 1px dashed #F0F0F0;
    border-bottom: 1px dashed #F0F0F0;
    padding: 6px 0;
}
.chef-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding: 2px 0;
}
.chef-card-qty { font-weight: 600; color: var(--mt-orange); }
.chef-card-ft { display: flex; justify-content: flex-end; }

.chef-print-btn {
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--mt-border);
    background: var(--mt-white);
    transition: all 0.15s;
}
.chef-print-btn.printed {
    background: #F6FFED;
    border-color: var(--mt-green);
    color: var(--mt-green);
}
.chef-print-btn.not-printed {
    background: #FFF7E6;
    border-color: var(--mt-orange);
    color: var(--mt-orange);
}

/* 保留打印时的旧样式（printChefOrder 使用） */
.chef-order-group { background: var(--mt-white); border-radius: var(--mt-radius-sm); padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.chef-order-group-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #F5F5F5; }
.chef-order-group-num { font-size: 15px; font-weight: 600; }
.chef-order-group-time { font-size: 12px; color: var(--mt-text-secondary); }
.chef-order-group-actions { display: flex; gap: 8px; }
.chef-item-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 14px; }
.chef-item-name { flex: 1; }
.chef-item-qty { font-weight: 600; color: var(--mt-orange); min-width: 40px; text-align: center; }

/* ========== Sales Report ========== */
.report-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.report-tab {
    padding: 8px 18px;
    border: 1px solid var(--mt-border);
    border-radius: 18px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    background: var(--mt-white);
    transition: all 0.15s;
    min-height: 36px;
    display: flex; align-items: center;
}
.report-tab.active {
    background: var(--mt-yellow);
    border-color: var(--mt-yellow);
    color: #fff;
    font-weight: 600;
}
.report-date-input {
    padding: 8px 12px;
    border: 1px solid var(--mt-border);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    margin-left: auto;
}
.report-date-input:focus { border-color: var(--mt-yellow); }
.report-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.report-stat-card {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.report-stat-card .label { font-size: 12px; color: var(--mt-text-secondary); margin-bottom: 4px; }
.report-stat-card .value { font-size: 22px; font-weight: 700; color: var(--mt-orange); }
.report-hot-dishes {
    background: var(--mt-white);
    border-radius: var(--mt-radius-sm);
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.report-hot-dishes h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}
.report-hot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F8F8F8;
    font-size: 13px;
}
.report-hot-item .rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mt-yellow);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}
.report-hot-item .rank.gray { background: #CCC; }
.report-hot-item .hot-name { flex: 1; }
.report-hot-item .hot-qty { color: var(--mt-text-secondary); margin-right: 16px; }
.report-hot-item .hot-amount { font-weight: 600; color: var(--mt-orange); }
.chef-table-select {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    outline: none;
    background: var(--mt-white);
    cursor: pointer;
    min-height: 36px;
}
.chef-table-select:focus { border-color: var(--mt-orange); }
/* ========== Print Chef Order ========== */
.chef-print-area { display: none; }
@media print {
    body * { visibility: hidden; }
    .chef-print-area, .chef-print-area * { visibility: visible; }
    .chef-print-area {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 60mm;
        font-size: 14px;
        color: #000;
        padding: 2mm;
    }
    .chef-print-area h3 { font-size: 13px; text-align: center; margin-bottom: 6px; }
    .chef-print-area .chef-print-divider { border-top: 1px dashed #000; margin: 5px 0; }
    .chef-print-area .chef-print-item {
        display: flex;
        justify-content: space-between;
        padding: 2px 0;
        font-size: 18px;
    }
    .chef-print-area .chef-print-qty { font-weight: 700; font-size: 13px; }
}

.refresh-btn {
    font-size: 12px;
    padding: 5px 14px;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    background: var(--mt-white);
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    min-height: 32px;
    display: inline-flex; align-items: center; gap: 4px;
}
.refresh-btn:active { background: #F5F5F5; border-color: #CCC; }

/* ===== 订单明细左右布局 ===== */
.od-two-col { display: flex; gap: 16px; flex-wrap: wrap; }
.od-col-left { flex: 1; min-width: 320px; }
.od-col-right { width: 340px; min-width: 300px; }
.od-col-right .od-section { background: #fafafa; border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.od-col-right .od-section-title { font-size: 14px; margin-bottom: 10px; }
.od-discount-input { width: 120px; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; min-height: 40px; }
.od-discount-type { padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 13px; min-height: 40px; }
.od-discount-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.od-percent-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.od-percent-btn { padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; font-size: 12px; cursor: pointer; min-height: 34px; touch-action: manipulation; }
.od-percent-btn:hover { border-color: #ff6b35; color: #ff6b35; }
.od-total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.od-total-row.grand { font-size: 18px; font-weight: 700; color: #ff6b35; border-top: 1px solid #e0e0e0; padding-top: 10px; margin-top: 4px; }
.od-upload-section { margin-top: 8px; }
.od-upload-label { display: block; padding: 10px; border: 2px dashed #e0e0e0; border-radius: 8px; text-align: center; cursor: pointer; color: #999; font-size: 13px; transition: all 0.15s; min-height: 44px; }
.od-upload-label:hover { border-color: #ff6b35; color: #ff6b35; }
.od-upload-input { display: none; }
.od-receipt-img { max-width: 100%; border-radius: 8px; }

@media (max-width: 768px) {
    .od-two-col { flex-direction: column; }
    .od-col-right { width: 100%; }
}
