/* orders.css */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.order-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-id {
    font-weight: 700;
    color: var(--text-dark);
}

.order-date {
    font-size: 13px;
    color: var(--text-medium);
}

.order-status {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-shipped {
    background: #e3f2fd;
    color: #1565c0;
}

.status-processing {
    background: #fff8e1;
    color: #f57f17;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.order-item-mini {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item-mini img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px;
}

.order-item-mini h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.order-item-mini p {
    font-size: 13px;
    color: var(--text-medium);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.order-total {
    font-size: 14px;
    color: var(--text-medium);
}

.order-total span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 5px;
}

.action-btn.outline {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn.outline:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}
