/* MyOrders/style.css */

.my-orders-page { padding: 4rem 0; min-height: 90vh;}
.page-subtitle {
    text-align: center;
    margin-top: -3rem;
    margin-bottom: 4rem;
    color: #888;
}
#orders-container {
    max-width: 900px;
    margin: 0 auto;
}
.order-card-customer {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}
.order-header-customer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: #fdfaf6;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0e9e1;
}
.order-header-customer > div {
    display: flex;
    flex-direction: column;
}
.header-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}
.header-value {
    font-weight: 500;
    color: var(--dark-text);
}
.order-id {
    font-family: monospace;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    text-align: center;
}
.status-pending { background-color: #f59e0b; }
.status-processing { background-color: #3b82f6; }
.status-shipped { background-color: #10b981; }
.status-delivered { background-color: #16a34a; }
.status-cancelled { background-color: #ef4444; }

.order-items-customer {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.order-item-row { display: flex; align-items: center; gap: 1rem; }
.order-item-image { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.order-item-name {
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
}
.order-item-name:hover { color: var(--copper); }
.order-item-meta { font-size: 0.9rem; color: #666; margin-top: 0.25rem; }