.my-orders-ajax-container {
    max-width: 1000px;
    margin: 0 auto;
}

.orders-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 250px;
    align-items: center;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    margin-right: 5px;
    font-family: inherit;
}

.search-box button {
    padding: 10px 15px;
    background: #E62426;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.search-box button:hover {
    background: black;
    color: white;
}

.status-filter select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    min-width: 150px;
    font-family: inherit;
}

.orders-info {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 0;
    border-left: 4px solid #121212;
}

.order-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0;
    background: #fff;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-header h4 {
    margin: 0;
    color: #333;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-info {
    margin-bottom: 15px;
}

.order-info p {
    margin: 5px 0;
}

.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.view-order-details {
    background: #E62426;
    color: white;
    font-family: inherit;
}

.view-order-details:hover {
    background: black;
    color: white;
}

.order-details {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 0;
    border: 1px solid #eee;
}

.order-details-content h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

.order-details-content h4:first-child {
    margin-top: 0;
}

.order-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.order-items th,
.order-items td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.order-items th {
    background-color: #f2f2f2;
    font-weight: 600;
}

.orders-pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    color: #E62426;
    font-size: 14px;
}

.page-btn:hover {
    background: #f5f5f5;
}

.page-btn.active {
    background: #E62426;
    color: white;
    border-color: #E62426;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.no-orders, .error {
    text-align: center;
    padding: 30px;
    color: #666;
}

.error {
    color: #dc3232;
}

/* Статусы заказов */
.status-completed {
    color: #46b450;
    font-weight: 600;
}

.status-processing {
    color: #121212;
    font-weight: 600;
}

.status-pending {
    color: #ffb900;
    font-weight: 600;
}

.status-cancelled, 
.status-failed, 
.status-refunded {
    color: #dc3232;
    font-weight: 600;
}

@media (max-width: 768px) {
    .orders-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .search-box button {
        margin-bottom: 5px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions button {
        width: 100%;
    }
    
    .order-items {
        font-size: 12px;
    }
    
    .order-items th,
    .order-items td {
        padding: 5px;
    }
}