/**
 * Order Summary Grid Styles
 * Styles for displaying order status and details
 */

.order-summary-grid {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px 16px;
    /* padding: 24px 32px; */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    align-items: center;
}

.order-summary-grid .label {
    font-weight: 400;
    color: #555;
    white-space: nowrap;
}

.order-summary-grid .separator {
    color: #555;
}

.order-summary-grid .value {
    color: #333;
}

/* Status Pill Styles */
.order-status-pill {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 3px 10px;
    gap: 1px;
    height: 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

/* Status Colors */
/* จัดส่งเรียบร้อยแล้ว - Completed */
.order-status-pill--completed {
    background-color: #007876;
    /* border: 1px solid #007876; */
}

/* กำลังดำเนินการ - Processing */
.order-status-pill--on-hold,
.order-status-pill--processing {
    background-color: #DE9E54;
    /* border: 1px solid #DE9E54; */
}

/* ล้มเหลว - Failed */
.order-status-pill--failed {
    background-color: #3C6AA1;
    /* border: 1px solid #3C6AA1; */
}

/* คืนเงิน - Refunded */
.order-status-pill--refunded {
    background-color: #777474;
    /* border: 1px solid #777474; */
}

/* รอตรวจสอบ - On Hold / Pending */
.order-status-pill--pending,
.order-status-pill--validating {
    background-color: #A9884B;
    /* border: 1px solid #A9884B; */
}

/* ยกเลิก - Cancelled */
.order-status-pill--cancelled {
    background-color: #991B1D;
    /* border: 1px solid #991B1D; */
}
