@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.b6pgxrrsua.bundle.scp.css';

/* /Components/Shared/OrderCard.razor.rz.scp.css */
.order-card[b-mlh0luay5i] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8eaed;
    overflow: hidden;
    transition: all 0.2s;
}

    .order-card:hover[b-mlh0luay5i] {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-color: #d0d0d0;
    }

.card-header[b-mlh0luay5i] {
    display: flex;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
    gap: 24px;
}

.order-info[b-mlh0luay5i] {
    flex: 1;
    min-width: 0;
}

.order-tags[b-mlh0luay5i] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tag[b-mlh0luay5i] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

    .tag.marketplace[b-mlh0luay5i] {
        background: #0d47a1;
        color: white;
    }

    .tag.account[b-mlh0luay5i] {
        background: #4fc3f7;
        color: white;
    }

    .tag.status.ready[b-mlh0luay5i] {
        background: #ffd54f;
        color: #5d4037;
    }

    .tag.status.transit[b-mlh0luay5i] {
        background: #4fc3f7;
        color: white;
    }

    .tag.status.delivered[b-mlh0luay5i] {
        background: #4caf50;
        color: white;
    }

.order-id[b-mlh0luay5i] {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.order-date[b-mlh0luay5i] {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin-left: 12px;
}

.order-meta[b-mlh0luay5i] {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.order-summary[b-mlh0luay5i] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.summary-item[b-mlh0luay5i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

    .summary-item .label[b-mlh0luay5i] {
        font-size: 13px;
        color: #666;
    }

    .summary-item .value[b-mlh0luay5i] {
        font-size: 15px;
        font-weight: 600;
        color: #333;
    }

        .summary-item .value.highlight[b-mlh0luay5i] {
            color: #4caf50;
            font-size: 17px;
        }

.card-body[b-mlh0luay5i] {
    padding: 20px 24px 0 24px;
}
.products-section[b-mlh0luay5i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.product-item[b-mlh0luay5i] {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.product-thumbnail[b-mlh0luay5i] {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

    .product-thumbnail.placeholder[b-mlh0luay5i] {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
    }

.product-details[b-mlh0luay5i] {
    flex: 1;
    min-width: 0;
}

.product-title[b-mlh0luay5i] {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .product-title a[b-mlh0luay5i] {
        color: #0d47a1;
        text-decoration: none;
    }

        .product-title a:hover[b-mlh0luay5i] {
            text-decoration: underline;
        }

.product-meta[b-mlh0luay5i] {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
    flex-wrap: wrap;
}

    .product-meta .margin[b-mlh0luay5i] {
        color: #4caf50;
        font-weight: 600;
    }

.cancel-info[b-mlh0luay5i], .mediation-warning[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.cancel-info[b-mlh0luay5i] {
    background: #ffebee;
    color: #c62828;
}

.mediation-warning[b-mlh0luay5i] {
    background: #fff3cd;
    color: #856404;
}

.product-actions[b-mlh0luay5i] {
    display: flex;
    align-items: center;
}

.fulfillment-status[b-mlh0luay5i] {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #e3f2fd;
    color: #0d47a1;
}

    .fulfillment-status[data-status="Shipped"][b-mlh0luay5i] {
        background: #e8f5e9;
        color: #2e7d32;
    }

    .fulfillment-status[data-status="Delivered"][b-mlh0luay5i] {
        background: #c8e6c9;
        color: #1b5e20;
    }

    .fulfillment-status[data-status="Cancelled"][b-mlh0luay5i] {
        background: #ffebee;
        color: #c62828;
    }

/* Update these existing styles */
.shipping-section[b-mlh0luay5i], .pack-section[b-mlh0luay5i] {
    background: #fafbfc;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 0; /* Changed from 16px to 0 */
}
/* Add responsive behavior for smaller screens */
@media (max-width: 768px) {
    .info-sections-row[b-mlh0luay5i] {
        grid-template-columns: 1fr;
    }
}
/* Add this new style */
.info-sections-row[b-mlh0luay5i] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.section-title[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 14px;
}

.shipping-info[b-mlh0luay5i], .pack-info[b-mlh0luay5i] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row[b-mlh0luay5i] {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

    .info-row strong[b-mlh0luay5i] {
        color: #333;
        margin-right: 6px;
    }

.pack-progress[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #555;
}

.badge[b-mlh0luay5i] {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

    .badge.success[b-mlh0luay5i] {
        background: #c8e6c9;
        color: #1b5e20;
    }

.storage-info[b-mlh0luay5i] {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

    .storage-info strong[b-mlh0luay5i] {
        color: #333;
    }

.card-actions[b-mlh0luay5i] {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
    flex-wrap: wrap;
}

.order-details[b-mlh0luay5i] {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.details-section[b-mlh0luay5i] {
    margin-bottom: 20px;
}

    .details-section h4[b-mlh0luay5i] {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 12px;
    }

.details-grid[b-mlh0luay5i] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.detail-item[b-mlh0luay5i] {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.detail-label[b-mlh0luay5i] {
    font-size: 13px;
    color: #666;
}

.detail-value[b-mlh0luay5i] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

    .detail-value.highlight[b-mlh0luay5i] {
        color: #4caf50;
    }

.timeline[b-mlh0luay5i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item[b-mlh0luay5i] {
    display: flex;
    gap: 16px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #4fc3f7;
}

.timeline-date[b-mlh0luay5i] {
    font-size: 13px;
    font-weight: 600;
    color: #0d47a1;
    min-width: 120px;
}

.timeline-label[b-mlh0luay5i] {
    font-size: 13px;
    color: #666;
}
.tag.substatus[b-mlh0luay5i] {
    background: #e0e0e0;
    color: #555;
}
.delivery-estimate-inline[b-mlh0luay5i] {
    color: #0d47a1;
    font-weight: 500;
    margin-left: 8px;
}

.tag.substatus[b-mlh0luay5i] {
    background: #e0e0e0;
    color: #555;
    font-size: 10px;
}
/* Messages Styles */

.message-badge[b-mlh0luay5i] {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    border: 2px solid white;
}

/* Messages inline link styling */
.messages-link-inline[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
}

    .messages-link-inline a[b-mlh0luay5i] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        color: #6c757d;
        font-size: 13px;
        transition: all 0.2s ease;
        padding: 2px 6px;
        border-radius: 4px;
    }

        .messages-link-inline a:hover[b-mlh0luay5i] {
            background-color: #f8f9fa;
            color: #495057;
        }

        .messages-link-inline a.messages-accent[b-mlh0luay5i] {
            color: #0d6efd;
            font-weight: 600;
        }

            .messages-link-inline a.messages-accent:hover[b-mlh0luay5i] {
                background-color: #e7f1ff;
            }

        .messages-link-inline a.messages-start[b-mlh0luay5i] {
            color: #6c757d;
            font-style: italic;
        }

            .messages-link-inline a.messages-start:hover[b-mlh0luay5i] {
                color: #0d6efd;
            }



.tag.awaiting-reply[b-mlh0luay5i] {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
    font-weight: 600;
    animation: pulse-border-b-mlh0luay5i 2s infinite;
}

@keyframes pulse-border-b-mlh0luay5i {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(198, 40, 40, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
}

.messages-urgent[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #c62828;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

    .messages-urgent:hover[b-mlh0luay5i] {
        text-decoration: underline;
        color: #b71c1c;
    }

.unread-dot[b-mlh0luay5i] {
    background: #c62828;
    color: white;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}


.fulfillment-pipeline[b-mlh0luay5i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 110px;
}

.fulfillment-badge[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

    .fulfillment-badge[data-status="pending"][b-mlh0luay5i] {
        background: #ffebee;
        color: #c62828;
        border: 1px solid #ef9a9a;
    }

    .fulfillment-badge[data-status="ordered"][b-mlh0luay5i] {
        background: #fff3e0;
        color: #e65100;
        border: 1px solid #ffcc80;
    }

    .fulfillment-badge[data-status="shipped"][b-mlh0luay5i] {
        background: #e3f2fd;
        color: #0d47a1;
        border: 1px solid #90caf9;
    }

    .fulfillment-badge[data-status="received"][b-mlh0luay5i] {
        background: #e8f5e9;
        color: #1b5e20;
        border: 1px solid #a5d6a7;
    }

    .fulfillment-badge[data-status="return_initiated"][b-mlh0luay5i] {
        background: #f3e5f5;
        color: #6a1b9a;
        border: 1px solid #ce93d8;
    }

    .fulfillment-badge[data-status="returned"][b-mlh0luay5i] {
        background: #f5f5f5;
        color: #424242;
        border: 1px solid #bdbdbd;
    }

/* Pipeline bar */
.pipeline-bar[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    justify-content: center;
    position: relative;
}

.step[b-mlh0luay5i] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 2px solid #bdbdbd;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

    .step.current[b-mlh0luay5i] {
        background: #66bb6a;
        border-color: #1b5e20;
        box-shadow: 0 0 0 2px #c8e6c9;
    }

    .step.done[b-mlh0luay5i] {
        background: #66bb6a;
        border-color: #1b5e20;
    }

.step-line[b-mlh0luay5i] {
    height: 2px;
    width: 18px;
    background: #e0e0e0;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

    .step-line.done[b-mlh0luay5i] {
        background: #66bb6a;
    }

.return-indicator[b-mlh0luay5i] {
    font-size: 10px;
    font-weight: 700;
    color: #6a1b9a;
    margin-left: 4px;
    white-space: nowrap;
}

.pack-status-badge[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.pack-status-pending[b-mlh0luay5i] {
    background: #f5f5f5;
    color: #757575;
    border: 1px solid #e0e0e0;
}

.pack-status-ready-to-ship[b-mlh0luay5i] {
    background: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #90caf9;
}

.pack-status-delivered-to-meli[b-mlh0luay5i] {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}
/* Pack Status Pipeline */
.pack-pipeline[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-left: 8px;
    vertical-align: middle;
}

.pack-step[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
}

.pack-step--active[b-mlh0luay5i] {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #a5d6a7;
}

.pack-step--inactive[b-mlh0luay5i] {
    background: #f5f5f5;
    color: #bdbdbd;
    border-color: #e0e0e0;
}

.pack-step-icon[b-mlh0luay5i] {
    font-size: 11px;
}

.pack-step-text[b-mlh0luay5i] {
    font-size: 11px;
}

.pack-step-line[b-mlh0luay5i] {
    width: 16px;
    height: 2px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.pack-step-line--done[b-mlh0luay5i] {
    background: #388e3c;
}

/* ETA Badge */
.eta-badge[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.eta-future[b-mlh0luay5i] {
    background: #f5f5f5;
    color: #616161;
    border: 1px solid #e0e0e0;
}

.eta-today[b-mlh0luay5i] {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.eta-overdue[b-mlh0luay5i] {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.eta-label[b-mlh0luay5i] {
    font-size: 10px;
    opacity: 0.85;
    font-style: italic;
}

.eta-icon[b-mlh0luay5i] {
    font-size: 11px;
}
/* Reputation Warning Badge */
.reputation-badge[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.reputation-ok[b-mlh0luay5i] {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.reputation-tomorrow[b-mlh0luay5i] {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.reputation-today[b-mlh0luay5i] {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
    animation: pulse-warning 1.5s ease-in-out infinite;
}

.reputation-overdue[b-mlh0luay5i] {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

.reputation-safe[b-mlh0luay5i] {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

@@keyframes pulse-warning {
    0%[b-mlh0luay5i], 100%[b-mlh0luay5i] {
        opacity: 1;
    }

    50%[b-mlh0luay5i] {
        opacity: 0.6;
    }
}

/* ── Product Meta Card ─────────────────────────── */
.product-meta-card[b-mlh0luay5i] {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    background: #fafbfc;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 4px;
    flex-wrap: wrap;
    row-gap: 4px;
}

.meta-col[b-mlh0luay5i] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2px;
    padding: 0 10px;
    min-height: 34px;
}

.meta-val[b-mlh0luay5i] {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    line-height: 1.2;
    white-space: nowrap;
}

    .meta-val.meta-price[b-mlh0luay5i] {
        font-size: 13px;
        font-weight: 700;
        color: #1a1a2e;
    }

    .meta-val.meta-sku[b-mlh0luay5i] {
        color: #1976d2;
        text-decoration: none;
        font-size: 11px;
    }

        .meta-val.meta-sku:hover[b-mlh0luay5i] {
            text-decoration: underline;
        }

.meta-lbl[b-mlh0luay5i] {
    font-size: 9px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    white-space: nowrap;
}

.meta-divider[b-mlh0luay5i] {
    width: 1px;
    height: 28px;
    background: #e8eaed;
    flex-shrink: 0;
    align-self: center;
}

.meta-divider--strong[b-mlh0luay5i] {
    background: #c8cdd5;
    width: 1.5px;
}

.price-edit-row[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.margin-badge[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Margin colors */
.margin-red[b-mlh0luay5i] {
    color: #c62828;
    background: #ffebee;
    border: 1px solid #ef9a9a;
}

.margin-yellow[b-mlh0luay5i] {
    color: #f57f17;
    background: #fffde7;
    border: 1px solid #fff176;
}

.margin-green[b-mlh0luay5i] {
    color: #1b5e20;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.price-missing[b-mlh0luay5i] {
    color: #e53935 !important;
    font-weight: 600;
    font-style: italic;
}
.bought-price-col[b-mlh0luay5i] {
    position: relative;
}

.bought-value-row[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}

    .bought-value-row .meta-val[b-mlh0luay5i] {
        line-height: 1.2;
    }

.edit-pencil[b-mlh0luay5i] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
    opacity: 0.5;
    vertical-align: middle;
}

    .edit-pencil:hover[b-mlh0luay5i] {
        opacity: 1;
    }


.substatus-badge--alert[b-mlh0luay5i] {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
    animation: substatus-pulse-b-mlh0luay5i 1.5s ease-in-out infinite;
}

@keyframes substatus-pulse-b-mlh0luay5i {
    0%, 100% {
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        border-color: rgba(239, 68, 68, 1);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
}

.qty-badge[b-mlh0luay5i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 20px;
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
    font-size: 12px;
    font-weight: 700;
    animation: qty-pulse 1.5s ease-in-out infinite;
}

@@keyframes qty-pulse {
    0%[b-mlh0luay5i], 100%[b-mlh0luay5i] {
        box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.4);
    }

    50%[b-mlh0luay5i] {
        box-shadow: 0 0 0 4px rgba(230, 81, 0, 0);
    }
}
.product-title-meli[b-mlh0luay5i] {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.4;
}


.inline-add-btn[b-mlh0luay5i] {
    background: none;
    border: 1px dashed #c0c4cc;
    border-radius: 4px;
    color: #1976d2;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

    .inline-add-btn:hover[b-mlh0luay5i] {
        border-color: #1976d2;
        background: #e3f2fd;
    }

.inline-form-col[b-mlh0luay5i] {
    min-width: 0;
}

.inline-form-row[b-mlh0luay5i] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.inline-input[b-mlh0luay5i] {
    padding: 3px 7px;
    border: 1.5px solid #90caf9;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    width: 110px;
    transition: border-color .15s;
}

    .inline-input:focus[b-mlh0luay5i] {
        border-color: #1976d2;
    }

.inline-input--date[b-mlh0luay5i] {
    width: 130px;
}

.inline-btn[b-mlh0luay5i] {
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    cursor: pointer;
    transition: all .15s;
}

.inline-btn--save[b-mlh0luay5i] {
    background: #1976d2;
    color: #fff;
}

    .inline-btn--save:hover:not(:disabled)[b-mlh0luay5i] {
        background: #1565c0;
    }

    .inline-btn--save:disabled[b-mlh0luay5i] {
        opacity: .4;
        cursor: not-allowed;
    }

.inline-btn--cancel[b-mlh0luay5i] {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

    .inline-btn--cancel:hover[b-mlh0luay5i] {
        background: #eeeeee;
    }
/* /Components/Shared/ProductQuestionGroupCard.razor.rz.scp.css */
.question-group-card[b-e9r5xt08wg] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8eaed;
    overflow: hidden;
}

.card-header[b-e9r5xt08wg] {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 2px solid #f0f0f0;
    align-items: start;
    background: #fafbfc;
}

.product-thumbnail[b-e9r5xt08wg] {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

    .product-thumbnail.placeholder[b-e9r5xt08wg] {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
    }

.product-info[b-e9r5xt08wg] {
    flex: 1;
    min-width: 0;
}

.product-tags[b-e9r5xt08wg] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tag[b-e9r5xt08wg] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

    .tag.catalog[b-e9r5xt08wg] {
        background: #0d47a1;
        color: white;
    }

    .tag.account[b-e9r5xt08wg] {
        background: #4fc3f7;
        color: white;
    }

    .tag.count[b-e9r5xt08wg] {
        background: #ff9800;
        color: white;
    }

.product-title[b-e9r5xt08wg] {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

    .product-title a[b-e9r5xt08wg] {
        color: #0d47a1;
        text-decoration: none;
    }

        .product-title a:hover[b-e9r5xt08wg] {
            text-decoration: underline;
        }

.product-meta[b-e9r5xt08wg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

    .product-meta a[b-e9r5xt08wg] {
        color: #0d47a1;
        text-decoration: none;
    }

        .product-meta a:hover[b-e9r5xt08wg] {
            text-decoration: underline;
        }

.questions-container[b-e9r5xt08wg] {
    padding: 8px;
}

.question-item[b-e9r5xt08wg] {
    background: white;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    padding: 16px;
    margin: 8px 0;
}

.question-header[b-e9r5xt08wg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.asker-info[b-e9r5xt08wg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.asker-avatar[b-e9r5xt08wg] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.asker-name[b-e9r5xt08wg] {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.question-meta-right[b-e9r5xt08wg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.question-time[b-e9r5xt08wg] {
    font-size: 12px;
    color: #999;
}

.status-badge[b-e9r5xt08wg] {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

    .status-badge.unanswered[b-e9r5xt08wg] {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }

    .status-badge.answered[b-e9r5xt08wg] {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

.question-text[b-e9r5xt08wg] {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #0d47a1;
    margin-bottom: 8px;
}

    .question-text.translated[b-e9r5xt08wg] {
        border-left-color: #4fc3f7;
    }

    .question-text p[b-e9r5xt08wg] {
        font-size: 14px;
        color: #333;
        line-height: 1.5;
        margin: 0;
    }

.answer-section[b-e9r5xt08wg] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.answer-text[b-e9r5xt08wg] {
    background: #e8f5e9;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #4caf50;
    margin-bottom: 8px;
}

    .answer-text.translated[b-e9r5xt08wg] {
        border-left-color: #81c784;
    }

    .answer-text p[b-e9r5xt08wg] {
        font-size: 14px;
        color: #333;
        line-height: 1.5;
        margin: 0;
    }

.ai-badge-small[b-e9r5xt08wg] {
    display: inline-block;
    background: #e3f2fd;
    color: #0d47a1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 6px;
}

.question-actions[b-e9r5xt08wg] {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.reply-section[b-e9r5xt08wg] {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.reply-input-wrapper[b-e9r5xt08wg] {
    margin-bottom: 12px;
}

.reply-actions[b-e9r5xt08wg] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.previous-questions-section[b-e9r5xt08wg] {
    margin: 16px;
    padding-top: 16px;
    border-top: 2px solid #e8eaed;
}

.loading-previous[b-e9r5xt08wg] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    justify-content: center;
    color: #666;
}

.previous-questions-list[b-e9r5xt08wg] {
    margin-top: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.previous-qa-item[b-e9r5xt08wg] {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}

.prev-question[b-e9r5xt08wg] {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.prev-date[b-e9r5xt08wg] {
    font-size: 11px;
    color: #999;
    margin-left: 8px;
}

.prev-answer[b-e9r5xt08wg] {
    display: flex;
    gap: 8px;
}

.prev-answer-text[b-e9r5xt08wg] {
    flex: 1;
    font-size: 13px;
    color: #333;
    background: white;
    padding: 8px;
    border-radius: 4px;
    border-left: 3px solid #4caf50;
}

.no-previous[b-e9r5xt08wg] {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
    font-style: italic;
}

.price-chip[b-e9r5xt08wg] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fafbfc;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    padding: 2px 8px;
}

.price-lbl[b-e9r5xt08wg] {
    font-size: 9px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.price-val[b-e9r5xt08wg] {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
}

.margin-red .price-val[b-e9r5xt08wg] {
    color: #c62828;
}

.margin-yellow .price-val[b-e9r5xt08wg] {
    color: #f57f17;
}

.margin-green .price-val[b-e9r5xt08wg] {
    color: #1b5e20;
}

.meli-status-badge[b-e9r5xt08wg] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-active[b-e9r5xt08wg] {
    background: #d4edda;
    color: #155724;
}

.status-paused[b-e9r5xt08wg] {
    background: #fff3cd;
    color: #856404;
}

.status-closed[b-e9r5xt08wg] {
    background: #f8d7da;
    color: #721c24;
}

.status-other[b-e9r5xt08wg] {
    background: #e2e3e5;
    color: #383d41;
}
/* /Components/Shared/QuestionCard.razor.rz.scp.css */
.question-card[b-jbxajcgt16] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8eaed;
    overflow: hidden;
    transition: all 0.2s;
}

    .question-card:hover[b-jbxajcgt16] {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-color: #d0d0d0;
    }

.card-header[b-jbxajcgt16] {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

.product-thumbnail[b-jbxajcgt16] {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

    .product-thumbnail.placeholder[b-jbxajcgt16] {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
    }

.product-info[b-jbxajcgt16] {
    flex: 1;
    min-width: 0;
}

.product-tags[b-jbxajcgt16] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tag[b-jbxajcgt16] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

    .tag.catalog[b-jbxajcgt16] {
        background: #0d47a1;
        color: white;
    }

    .tag.account[b-jbxajcgt16] {
        background: #4fc3f7;
        color: white;
    }

.product-title[b-jbxajcgt16] {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-meta[b-jbxajcgt16] {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #666;
}

.card-stats[b-jbxajcgt16] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-badge[b-jbxajcgt16] {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

    .status-badge.unanswered[b-jbxajcgt16] {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }

    .status-badge.answered[b-jbxajcgt16] {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .status-badge.other[b-jbxajcgt16] {
        background: #e0e0e0;
        color: #666;
        border: 1px solid #ccc;
    }

.question-content[b-jbxajcgt16] {
    padding: 20px 24px;
}

.question-header[b-jbxajcgt16] {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.asker-info[b-jbxajcgt16] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.asker-avatar[b-jbxajcgt16] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.asker-name[b-jbxajcgt16] {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.question-time[b-jbxajcgt16] {
    font-size: 12px;
    color: #999;
}

.question-text[b-jbxajcgt16] {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid #0d47a1;
    margin-bottom: 12px;
}

    .question-text.translated[b-jbxajcgt16] {
        border-left-color: #4fc3f7;
    }

    .question-text p[b-jbxajcgt16] {
        font-size: 15px;
        color: #333;
        line-height: 1.6;
        margin: 0;
    }

.answer-section[b-jbxajcgt16] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.answer-label[b-jbxajcgt16] {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ai-badge[b-jbxajcgt16] {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 8px;
}

.answer-text[b-jbxajcgt16] {
    background: white;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid #4caf50;
    margin-bottom: 8px;
}

    .answer-text.translated[b-jbxajcgt16] {
        border-left-color: #81c784;
    }

    .answer-text p[b-jbxajcgt16] {
        font-size: 15px;
        color: #333;
        line-height: 1.6;
        margin: 0;
    }

.answer-meta[b-jbxajcgt16] {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.card-actions[b-jbxajcgt16] {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
}

.reply-section[b-jbxajcgt16] {
    background: #fafbfc;
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
}

.reply-header[b-jbxajcgt16] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .reply-header h4[b-jbxajcgt16] {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

.quick-responses[b-jbxajcgt16] {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.reply-input-wrapper[b-jbxajcgt16] {
    position: relative;
    margin-bottom: 12px;
}

.char-counter[b-jbxajcgt16] {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 12px;
    color: #999;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
}

    .char-counter.warning[b-jbxajcgt16] {
        color: #f57c00;
    }

    .char-counter.error[b-jbxajcgt16] {
        color: #d32f2f;
        font-weight: bold;
    }

.reply-actions[b-jbxajcgt16] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.previous-questions-section[b-jbxajcgt16] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.loading-previous[b-jbxajcgt16] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    justify-content: center;
    color: #666;
}

.previous-questions-list[b-jbxajcgt16] {
    margin-top: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.previous-qa-item[b-jbxajcgt16] {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

    .previous-qa-item:last-child[b-jbxajcgt16] {
        margin-bottom: 0;
    }

.prev-question[b-jbxajcgt16] {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}

.prev-date[b-jbxajcgt16] {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

.prev-answer[b-jbxajcgt16] {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    background: white;
    border-left: 3px solid #4caf50;
    padding: 10px;
    border-radius: 4px;
}

.prev-answer-text[b-jbxajcgt16] {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.ai-badge-small[b-jbxajcgt16] {
    display: inline-block;
    background: #e3f2fd;
    color: #0d47a1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.no-previous[b-jbxajcgt16] {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    font-style: italic;
}
