﻿/* Shared table styles for order views */
.table {
    background-color: #fff;
}

.Shcarttr {
    background-color: #f7f7f7;
    font-weight: bold;
}

.txtcenter {
    text-align: center;
}

.card {
    border-radius: 12px;
}

/* Optional helper for white table background */
.bgfff {
    background-color: #ffffff;
}

/* Order status history component */
.order-history-card {
    border-radius: 12px;
    overflow: hidden;
}
.order-history-title {
    font-weight: 600;
}
.order-history-count {
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 8px;
}
.order-history-table-wrapper {
    border: 1px solid #eee;
    border-radius: 8px;
}
.order-history-table thead th {
    background-color: #f7f7f7;
    font-weight: 600;
    white-space: nowrap;
}
.order-history-row {
    font-size: 14px;
}
.order-status-badge {
    background-color: #e9f5ff;
    color: #0a58ca;
    border: 1px solid #bcdffd;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 500;
}
.order-history-desc {
    max-width: 100%;
    word-wrap: break-word;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .order-history-table thead th,
    .order-history-table tbody td {
        font-size: 13px;
        padding: 6px;
    }
    .order-status-badge {
        padding: 4px 8px;
        font-size: 12px;
    }
}
