/* ===== Orders Page - EloriaBloom Boho Theme ===== */

.orders-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

.orders-page h2 {
    margin-bottom: 16px;
}

.orders-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Order Card */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.order-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.order-card-header .order-id {
    font-weight: 700;
    font-size: 0.95rem;
}

.order-card-header .order-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-items-list {
    padding: 16px 20px;
}

.order-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.order-item-info .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-item-price {
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.order-total {
    font-weight: 700;
}

.order-total span {
    color: var(--accent);
}

/* Seller Order Card */
.seller-order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
}

.seller-order-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.seller-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.order-status-select {
    padding: 8px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.order-status-select:hover {
    border-color: var(--accent);
}

.order-status-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.15);
}