/* Print270 Orders Page Styles - Using standard page styling */

/* Orders specific styles that extend the existing page system */
.orders-main {
    /* Uses existing .contact-card styling */
}

/* Orders Filter - Using Print270 button styling */
.orders-filter {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--p270-border-grey);
    border-radius: var(--radius-lg);
    background: var(--p270-white);
    color: var(--p270-text-grey);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-family: var(--font-family);
}

.filter-btn:hover {
    border-color: var(--p270-primary);
    color: var(--p270-dark);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--p270-primary);
    border-color: var(--p270-primary);
    color: var(--p270-white);
    box-shadow: var(--shadow-md);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Order Item - Using Print270 card styling */
.order-item {
    border: 2px solid var(--p270-border-grey);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    background: var(--p270-white);
    transition: all var(--transition-base);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.order-item:hover {
    border-color: var(--p270-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Order Header */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--p270-border-grey);
}

.order-info h3.order-number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--p270-dark);
    margin: 0 0 var(--spacing-xs) 0;
    font-family: var(--font-family);
}

.order-date {
    font-size: var(--font-size-sm);
    color: var(--p270-text-grey);
    font-weight: 500;
}

/* Order Status - Using Print270 colors */
.order-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-processing {
    background: rgba(255, 184, 0, 0.1);
    color: #D97706;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.status-processing .status-dot {
    background: var(--p270-primary);
}

.status-shipped {
    background: rgba(184, 242, 230, 0.3);
    color: #1D4ED8;
    border: 1px solid var(--p270-accent);
}

.status-shipped .status-dot {
    background: #1D4ED8;
}

.status-delivered {
    background: rgba(0, 194, 168, 0.1);
    color: var(--p270-success);
    border: 1px solid rgba(0, 194, 168, 0.3);
}

.status-delivered .status-dot {
    background: var(--p270-success);
}

/* Order Details */
.order-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Product Items - Using Print270 styling */
.order-products {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.product-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--p270-light-grey);
    border-radius: var(--radius-lg);
    border: 1px solid var(--p270-border-grey);
    transition: all var(--transition-base);
}

.product-item:hover {
    background: var(--p270-white);
    box-shadow: var(--shadow-sm);
}

.product-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--p270-medium-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 1.5rem;
    opacity: 0.7;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--p270-dark);
    margin: 0 0 var(--spacing-xs) 0;
    font-family: var(--font-family);
}

.product-info p {
    font-size: var(--font-size-sm);
    color: var(--p270-text-grey);
    margin: 0 0 var(--spacing-sm) 0;
}

.product-price {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--p270-primary);
}

/* Order Total - Using Print270 styling */
.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: var(--p270-light-grey);
    border-radius: var(--radius-lg);
    border: 2px solid var(--p270-border-grey);
}

.total-label {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--p270-dark);
    font-family: var(--font-family);
}

.total-amount {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--p270-primary);
}

/* Tracking & Production Info */
.tracking-info,
.production-info {
    padding: 1rem;
    background: #F0F9FF;
    border-radius: 12px;
    border: 1px solid #BAE6FD;
}

.tracking-info p,
.production-info p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #0F172A;
}

.tracking-info strong,
.production-info strong {
    color: #0A1720;
    font-weight: 600;
}

/* Order Actions - Using Print270 button styling */
.order-actions {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.order-btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    font-family: var(--font-family);
    cursor: pointer;
    text-decoration: none;
}

/* Empty Orders State */
.empty-orders {
    text-align: center;
    padding: 3rem 2rem;
    background: #F9FAFB;
    border-radius: 16px;
    border: 2px dashed #D1D5DB;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-orders h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A1720;
    margin-bottom: 0.5rem;
}

.empty-orders p {
    color: #6B7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Help Card Specific Styles */
.help-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.help-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.help-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FEF3C7;
    border-radius: 50%;
}

.help-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0A1720;
    margin: 0 0 0.25rem 0;
}

.help-option p {
    font-size: 0.875rem;
    color: #0A1720;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.help-option small {
    font-size: 0.75rem;
    color: #6B7280;
}

.help-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .orders-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .orders-card {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .product-info {
        text-align: center;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-btn {
        min-width: auto;
    }
    
    .orders-filter {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .orders-card {
        padding: 1rem;
    }
    
    .order-item {
        padding: 1rem;
    }
    
    .product-item {
        padding: 0.75rem;
    }
    
    .orders-filter {
        gap: 0.25rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.675rem;
    }
}