body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.orders-header {
    background: linear-gradient(135deg, #26c6d1 0%, #007c85 100%);
    padding: 60px 20px 30px;
    color: white;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.orders-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.orders-subtitle {
    text-align: center;
    opacity: 0.9;
    font-size: 16px;
}

.orders-content {
    padding: 20px;
    /*margin-top: -20px;*/
}

.order-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #f6c9a5 0%, #b4794a 100%);
    border-color: #26c6d1;
    color: white;
}

.order-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f3f4;
}

.order-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-number {
    font-weight: 600;
    color: #2d3748;
    font-size: 16px;
}

.order-date {
    color: #718096;
    font-size: 14px;
}

.order-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #e0e7ff; color: #5b21b6; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.order-items {
    padding: 16px 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.item-info {
    color: #718096;
    font-size: 12px;
}

.item-price {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.order-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f3f4;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-weight: 700;
    color: #2d3748;
    font-size: 16px;
}

.order-actions {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #f6c9a5 0%, #b4794a 100%);
    color: white;
}

.btn-primary:hover {
    background: #fff !important;
    color: #b4794a !important;
    border: 1px solid #b4794a !important;
}

.btn-primary:active {
    background: #fff !important;
    color: #b4794a !important;
    border: 1px solid #b4794a !important;
}

.btn-outline {
    background: white;
    color: #26c6d1;
    border: 1px solid #26c6d1;
}

.btn-outline:hover {
    background: #26c6d1;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.empty-icon {
    font-size: 64px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.empty-text {
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-shop {
    background: linear-gradient(135deg, #26c6d1 0%, #007c85 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-label {
    color: #718096;
    font-size: 14px;
}

.summary-value {
    font-weight: 600;
    color: #2d3748;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    color: #26c6d1;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
}

.pagination .active .page-link {
    background: #26c6d1;
    color: white;
    border-color: #26c6d1;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.skeleton-line {
    height: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 480px) {
    .orders-content {
        padding: 15px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        justify-content: center;
    }
}